Different size video display for category page (smaller) & detail page (larger)

The best solution here is to use the built-in filter for embed parameters: <?php function mytheme_embed_defaults( $defaults ) { return array( ‘width’ => 100, ‘height’ => 100 ); } add_filter( ’embed_defaults’, ‘mytheme_embed_defaults’ ); ?> This code can be added to your theme’s functions.php file and you can change the numbers to reflect the sizes that … Read more

Creating a Blog with numerous categories

Use the Role Scoper plugin to give authors the manage_categories capability. Having said that, if you want to approve all posts before their published, give your users the contributor role – this’ll also mean you can approve new categories they’ve added before they appear on the site (by default, only categories that have published posts … Read more

How do I list only children of a specific category in a drop-down?

If you change your single quote marks in to double quote marks it should work : $cat_id = get_cat_id(‘library’); wp_dropdown_categories(“hierarchical=1&parent=$cat_id”); but if you really want to make it more flexible you can phrase your arguments as an array: $args = array( ‘hierarchical’ => 1, ‘parent’ => get_cat_id(‘library’)); wp_dropdown_categories($args); and if you want to make it … Read more