royng
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Sidebar Problemok 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
In reply to: ‘Press It’ OS X Dashboard WidgetGreat 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
In reply to: Pluginwish: Notes on DashboardForum: Plugins
In reply to: Latest Activityok i got it to work by using the loop function
Forum: Plugins
In reply to: Latest Activityi 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...'); ?>»</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>';
}
?>