Title: philpeter's Replies | WordPress.org

---

# philpeter

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [autoblog – only pulling in first few lines](https://wordpress.org/support/topic/autoblog-only-pulling-in-first-few-lines/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/autoblog-only-pulling-in-first-few-lines/#post-2103843)
 * Hiya!
 * Can you post a link to the feed? My first thought is that the feed itself doesn’t
   include the full content. Have you checked that?
 * Cheers,
    Phil
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pagination in Posts Edit Admin Screen Missing](https://wordpress.org/support/topic/pagination-in-posts-edit-admin-screen-missing/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/pagination-in-posts-edit-admin-screen-missing/#post-1824703)
 * I’ve been investigating… here’s what I’ve found:
 * The div.tablenav_pages is written out on lines 388-400 of /wp-admin/edit.php:
 *     ```
       <?php if ( $page_links ) { ?>
       <div class="tablenav-pages"><?php
       	$count_posts = $post_type_object->hierarchical ? $wp_query->post_count : $wp_query->found_posts;
       	$page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s',
       						number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ),
       						number_format_i18n( min( $pagenum * $per_page, $count_posts ) ),
       						number_format_i18n( $count_posts ),
       						$page_links
       						);
       	echo $page_links_text;
       	?></div>
       <?php
       }
       ```
   
 * $page_links is defined in lines 311-318:
 *     ```
       $page_links = paginate_links( array(
       	'base' => add_query_arg( 'paged', '%#%' ),
       	'format' => '',
       	'prev_text' => __('&laquo;'),
       	'next_text' => __('&raquo;'),
       	'total' => $num_pages,
       	'current' => $pagenum
       ));
       ```
   
 * I added the following after 318 to see what was in $page_links:
 *     ```
       echo "<!-- ";
       print_r($page_links);
       echo " -->";
       ```
   
 * The output, as expected, was a blank array.
 * I changed $page_links to:
    `$page_links = paginate_links();`
 * to see if the default values for paginate_links (line 1943 of /wp-includes/general-
   template.php) worked.
 * Again, a blank array.
 * So paginate_links is returning a blank array – but I can’t figure out why that
   would be.
 * Anyone?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Admin Pages pagination broken – going to posts](https://wordpress.org/support/topic/admin-pages-pagination-broken-going-to-posts/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/admin-pages-pagination-broken-going-to-posts/#post-1840041)
 * I have the same issue and I’m on a VPS, not Fasthosts.
 * There is [another thread with the same issue](http://wordpress.org/support/topic/pagination-in-posts-edit-admin-screen-missing),
   still not solved.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pagination in Posts Edit Admin Screen Missing](https://wordpress.org/support/topic/pagination-in-posts-edit-admin-screen-missing/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/pagination-in-posts-edit-admin-screen-missing/#post-1824702)
 * I’ve just discovered the same issue with pagination.
 * The div.tablenav-pages is missing from the HTML completely so it’s not a CSS 
   issue – something has removed the entire DIV.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bitly's Wordpress Plugin] [Plugin: WP Bit.ly] Made my server hang, had to reboot](https://wordpress.org/support/topic/plugin-wp-bitly-made-my-server-hang-had-to-reboot/)
 *  Thread Starter [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-bitly-made-my-server-hang-had-to-reboot/#post-1858986)
 * Yep that was my guess. I’d suggest that that’s bad practice for any plugin as
   you never know how many posts a blog will have and what damage it might cause.
 * When I hit that button I said to myself, “surely they’ve not built it to loop
   through every single post?!”
 * Alas, that was the case and even posts from over two years ago were hit which
   makes little sense.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bitly's Wordpress Plugin] [Plugin: WP Bit.ly] Made my server hang, had to reboot](https://wordpress.org/support/topic/plugin-wp-bitly-made-my-server-hang-had-to-reboot/)
 *  Thread Starter [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-bitly-made-my-server-hang-had-to-reboot/#post-1858925)
 * As the post says, WP v3.04.
 * The Get Shortlink button is available when the plugin is de-activated.
 * I have cURL enabled.
 * I haven’t looked at my error logs.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments missing from WordPress export](https://wordpress.org/support/topic/comments-missing-from-wordpress-export/)
 *  Thread Starter [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/comments-missing-from-wordpress-export/#post-1448607)
 * Having done another export a few days, and posts and comments, later it seems
   that WordPress isn’t actually building the XML properly.
 * It’s cutting out half-way through posts and not finishing, resulting in an incomplete,
   badly formed XML file.
 * Anybody else seen this, especially in trac? Seems like it might be a bug…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Comments missing from WordPress export](https://wordpress.org/support/topic/comments-missing-from-wordpress-export/)
 *  Thread Starter [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/comments-missing-from-wordpress-export/#post-1448603)
 * Has no-one had this issue, or see how it might occur? I thought maybe WP does
   some caching and that’s where the new comments are going…?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Excluding sticky posts using query_posts()](https://wordpress.org/support/topic/excluding-sticky-posts-using-query_posts/)
 *  Thread Starter [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [17 years ago](https://wordpress.org/support/topic/excluding-sticky-posts-using-query_posts/#post-1213036)
 * According to [@wefixwp](http://twitter.com/wefixwp/statuses/5022493865), the 
   WP documentation on this is wrong.
 * To get around it, I’ve produced a normal, all-inclusive loop and wrapped all 
   the HTML code within it this IF statement:
    `if (!is_sticky())`
 * This stops the loop actually writing out the post if it is a sticky post. I guess
   it works but that documentation needs cleaning up.
 * Phil
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Excluding sticky posts using query_posts()](https://wordpress.org/support/topic/excluding-sticky-posts-using-query_posts/)
 *  Thread Starter [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [17 years ago](https://wordpress.org/support/topic/excluding-sticky-posts-using-query_posts/#post-1213035)
 * Yep, but caller_get_posts only returns sticky posts to the normal chronological
   order. I want all sticky posts to be excluded from the loop, which the query_posts()
   article says is possible by using
 *     ```
       query_posts(array(
       "post__not_in"	 =>	get_option("sticky_posts")
       ));
       ```
   
 * Problem is, that isn’t working!
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [“Sticky” Qualifier for query_posts](https://wordpress.org/support/topic/sticky-qualifier-for-query_posts/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/sticky-qualifier-for-query_posts/page/2/#post-873157)
 * > `query_posts(array(
   >  “post__not_in” => get_option(“sticky_posts”) ));`
 * I’ve used this solution but it’s not working for me. I’m using it in the second
   loop in my home.php file, which is preceded by wp_reset_query().
 * The first loop uses this wp_query:
    `query_posts(array('post__in'=>get_option('
   sticky_posts')));`
 * The second uses:
    `query_posts(array("post__not_in"=>get_option("sticky_posts")));`
 * But I see the same (sticky) post as the first post produced by both loops. In
   date order it would be the third post.
 * Any idea why this wouldn’t work?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP adding code to the end of url links breaking them](https://wordpress.org/support/topic/wp-adding-code-to-the-end-of-url-links-breaking-them/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/wp-adding-code-to-the-end-of-url-links-breaking-them/#post-1168267)
 * I just had this problem.
 * The string was added to the end of the Permalink in Settings > Permalinks. Simply
   removing it and saving fixed it.
 * It does beg the question though, why this happened and how? Is it a hack?
 * Phil
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom page template is selected but the page uses the default](https://wordpress.org/support/topic/custom-page-template-is-selected-but-the-page-uses-the-default/)
 *  Thread Starter [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/custom-page-template-is-selected-but-the-page-uses-the-default/#post-1188760)
 * Sorry, it’s me being a muppet. It was working! Thanks for you help.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Sharing users between 2 blogs](https://wordpress.org/support/topic/sharing-users-between-2-blogs/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/sharing-users-between-2-blogs/#post-843708)
 * Has anybody else tried this yet? All the intructions seem easy enough, maybe 
   too easy… has something been missed do you think?
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [How do I create an ARCHIVE INDEX?](https://wordpress.org/support/topic/how-do-i-create-an-archive-index/)
 *  [philpeter](https://wordpress.org/support/users/philpeter/)
 * (@philpeter)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-create-an-archive-index/#post-1069274)
 * I have this same problem. There is no Page Template dropdown under the Attributes
   tab, either.
 * I have the template file I want to use within my theme…

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

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