Title: colincameron's Replies | WordPress.org

---

# colincameron

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Stopping Quotes from Changing](https://wordpress.org/support/topic/stopping-quotes-from-changing/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years ago](https://wordpress.org/support/topic/stopping-quotes-from-changing/#post-388183)
 * Thanks filosofo
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Posting recent entries from two wordpress blogs on one page](https://wordpress.org/support/topic/posting-recent-entries-from-two-wordpress-blogs-on-one-page/)
 *  [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years ago](https://wordpress.org/support/topic/posting-recent-entries-from-two-wordpress-blogs-on-one-page/#post-379066)
 * I was trying to do the same thing but couldn’t figure it out. I figured out an
   alternative to doing the feed way. Create a file with just the info you need 
   and include its full URL. Here is what I put in the include file for a definition
   list of the last five posts.
    ` <?php define('WP_USE_THEMES', false); include_once('
   blog/wp-blog-header.php'); query_posts('posts_per_page=5'); ?> <dl> <dt>Recent
   Posts</dt> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?
   > <dd><a href="<?php the_permalink() ?>" title="<?php get_the_title() ?>"><?php
   get_the_title() ?></a></dd> <?php endwhile; ?> </dl> <?php else: ?> <?php _e('
   Sorry, no posts matched your criteria.'); ?>
 *  <?php endif;
    ?>
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [List child pages in page template](https://wordpress.org/support/topic/list-child-pages-in-page-template/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years ago](https://wordpress.org/support/topic/list-child-pages-in-page-template/#post-376133)
 * ok thanks
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Limit Number of characters in sidebar](https://wordpress.org/support/topic/limit-number-of-characters-in-sidebar/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/limit-number-of-characters-in-sidebar/#post-369411)
 * Great this is exactly what I was looking for but when I looked at the substr 
   function I wasn’t sure it would work like this. Thanks!!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Limit Number of characters in sidebar](https://wordpress.org/support/topic/limit-number-of-characters-in-sidebar/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/limit-number-of-characters-in-sidebar/#post-369335)
 * Sorry about that. The invalid code isnt on my site, it must have been added because
   I forgot the backticks.
 * `<?php $posts = get_posts('numberposts=5&offset=0'); foreach($posts as $post):?
   >
    <dd><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></dd> <?php
   endforeach; ?>
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom formatting for wp_list_pages](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/#post-359019)
 * BTW, isn’t there support for a function file in the templates now? This could
   make it easier to implement your technique instead of having a plugin.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom formatting for wp_list_pages](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/#post-359009)
 * Oh wow! thanks for the help niziol. I was playing around with the function last
   night but didnt get it to work.
 * Thanks again.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom formatting for wp_list_pages](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/#post-358964)
 * OK cool, thanks for the help niziol
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom formatting for wp_list_pages](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/#post-358958)
 * Oh boy, I hope thats not the easiest way. There has to be some fancy way of changing
   the tag around.
 * I will give that a shot though. Btw, do you know where to get that plugin you
   mentioned?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom formatting for wp_list_pages](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/custom-formatting-for-wp_list_pages/#post-358955)
 * Any ideas?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Highlight My Comments](https://wordpress.org/support/topic/highlight-my-comments/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/highlight-my-comments/#post-356299)
 * Great, thanks for the tip!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Show admin link if logged in](https://wordpress.org/support/topic/show-admin-link-if-logged-in/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/show-admin-link-if-logged-in/#post-356189)
 * Great, this is exactly what I was looking for!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Associating theme files to a ‘Page’](https://wordpress.org/support/topic/associating-theme-files-to-a-page/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/associating-theme-files-to-a-page/#post-324295)
 * Ok I figured it out. I didn’t declare a template name at the top of the file.
   Im not sure why I was using the other method before.
 * Thanks again!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Associating theme files to a ‘Page’](https://wordpress.org/support/topic/associating-theme-files-to-a-page/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/associating-theme-files-to-a-page/#post-324287)
 * Thanks for the quick response, I must be looking in the wrong place “Page Templates”
   does not show up on my “write page” page. I have a archives.php file in my theme
   directory so according to the codex it should be there?..
 * Thanks again.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Highlight Current Navigation](https://wordpress.org/support/topic/highlight-current-navigation/)
 *  Thread Starter [colincameron](https://wordpress.org/support/users/colincameron/)
 * (@colincameron)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/highlight-current-navigation/#post-296968)
 * ok just making sure i dint mess something up, thanks

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

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