Jump to content
xisto Community
Sign in to follow this  
anwiii

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

Recommended Posts

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? :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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('class="current" '); ?>href="<?php bloginfo('url'); ?>/about/">about</a></li>

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :D it is a good plugin and good for SEO :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.