Adding a meta box fields to child theme options page
Adding a meta box fields to child theme options page
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’);
is_page_template wont allow me to enqueue scripts
Custom taxonomy not refreshing page on add
The answer is in your question: <?php $index_title = get_post_meta( get_the_ID(), ‘_x_entry_alternate_index_title’, true ) ?>