Add Stationary Content To Main WordPress Front Page

Adding static or stationary content to the front page of your blog can be done two different ways. One is to use the static front page option. Another is to just add your text or HTML code to the index file. This WordPress guide will address the latter.

First your themes files permissions will need to be writable in your hosting account to make any changes to them. To see if yours are writable in the WordPress dashboard go to Design or Presentation, Theme Editor. scroll down and see if you have an “Update File” button under the themes template file. If so you are ready to go. If you see “If this file were writable you could edit it.” then you need to change the file permissions on the theme to 666 or 777. If you don’t know how to do it check your particular hosting account for more information.

Once in the Theme Editor, click the Main Index Template also known as the index.php file. Find the following code and simply place your text or HTML code in the area just above the code where the posts start as shown below:

Place your text, AdSense, banner ad code, or HTML code here.

<?php if (have_posts()) :?>

Be careful to make sure all HTML tags are properly closed in here, and then check your site to see how your newly edited front blog page looks.



Share This AddThis Social Bookmark Button Sphinn Gregarious FeedFlare

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!


Tagged with ,


Related Posts





3 Responses to "Add Stationary Content To Main WordPress Front Page"

  1. This is what i was looking for.
    Thanks for the information :)

  2. and thus the added stationary content will go at the top of the page?

  3. Just as the post states ” place your text or HTML code in the area just above the code where the posts start” that would be the area just above the post.

Discussion Area - Leave a Comment

If you have a question about your blog please leave a link to it. Please don't ask questions like "Why don't my blog work right?" and expect an answer. I can't fix stupid.

Two links or less are welcome, any more and your comment will be spammed! Nofollow has been disabled, feel free to use your keywords or site name as your name for anchor text. Some comments may be moderated and will not appear until approved. Please submit only once.



XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Or just copy the example below and change your details.
Example - Title Of Site