• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WPArena

WPArena

WPArena is a premium online resource site of WordPress and is focused on providing excellent WordPress Tutorials, Guides, Tips, and Collections.

  • News
    • Opinion
  • Tutorials
  • Reviews
    • Themes
    • Plugins
  • Comparisons
  • Collections
    • Education Themes
    • Genesis Child Themes
    • Best Responsive Themes
    • Medical WordPress Themes
    • Finance & Business Themes
    • Crowdfunding Themes
  • Resources
    • Inspiration
  • Services
WPArena » Tutorials
Tutorials

How To Add Stationary Content To WordPress Front Page

Avatar of Editorial Staff Editorial Staff Updated: March 17, 2017

Add WordPress Themes
FacebookTweetPinLinkedInEmailPrint

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.

This post was orginally published on: June 6, 2008 and was updated on: March 17, 2017.
FacebookTweetPinLinkedInEmailPrint

Related Stories

  • How to Extend the WordPress Visual Editor with plugins

  • How To Setup Flash Slideshow On WordPress Theme Header

    How To Setup Flash Slideshow On WordPress Theme Header

  • How To Track WordPress File Downloads Using MonsterInsights?

    How To Track WordPress File Downloads Using MonsterInsights?

Avatar of Editorial Staff

Editorial Staff

Editorial Staff at WPArena is a team of WordPress experts led by Jazib Zaman. Page maintained by Jazib Zaman.

Reader Interactions

Share Your Thoughts Cancel reply

Before submitting your comment, we kindly ask that you read our comment policy. Your email address will remain confidential and will not be published or shared anywhere. If you subscribe, you will receive notifications regarding new comments.

Primary Sidebar

Guide for Using Password Free WordPress Login Using Clef

Things To Do After Installing Wordpress

10 Most Important Things to Do After Installing WordPress

Recent Topics

  • Official Windows 7 Wallpapers
  • How to secure your WordPress images and content from Theft
  • Top 20 Web Designing Companies in the World
  • WP Rocket Review: Is It the Perfect Solution for WordPress Caching?
  • The Complete WordPress Security Guide 2023 – Step by Step

Footer

Top

  • Services
  • Our Themes
  • Facebook
  • Twitter
  • Linkedin

Reviews

  • Beaver Builder Review
  • Beaver Themer Review
  • WP User Frontend Pro
  • Ninja Forms Review
  • MemberPress Review

More Reviews »

Resources

  • Best WordPress Plugins
  • WordPress Permalinks Structure
  • Email Management System
  • Envato Free Files
  • Advertise
  • Write for us
  • Disclosure
  • Terms
  • Privacy
  • Contact

Copyright © 2023 · All Rights Reserved · WPArena is a Project of TechAbout LLC.
We are not affiliated with Automattic or WordPress.

  • Advertise
  • Write for us
  • Disclosure
  • Terms
  • Privacy
  • Contact
Share this ArticleLike this article? Email it to a friend!

Email sent!