get_bloginfo() (3 posts)

  1. JMHirst
    Posted 10 years ago #

    I understand that the "name" parameter will get the name, "description" the description and so on.

    But is there a related command that shows the post title, for example "get_bloginfo('posttitle')"

  2. Michael Bishop

    Posted 10 years ago #

    Not outside the loop, to my knowledge. You can use the tag get_posts outside the loop, then you can use the_title, and the_permalink.

  3. Alex Mills (Viper007Bond)
    Posted 10 years ago #

    single_post_title() is probably what you're looking for.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.