Duplicate attribute class causing site validation error
The following bit of code results in a duplicate attribute site validation error. This template script: <div class=”clearfix” <?php post_class() ?>> produces this … Read more
The following bit of code results in a duplicate attribute site validation error. This template script: <div class=”clearfix” <?php post_class() ?>> produces this … Read more
Im having a problem with my menu and custom post type. I have a custom post type of “services”. I have created new … Read more
I’m working on a child theme and while everything works the Walker_Nav_Menu and Walker classes are causing all the fuss. My parent theme … Read more
I am trying to adapt the WordPress loop to style posts differently in rows that get infinitely smaller until all posts are displayed … Read more
Simple shortcode function : function my_shortcode_function($atts,$content=null){ // Do something return $content; } add_shortcode(‘my_shortcode’,’my_shortcode_function’); I wonder how to add more extra body class when … Read more
I need to have an alternating (even, odd…) class on posts to provide alternate highlights on a column. The best thing would be … Read more
I want to remove the default body class on the theme and add a new class. I use this code to do this: … Read more
I am trying to add the parent category class in post_class() of some posts from one of my subcatgories. I have an advanved … Read more
I just want to add a class for the active page in the wp_list_pages().Is it possible? If so can I provide a particular … Read more
I am trying to set up a featured content section of my blog. This will contain two sticky posts. I have a custom … Read more