WordPress not showing pagination links
solved my problem by removing <?php query_posts(‘posts_per_page=3’) ?> and tried limiting posts from Settings->Reading. Thanks
solved my problem by removing <?php query_posts(‘posts_per_page=3’) ?> and tried limiting posts from Settings->Reading. Thanks
You can write a small custom function, that loop about the network and add in each site of the network the new role. See the source below als example to add_role. If you like update or change a existing role, then switch from add_role to add_cap. function fb_change_role_network_wide( $role ) { global $wpdb; $args = … Read more
wp_update_term there should be 3 parametrs: $term_id, $taxonomy, $args, you’r not specifying taxonomy..
Adding a meta box fields to child theme options page
Because it’s a function, not a variable – you want: <?php state_dropdown() ?>
is_category checks whether or not the current page is the Archive Page for the specified category, not if the current post is in the category. You want in_category. /* Code to Display Featured Image on top of the post */ add_action( ‘genesis_before_entry’, ‘featured_post_image’, 8 ); function featured_post_image() { if ( ! is_singular( ‘post’ ) ) … Read more
How to create a function to redirect a specified page to another page
Author info does not show up when author has no posts
Need some Tweak my nextpage Function
I find this function admin_js() { ?> <script type=”text/javascript”> jQuery(document).ready( function () { jQuery(‘form#post’).find(‘.categorychecklist input’).each(function() { var new_input = jQuery(‘<input type=”radio” />’), attrLen = this.attributes.length; for (i = 0; i < attrLen; i++) { if (this.attributes[i].name != ‘type’) { new_input.attr(this.attributes[i].name.toLowerCase(), this.attributes[i].value); } } jQuery(this).replaceWith(new_input); }); }); </script> <?php } add_action(‘admin_head’, ‘admin_js’);