1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WP plugin that will display post title inside post content?

Discussion in 'BlackHat Lounge' started by hristo, Mar 9, 2012.

  1. hristo

    hristo Registered Member

    Joined:
    May 15, 2009
    Messages:
    87
    Likes Received:
    13
    Hi guys,
    Is there any WP plugin that will call post title and will display it inside post content?

    Regards
     
  2. hristo

    hristo Registered Member

    Joined:
    May 15, 2009
    Messages:
    87
    Likes Received:
    13
    Anyone?
     
  3. winterhawk

    winterhawk Newbie

    Joined:
    May 2, 2010
    Messages:
    1
    Likes Received:
    0
    You'l need to be a bit more specific about where in the post content you want it; beginning/middle/end?

    Can you throw out an example of where you want it?

    What you're looking for isn't particularly complicated code-wise, but I can't suggest anything without a few more details
     
  4. hurley

    hurley Newbie

    Joined:
    Mar 31, 2010
    Messages:
    13
    Likes Received:
    21
    Occupation:
    currently fun-employed
    Location:
    my desk
    the plugin Exec-PHP allows you to use php in your posts...

    then use this code snippet

    Code:
    <?php echo get_the_title($id); ?>
    $id = page/post ID