Display most recent post in category instead of archive?
I’ve successfully redirected my blog page to my most recent post – i.e. so when you click the ‘blog’ link in the nav … Read more
I’ve successfully redirected my blog page to my most recent post – i.e. so when you click the ‘blog’ link in the nav … Read more
I’m trying to pull a custom post type name/title out for use in the breadcrumb of a single-[cpt].php template file. In the archive-[cpt].php … Read more
I’m using the following to bring up a tag archive page: <?php query_posts( “tag=”. ” . single_tag_title( ”, false ) . ” ); … Read more
I’d like my archive.php page’s daily view (is_day) to display scheduled posts (post_status=future). For example, if I go to mysite.com/2011/05/20 I would see … Read more
I have two product category MULTILINGUAL DIGITAL MARKETING (ID 75) INTERNATIONAL SALES CHANNELS (ID 107) I want to run some code via if … Read more
I have a list of terms I’m displaying using “get_terms”. Each term is linked so if the user clicks it, they go to … Read more
I have registered a custom post type with the right parameters. By that I mean I have added ‘taxonomies’ => array(‘post_tag’,’category’), I have … Read more
I need to place Add to cart button at every product on the page of certain category as shown below How can I … Read more
When I try to get an archive for a custom taxonomy, WP searches for a page and doesn’t find anything. The Setup My … Read more
I’m using this code to get archives for a specific category: function extend_date_archives_add_rewrite_rules($wp_rewrite){ $rules = array(); $structures = array( $wp_rewrite->get_category_permastruct() . $wp_rewrite->get_date_permastruct(), $wp_rewrite->get_category_permastruct() … Read more