Recent blog posts displaying page title
# September 9, 2009 at 7:40 am
Am not sure if this is a PHP question but here it goes anyway..
For some reason my sidebar widget (recent posts) is displaying my page title..
if you click some titles then you will see.. I have set the blog up as you can see
Now it displays the recent blog posts..
I have changed no code it my sidebar..Code:
< ?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
< ?php get_search_form(); ?>
< ?php wp_list_categories('show_count=1&title_li'); ?>
< ?php wp_get_archives('type=monthly'); ?>
< ?php endif; ?>
Thanks# September 10, 2009 at 1:17 pm
This reply has been reported for inappropriate content.
again, sorry, but what is your actual question?
On my sidebar, recent posts section, why does my latest post title show in the list?
I think that is your question, but you have not made it clear……
although if it is, it is your latest post and your widget is looking for the title of your recent posts, so really it is supposed to do that, my sites with wordpress do that
also you code shows that if you have the widgets then that should take over from the rest of your php code (or roughly to that account) if you do not want the wigets, you can delete the PHP related to that which should leave your with the categories & archives# September 10, 2009 at 1:30 pm
Sorry for the mis understanding..
Yes my question is why is my recent posts widgets displaying my page title? i have two test blogs on my site http://www.leehughes.co.uk/blog/
As you can see the widget now displays the recent posts.
If you go to another page like route.. it just displays the route page link..
It was that the widget would display my recent blog posts.. so i could go on any page and it would display.. test blog post and another test blog (my blog titles)
this is not the case anymore.. i was just wondering why
You must be logged in to reply to this topic.