• Is there a way to have some sort of static content under the header (but not wrapped with the header) and above the main content of the page? Something that could, if nothing else, act as a ‘spacer’ between the header and the main blog content. I would probably add graphical and text content as an additional menu of sorts but I just need to know which file to edit and at what point in the file to add data.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Normally, the “main page” mentioned in your title is the index.php template file of your theme – unless you use a home.php file.
    Which means: you can hardcode your “static content” in that file, just before The Loop starts.

    To achieve similar effect I often use the get-a-post plugin and put my ‘static content’ ina Page (excluded from being listed) so I can edit it any time from the admin panel.

    Putting it into header.php is probably a good idea, after the closing </div> tag (the one that closes the header div).

    But also moshu’s solution would work ?? Got there before i could click send!

    Download the adhesive plugin:
    https://wp-plugins.net/plugin/Adhesive/

    By using this plugin.. you can create a post and designate it as a sticky which will keep the post at the top of the index page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Static content on main page, under header’ is closed to new replies.