Add static text to the blog page (5 posts)

  1. jimmyjamez
    Posted 8 years ago #

    I would like to enter a small paragraph of text above where my blog starts. How do I do this without the same text appear on all pages? Make sense/

    Here is a link to the page:

    I heart WP!

  2. AndreSC
    Posted 8 years ago #

    Hi JJ
    Not sure about what you are asking, could you describe what you want to achive, e.g. at http://salesvitamins.com/?tag=blog (when someone has clicked on 'blog' under tags I want my paragraph of texxt to appear beneath the big colourful image but before all the bloog posts but in a different style...?

  3. Adam Brown
    Posted 8 years ago #

    I *think* he wants text to appear only on that one particular page, but outside The_Loop.

    If so, there's two solutions. Either create a page template, or (my preference) check out Conditional_Tags.

    If you take the latter options, edit your theme's page.php (if there is one, otherwise index.php).

  4. AndreSC
    Posted 8 years ago #

    sounds right to me :-)

  5. I prefer the Page Template approach myself. It's cleaner than Conditional Tags (my opinion), and involves less processing power (fact). Of course, it only works with Pages, but in this case, that's what he wants.

Topic Closed

This topic has been closed to new replies.

About this Topic