Title: roburdick's Replies | WordPress.org

---

# roburdick

  [  ](https://wordpress.org/support/users/roburdick/)

 *   [Profile](https://wordpress.org/support/users/roburdick/)
 *   [Topics Started](https://wordpress.org/support/users/roburdick/topics/)
 *   [Replies Created](https://wordpress.org/support/users/roburdick/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/roburdick/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/roburdick/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/roburdick/engagements/)
 *   [Favorites](https://wordpress.org/support/users/roburdick/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/users/roburdick/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/roburdick/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/roburdick/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Maker and Popup Anything - Popup for opt-ins and Lead Generation Conversions] stopped working](https://wordpress.org/support/topic/stopped-working-420/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/stopped-working-420/#post-15007097)
 * Hello, I have gone back to a previous version to get the site working again:[https://www.genderandcovid-19.org/matrix/](https://www.genderandcovid-19.org/matrix/)
 * If you look at the staging url you will see that it won’t load the page where
   the pop up shortcode is supposed to load with the updated plugin activated.
    
   [https://www.genderandcovid-19.org/staging/matrix/](https://www.genderandcovid-19.org/staging/matrix/)
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Property Hive Stamp Duty Calculator] Page jumps when user clicks calculate](https://wordpress.org/support/topic/page-jumps-when-user-clicks-calculate/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/page-jumps-when-user-clicks-calculate/#post-9555100)
 * Asking the wrong plugin support!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] color of submit button](https://wordpress.org/support/topic/color-of-submit-button/)
 *  [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/color-of-submit-button/#post-8659934)
 * Hello, Just chipping in with a question. I tried to do the same thing but was
   unable to use the style.css of my child theme. I tried the dashboard .css editor
   and it worked! Can anyone help explain why?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [current page item not working](https://wordpress.org/support/topic/current-page-item-not-working-1/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/current-page-item-not-working-1/#post-1458301)
 * [http://www.stuffandnonsense.co.uk/archives/images/specificitywars-05v2.jpg](http://www.stuffandnonsense.co.uk/archives/images/specificitywars-05v2.jpg)
 * specificity… now I get why ‘id’ is cool… I always used ‘class’.
 * so here is my css that works:
 *     ```
       #access li.page-item-75 {
           border-style:none;
       	   background-image:url("images/bg-hatch.png"); !important
       	background-repeat:repeat;
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [current page item not working](https://wordpress.org/support/topic/current-page-item-not-working-1/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/current-page-item-not-working-1/#post-1458225)
 *     ```
       li.page-item-75 {
       background-image:url("images/bg-hatch.png");
       background-repeat:repeat;
       border-style:none;
       }
       ```
   
 * This is the css I am using that is supposed to style the current page item 75
   in the menu.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452292)
 * Sorry actually this is my final code after I realised the first loop did not 
   need any query-posts for my purposes:
 *     ```
       <link rel="stylesheet" href="http://www.robertburdick.com/mysite/wp-content/themes/robertburdick.com/portfolio-single.css" type="text/css" media="screen" />
       <?php
   
           // calling the header.php
           get_header();
   
           // action hook for placing content above #container
           thematic_abovecontainer();
   
       ?>
   
       	<div id="container">
       		<div id="content">
   
         <?php while (have_posts()) : the_post(); ?>
   
                   <div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
           			<?php thematic_postheader(); ?>
       				<div class="entry-content">
   
       <?php thematic_content(); ?>
   
       <?php $ids[]= $post->ID; endwhile;?>
   
       					<?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
       				</div>
       				<?php thematic_postfooter(); ?>
       			</div><!-- .post -->
       <?php
   
                   // create the navigation above the content
       			thematic_navigation_above();
   
                   // calling the widget area 'single-top'
                   get_sidebar('single-top');
   
                   // action hook creating the single post
   
                   // calling the widget area 'single-insert'
                   get_sidebar('single-insert');
   
                   // create the navigation below the content
       			thematic_navigation_below();
   
                   // calling the comments template
                   thematic_comments_template();
   
                   // calling the widget area 'single-bottom'
                   get_sidebar('single-bottom');
   
                   ?>
   
       		</div><!-- #content -->
   
       			</div><!-- .post -->
   
       <?php 
   
           // action hook for placing content below #container
           thematic_belowcontainer();
   
           // calling the standard sidebar
       ?>
       <div class="folio-menu">
       			 <?php rewind_posts(); ?>
                     <?php query_posts('category_name=portfolio&showposts=-1'); ?>
   
         <?php while (have_posts()) : the_post(); ?>
       <?php if (!in_array($post->ID, $ids)) { ?>
   
                   <div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
           			<?php thematic_postheader(); ?>
   
               <?php the_post_thumbnail();  // we just called for the thumbnail ?>
       <?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
   
       <?php } endwhile;?>
       </div>
       	<?php
           // calling footer.php
           get_footer();
   
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452288)
 * [http://www.uniquebrush.com/2010/02/avoid-duplicate-posts-in-multiple-loops/](http://www.uniquebrush.com/2010/02/avoid-duplicate-posts-in-multiple-loops/)
   
   [http://www.catswhocode.com/blog/multiple-wordpress-loops](http://www.catswhocode.com/blog/multiple-wordpress-loops)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452287)
 * OK I think I managed to do it if anyone is interested here is the code for my
   custom category loop in the file category-3.php
 * I replaced the this part:
 *     ```
       the_post();
       ```
   
 * and this part for my second loop:
 *  `thematic_sidebar();`
    Here is my full code:
 *     ```
       <link rel="stylesheet" href="http://www.robertburdick.com/mysite/wp-content/themes/robertburdick.com/portfolio-single.css" type="text/css" media="screen" />
       <?php
   
           // calling the header.php
           get_header();
   
           // action hook for placing content above #container
           thematic_abovecontainer();
   
       ?>
   
       	<div id="container">
       		<div id="content">
                   <?php // Get the last 2 posts in the featured category.?>
                     <?php query_posts('category_name=portfolio&showposts=1'); ?>
       <?php $my_query = new WP_Query('category_name=portfolio&showposts=1'); ?>
   
       <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
   
                   <div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
           			<?php thematic_postheader(); ?>
       				<div class="entry-content">
   
       <?php thematic_content(); ?>
   
       <?php $ids[]= $post->ID; endwhile;?>
   
       					<?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
       				</div>
       				<?php thematic_postfooter(); ?>
       			</div><!-- .post -->
       <?php
   
                   // create the navigation above the content
       			thematic_navigation_above();
   
                   // calling the widget area 'single-top'
                   get_sidebar('single-top');
   
                   // action hook creating the single post
   
                   // calling the widget area 'single-insert'
                   get_sidebar('single-insert');
   
                   // create the navigation below the content
       			thematic_navigation_below();
   
                   // calling the comments template
                   thematic_comments_template();
   
                   // calling the widget area 'single-bottom'
                   get_sidebar('single-bottom');
   
                   ?>
   
       		</div><!-- #content -->
   
       			</div><!-- .post -->
   
       <?php 
   
           // action hook for placing content below #container
           thematic_belowcontainer();
   
           // calling the standard sidebar
       ?>
       			 <?php rewind_posts(); ?>
                     <?php query_posts('category_name=portfolio&showposts=-1'); ?>
   
         <?php while (have_posts()) : the_post(); ?>
       <?php if (!in_array($post->ID, $ids)) { ?>
   
                   <div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
           			<?php thematic_postheader(); ?>
       				<div class="entry-content">
   
       <?php thematic_content(); ?>
   
       <?php } endwhile;?>
   
       	<?php
           // calling footer.php
           get_footer();
   
       ?>
       ```
   
 * and I put this in my functions.php to make the posts show in full not excerpt:
 *     ```
       // Category loop
       function childtheme_content($content) {
       	if (is_category()) {
       		$content= 'full';}
       	return $content;
       }
       add_filter('thematic_content', 'childtheme_content');
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WordPress Loop] custom_query_args documentation?](https://wordpress.org/support/topic/plugin-wordpress-loop-custom_query_args-documentation/)
 *  [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-loop-custom_query_args-documentation/#post-1378850)
 * Hi,
 * I love this plug-in! Does anyone know if there might be a way of avoiding duplicate
   posts. I want to use a loop in my sidebar widget area next to a single page post,
   and would like to not repeat the post that’s in the main single post area.
 * Thanks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452183)
 * I tried changing the loop in the functions.php. No good either:
 *     ```
       <?php
         // Category-3 LOOP
       function remove_single_loop() {
         remove_action('thematic_singleloop', 'thematic_single_loop');
       }
       add_action('init', 'remove_single_loop');
   
       function snippet_single_loop() {
         global $post;
               /* Count the number of posts so we can insert a widgetized area */ $count = 1;
               while ( have_posts() ) : the_post() ?>
               <?php $do_not_duplicate[] = $post->ID; // remember ID's in loop ?>	
   
                   <?php $counter++; ?>
                   <div class="column <?php if ($counter == 1) { echo 'one'; } else { echo 'two'; $counter = 0; } ?>">
                       <div class="clear-fix">
                           <div id="post-<?php the_ID() ?>" class="<?php thematic_post_class() ?>">
                               <?php thematic_postheader(); ?>
                               <div class="entry-content">
       <?php the_content(); ?>
       <?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
                               </div>
                                   <?php thematic_postfooter(); ?>
                           </div><!-- .post -->
                       </div><!-- .clear-fix -->
                   </div><!-- .column -->
        <?php
       // *****2ND LOOP*****
       ?>
        <?php
        query_posts('showpost=1');
       query_posts( array(
           'cat' => 3,
           'post__not_in' => $do_not_duplicate
           )
       );
       ?>
       <div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
           			<?php thematic_postheader(); ?>
       				<div class="entry-content">
       <?php thematic_content(); ?>
   
       				</div>
       				<?php thematic_postfooter(); ?>
       			</div><!-- .post -->
   
                           <?php comments_template();
                           if ($count==$thm_insert_position) { get_sidebar('index-insert');}
   
               $count = $count + 1;
               endwhile;
       }
       add_action('thematic_singleloop', 'thematic_single_loop');
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452179)
 * I have posted about this on thematic site as well: [http://themeshaper.com/forums/topic/multiple-loops-to-display-related-posts?replies=2#post-11184](http://themeshaper.com/forums/topic/multiple-loops-to-display-related-posts?replies=2#post-11184)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452178)
 *     ```
       <?php
       // *****1ST LOOP*****
       ?>
       <?php
       while (have_posts()) : the_post();
       	    $do_not_duplicate[] = $post->ID; // remember ID's in loop
       		?>
       			<div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
           			<?php thematic_postheader(); ?>
       				<div class="entry-content">
       <?php thematic_content(); ?>
   
       				</div>
       				<?php thematic_postfooter(); ?>
       			</div><!-- .post -->
   
       		<?php endwhile;?>
       ```
   
 *     ```
       <?php
       // *****2ND LOOP*****
       ?>
        <?php
   
       query_posts( array(
           'cat' => 3,
           'post__not_in' => $do_not_duplicate
           )
       );
       ?>
       <div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class(); ?>">
           			<?php thematic_postheader(); ?>
       				<div class="entry-content">
       <?php thematic_content(); ?>
   
       				</div>
       				<?php thematic_postfooter(); ?>
       			</div><!-- .post -->
       ```
   
 * The above attempts failed also.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452169)
 * I have managed to get a second loop working and it’s not duplicating (using post__not_in).
   Lost all my styling but I guess I can rebuild that. The major problem is that
   the second loop outputs too many posts and the first putputs the wrong one!
 *     ```
       <?php
   
           // calling the header.php
           get_header();
   
           // action hook for placing content above #container
           thematic_abovecontainer();
   
       ?>
   
       	<div id="container">
       		<div id="content">
   
       <?php
       // *****1ST LOOP*****
       ?>
       <?php
       query_posts('showposts=1');
       $ids = array();
       while (have_posts()) : the_post();
       $ids[] = get_the_ID();
       the_title();
       the_content();
       endwhile;
       ?>
   
       <?php
                   // create the navigation above the content
       			thematic_navigation_above();
   
                   // calling the widget area 'single-top'
                   get_sidebar('single-top');
   
                   // action hook creating the single post
   
                   // calling the widget area 'single-insert'
                   get_sidebar('single-insert');
   
                   // create the navigation below the content
       			thematic_navigation_below();
   
                   // calling the comments template
                   thematic_comments_template();
   
                   // calling the widget area 'single-bottom'
                   get_sidebar('single-bottom');
   
                   ?>
   
       		</div><!-- #content -->
   
       <?php
       // *****2ND LOOP*****
       ?>
   
       <?php
       query_posts(array('post__not_in' => $ids));
       while (have_posts()) : the_post();
       the_title();
       the_content();
       endwhile;
       ?>
       	</div><!-- #container -->
   
       <?php 
   
           // action hook for placing content below #container
           thematic_belowcontainer();
   
           // calling the standard sidebar
           thematic_sidebar();
   
           // calling footer.php
           get_footer();
   
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple loops in thematic child theme to display related posts](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/multiple-loops-in-thematic-child-theme-to-display-related-posts/#post-1452122)
 * I think i should be using something like this:
 *     ```
       <?php $my_query = new WP_Query('category_name=featured&posts_per_page=1');
         while ($my_query->have_posts()) : $my_query->the_post();
         $do_not_duplicate = $post->ID;?>
           <!-- Do stuff... -->
         <?php endwhile; ?>
           <!-- Do other stuff... -->
         <?php if (have_posts()) : while (have_posts()) : the_post();
         if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
          <!-- Do stuff... -->
         <?php endwhile; endif; ?>
       ```
   
 * but every comnbination i try to cut and paste seems to fail. Please help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [trouble calling style sheet for a particular category](https://wordpress.org/support/topic/trouble-calling-style-sheet-for-a-particular-category/)
 *  Thread Starter [roburdick](https://wordpress.org/support/users/roburdick/)
 * (@roburdick)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/trouble-calling-style-sheet-for-a-particular-category/#post-1450254)
 * I also got the style sheet working on this category template file by inserting
   this line at the top of my single-3.php file (that is the file name used for 
   category templates after the above code is done with it!)
 * <link rel=”stylesheet” href=”[http://www.robertburdick.com/mysite/wp-content/themes/robertburdick.com/portfolio-single.css&#8221](http://www.robertburdick.com/mysite/wp-content/themes/robertburdick.com/portfolio-single.css&#8221);
   type=”text/css” media=”screen” />
 * Hope this is helpful to anyone else in my situation. If I can, I’ll try to explain
   more. 🙂

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/users/roburdick/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/roburdick/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/roburdick/replies/page/2/?output_format=md)