WordPress.org

Ready to get started?Download WordPress

Forums

get_bloginfo() (3 posts)

  1. JMHirst
    Member
    Posted 9 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 9 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. single_post_title() is probably what you're looking for.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.