Title: royng's Replies | WordPress.org

---

# royng

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Sidebar Problem](https://wordpress.org/support/topic/sidebar-problem-1/)
 *  Thread Starter [royng](https://wordpress.org/support/users/royng/)
 * (@royng)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/sidebar-problem-1/#post-257721)
 * ok clean it up abit the <?php } ?> is to close my other function (K2 theme about
   function) and if i remove the <?php if ( have_posts() ) : while ( have_posts()):
   the_post(); ?> i will get an parse error and i using <?php get_sidebar(); ?> 
   to get my sidebar and i am not using any conditional tags should i use those?
 * I feel the problem is in my loop as when you view the post you are having 2 loops
   and the single post ends up in the sidebar and the second loop says Sorry, no
   posts matched your criteria.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [‘Press It’ OS X Dashboard Widget](https://wordpress.org/support/topic/press-it-os-x-dashboard-widget/)
 *  [royng](https://wordpress.org/support/users/royng/)
 * (@royng)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/press-it-os-x-dashboard-widget/page/2/#post-208146)
 * Great widget!
 * But when a user enters the wrong xml-rpc address or user information the widget
   do not display an error.
 * When you click on done it will just stay there maybe you can have an error message
   telling the user.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Pluginwish: Notes on Dashboard](https://wordpress.org/support/topic/pluginwish-notes-on-dashboard/)
 *  [royng](https://wordpress.org/support/users/royng/)
 * (@royng)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/pluginwish-notes-on-dashboard/#post-207481)
 * [http://cjbehm.dyndns.org/wingingit/dashboard-options/](http://cjbehm.dyndns.org/wingingit/dashboard-options/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Latest Activity](https://wordpress.org/support/topic/latest-activity/)
 *  [royng](https://wordpress.org/support/users/royng/)
 * (@royng)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/latest-activity/#post-190655)
 * ok i got it to work by using the loop function
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Latest Activity](https://wordpress.org/support/topic/latest-activity/)
 *  [royng](https://wordpress.org/support/users/royng/)
 * (@royng)
 * [21 years ago](https://wordpress.org/support/topic/latest-activity/#post-190652)
 * i am also trying to do it and i manage to get it to work but how do i put in 
   the _permalink()
 * I tried this but can’t work
    ` <h3><?php _e('Posts'); ?> <?php _e('More posts...');?
   >&raquo;</h3> <?php foreach ($recentposts as $post) { if ($post->post_title =
   = '') $post->post_title = sprintf(__('Post #%s'), $post->ID); echo "<li><a href
   ='<?php the_permalink(); ?>'>"; the_title(); echo '</a></li>'; } ?>

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