• Greetings,
    I’m a new user and I can’t seem to find this…..

    How do I add text to the home page that will permanently remain above the posts ?

    Thanks,
    Jerry

Viewing 7 replies - 1 through 7 (of 7 total)
  • If this is text that won’t change that often (e.g., weeks, months, or longer), then the simplest solution would be to hard code your message into your theme.

    Though, this plugin might have the functionality you’re looking for: Awsom News Announcement.

    Is there any other solution or any other plugin nowadays?

    Thanks

    Sticky post?

    That’s only for homepage or for every pages? I just want to add some text to my homepage.

    Thanks

    I don’t use it, so am not sure, but I think it’s only for homepage. You could test it and see…right? If you are using 2.7, just create a post and under visibility click ‘stick this post to the font page’ and then test it.

    Hmm it works, but not as I wish. The thing’s that my post’s width it’s different to this home-section width…so it ain’t what I’m looking for. Anyway, thanks for the suggestion.

    Any other idea?

    tom4ski

    (@tom4ski)

    I’ve found this solution:

    <?php if (is_home()) { ?>
    YOUR TEXT
    <?php } ?>

    or to style it like your post

    <?php if (is_home()) { ?>
    <div class=post>
    <h2>Heading</h2>
    YOUR TEXT
    </div>
    <?php } ?>

    Just paste this code into index.html or home.php before posts.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Permanent Text on Home/Posts Page’ is closed to new replies.