Title: plankguy's Replies | WordPress.org

---

# plankguy

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Merge + Minify + Refresh] $style/$script_path check fails when using Bedrock](https://wordpress.org/support/topic/stylescript_path-check-fails-when-using-bedrock/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/stylescript_path-check-fails-when-using-bedrock/#post-8906079)
 * I should note that the problem only arises for WP core assets…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better WordPress Minify] 404's when changing min/cache paths](https://wordpress.org/support/topic/404s-when-changing-mincache-paths/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/404s-when-changing-mincache-paths/#post-3913117)
 * Ok, so the issue was that I needed to copy over the contents of the “/wp-content/
   plugins/bwp-minify/min/” to the “/min/” directory I created within my theme folder.
   It’s not that clear in the instructions on betterwp.net, but upon seeing “assuming
   that an installation of Minify library exists there.”, I realized I had to copy
   the minify scripts over.
 * The only issue I see in the future is if minify library files change in the future…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Chartbeat] Js not appearing for wp_footer](https://wordpress.org/support/topic/js-not-appearing-for-wp_footer/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years ago](https://wordpress.org/support/topic/js-not-appearing-for-wp_footer/#post-3833599)
 * Problem was I was logged in as admin, and the person who added the plugin set“
   Track visits by Site Admins?” to “no”…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rotating Tweets (Twitter widget and shortcode)] Show multiple tweets at a time](https://wordpress.org/support/topic/show-multiple-tweets-at-a-time/)
 *  [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/show-multiple-tweets-at-a-time/#post-3724421)
 * If you use shortcode you can:
 * `<?php echo do_shortcode("[rotatingtweets tweet_count=3 no_rotate=true]"); ?>`
 * Or, i’ve actually called the shortcode function directly…
 *     ```
       <?php
       echo rotatingtweets_display_shortcode(array(
       	'tweet_count' => 5, // Change to how many you want
       	'no_rotate' => TRUE // stop rotating
       ));
       ?>
       ```
   
 * UPDATE: I just realized you want to rotate 3 at a time… this will just show 3,
   and not rotate…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rotating Tweets (Twitter widget and shortcode)] Twitter Profile Image](https://wordpress.org/support/topic/twitter-profile-image/)
 *  [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/twitter-profile-image/#post-3607677)
 * I was wrapping the attribute value in quotes and using a value of ‘true’, that’s
   apparently a no-no. What worked is:
 * `official_format=1`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rotating Tweets (Twitter widget and shortcode)] Twitter Profile Image](https://wordpress.org/support/topic/twitter-profile-image/)
 *  [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/twitter-profile-image/#post-3607676)
 * Using shortcode I can’t get the twitter icons to show, here’s my shortcode:
 * `do_shortcode('[rotatingtweets screen_name="xxxxxx" exclude_replies="true" tweet_count
   ="3" official_format="true" no_rotate="1"]');`
 * Using the widget in the sidebar as a test works fine, am I missing something?
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Forms] Shortcode Throwing JS error](https://wordpress.org/support/topic/shortcode-throwing-js-error/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-throwing-js-error/#post-3751819)
 * That fixed it! I’ll my eyes peeled for an update that fixes that issue.
 * Thanks for you quick help, great plugin, nice job!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Forms] Shortcode Throwing JS error](https://wordpress.org/support/topic/shortcode-throwing-js-error/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-throwing-js-error/#post-3751807)
 * Updated & getting same error.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Forms] Shortcode Throwing JS error](https://wordpress.org/support/topic/shortcode-throwing-js-error/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-throwing-js-error/#post-3751804)
 * I’ll try 0.47, just saw that there’s an update! I’ll keep you posted…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Forms] Shortcode Throwing JS error](https://wordpress.org/support/topic/shortcode-throwing-js-error/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-throwing-js-error/#post-3751802)
 * V0.46, running in Chrome V26.0.1410.65
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Conditional tags not working in excerpt length filter](https://wordpress.org/support/topic/conditional-tags-not-working-in-excerpt-length-filter/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/conditional-tags-not-working-in-excerpt-length-filter/#post-1584646)
 * So i’ve narrowed is to needing to reset the query with `wp_reset_query()` before
   using conditional statements. However, because am using the conditional statements
   mid-loop it just gives me the desired effect, but also adds the page content :(…
   I also read that I can store the `wp_query` in a variable and retrieve it after
   the query, but no go…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Conditional tags not working in excerpt length filter](https://wordpress.org/support/topic/conditional-tags-not-working-in-excerpt-length-filter/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/conditional-tags-not-working-in-excerpt-length-filter/#post-1584599)
 * Anyone, anyone..? Bueller, Bueller…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Conditional tags not working in excerpt length filter](https://wordpress.org/support/topic/conditional-tags-not-working-in-excerpt-length-filter/)
 *  Thread Starter [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/conditional-tags-not-working-in-excerpt-length-filter/#post-1584544)
 * Yep tried that, and it doesn’t work on my posts page. I should tell you that 
   I have tried:
    - `is_home()`
    - `is_page_template('page-home.php')` (where ‘page-home.php’ is the file being
      used)
    - `is_page('homepage')` (where ‘homepage’ is the page slug)
    - `is_page('Homepage')` (where ‘Homepage’ is the page title)
    - `is_page('0')` (where ‘0’ is the page ID)
 *  Even `is_page()` doesn’t want to work…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Query_posts alters wp_list_pages output](https://wordpress.org/support/topic/query_posts-alters-wp_list_pages-output/)
 *  [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/query_posts-alters-wp_list_pages-output/#post-1002377)
 * Found a fix. It keeps the pagination and fixes the `wp_list_pages` issue that`
   query_post` can create.
 *     ```
       <?php
       $temp = $wp_query;
       $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('category_name=yourcat&showposts=2'.'&paged='.$paged);
       while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
         <?php the_title(); ?>
         <?php the_content(); ?>
       <?php endwhile; ?>
       <?php previous_posts_link('&lsaquo; Previous Page | '); next_posts_link('Next Page &rsaquo;'); ?>
       <?php $wp_query = null; $wp_query = $temp; ?>
       ```
   
 * The last line basically restores the `$wp_query` back to its original state. 
   It must be placed after the pagination in order for the pagination to work.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Query_posts alters wp_list_pages output](https://wordpress.org/support/topic/query_posts-alters-wp_list_pages-output/)
 *  [plankguy](https://wordpress.org/support/users/plankguy/)
 * (@plankguy)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/query_posts-alters-wp_list_pages-output/#post-1002375)
 * I had the same issue, but I think i’ve got it. I haven’t tested it much (it’s
   late, i’m tired, and this has taken awhile to figure out). But this seems to 
   work:
 *     ```
       <?php
       $myPosts = new WP_Query();
       $myPosts->query('showposts=1');  
   
       while ($myPosts->have_posts()) : $myPosts->the_post(); ?>
       the_title();
       the_content();
       endwhile;
       ?>
       ```
   
 * That seems to resolve the issue of having the page list, after the post query.
 * UPDATE: …Pagination doesn’t seem to work when adding &showposts=3. Back the the
   drawing board.

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