Grow your CSS skills. Land your dream job.

Recent blog posts displaying page title

  • # September 9, 2009 at 7:40 am

    Hi,

    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..
    http://www.leehughes.co.uk/

    if you click some titles then you will see.. I have set the blog up as you can see

    http://www.leehughes.co.uk/blog/

    Now it displays the recent blog posts..

    I have changed no code it my sidebar..

    Code:

    < ?php endif; ?>

    Thanks

    # September 10, 2009 at 12:50 pm

    was there a question???

    # September 10, 2009 at 12:53 pm

    Hi,

    Yeah, sorry..

    Why is this happening?

    I have not changed the code and for some reason this just started to happen.

    # September 10, 2009 at 1:17 pm

    again, sorry, but what is your actual question?

    is it
    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

    Hi

    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

    thanks :)

    # September 10, 2009 at 2:03 pm

    I think it depends on how you have set it up.

    do they all have the same sidebar or different sidebars?

    is you whole site in wordpress or only some parts?

    # September 10, 2009 at 2:05 pm

    Hi,

    My whole site is wordpress.. i have only one file for sidebar (code provided)..

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".