WordPress.org

Forums

using a custom post page title..please help..! (3 posts)

  1. ApnaySMS
    Member
    Posted 6 years ago #

    hello everybody

    here is my wordpress blog http://www.Decentsms.com

    i want to edit the post title

    my current post title is like this


    Post name » Blog Archive » Post name

    and code is:

    <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?>

    i want my Title to appear like this

    Category name >> Post Name

    is any body there who can do this

  2. ApnaySMS
    Member
    Posted 6 years ago #

    no body here to help me out???

  3. iridiax
    Member
    Posted 6 years ago #

    You'd have to get just the first category of the post, but somehow do it outside the loop. I only know how to do this inside the loop, but maybe someone else knows how.

    An alternative would be to use a title tag plugin that lets you put in whatever you want for the title tag. I use SEO Title Tag (a VERY helpful plugin for SEO).

Topic Closed

This topic has been closed to new replies.

About this Topic