HOME       >>       Websites and Web Designing

Wordpress Question: Adding Static Text On The Theme adding fixed text to the top of the main page


anwiii

above the recent blog posts, i want to add fixed text to the top of the main page. how would i go about doing this? is the solution to edit the index.php file or is there another solution? where are the wordpress gurus?


BuffaloHelp

Ideally, you want to have plugin like this one http://forums.xisto.com/no_longer_exists/
This plugin can select a post from your post(s) and display it. You can make it static by creating a new category and let it "reload" just from that category, hence making it static.

But since your target area is at the top of the post, i.e. header, you may need to add your own script.

Remember to edit your template and not your root Wordpress files. Under Themes > theme_folder > header file would be sufficient enough.


akira550

did you mean adding some new page with another page into your navigation bar? you must go edit your header.php
and then search for some codes like this

<li><a <?php if (is_page('about')) echo(' '); ?>href="<?php bloginfo('url'); ?>/about/">about</a></li>

I think that's the default code in the defaulth theme hope it helps

anwiii

hmmm....no. i think i explained it wrong. i have a wordpress blog. on the MAIN page of the blog, it will list all my blog posts. this is fine. i don't want to add a page or create a random script. what i want to do is EDIT the main page below the header, but above the recent posts that are automatically displayed on the main page. i want to add text(not a post) JUST to the main page.i want to do this for seo purposes. now would editing the index.php file do the trick for just the main page? or is that wrong to do. what are my options. is there a plugin for that?one option i was thinking about was creating a post and having that post always on top of the main page where all the recent posts would go below it 10 posts deep(on the main page) but the top post will ALWAYS remain there. but i don't know how i would do that either.so my intention for this is to always have the same text at the top(below the header) for seo purposes and to explain in more detail about the site on the main page only.


akira550

hmmm....no. i think i explained it wrong. i have a wordpress blog. on the MAIN page of the blog, it will list all my blog posts. this is fine. i don't want to add a page or create a random script. what i want to do is EDIT the main page below the header, but above the recent posts that are automatically displayed on the main page. i want to add text(not a post) JUST to the main page.

 

i want to do this for seo purposes. now would editing the index.php file do the trick for just the main page? or is that wrong to do. what are my options. is there a plugin for that?

 

one option i was thinking about was creating a post and having that post always on top of the main page where all the recent posts would go below it 10 posts deep(on the main page) but the top post will ALWAYS remain there. but i don't know how i would do that either.

 

so my intention for this is to always have the same text at the top(below the header) for seo purposes and to explain in more detail about the site on the main page only.


ohh just like a sticky note? or an announcement or a welcome note for your visitors that would only appear on the index? I used one in the late past when I used wordpress but sorry xD I forgot the plugin name for it but when I saw it again I am going to PM it with you ok? anyway I don't think editing will do the work there is two or more plugins for this ohh yeah I remember try to take a look at the WP-Sticky Plugin maybe it is not what you are finding and maybe yes it is a good plugin and good for SEO


VIEW DESKTOP VERSION REGISTERGET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.