Viewing 3 replies - 1 through 3 (of 3 total)
  • Could you be a bit more explicit? What is your question?

    I think he means at the top of the index some included content, like a strap line or intro paragraph, similiar to this other theme I made for someone a bit ago: https://www.barkandfitzottawa.com/. On the index you’ll find the first paragraph is static. To do this you need to add it in the index.php file (Main Template), something like this:
    <!--this is normal WP-->
    <div id="content" class="narrowcolumn">

    <!--this is my added fixed div-->
    <div id="strap">
    <h2 class="pagetitle"><?php bloginfo('name'); ?></h2>
    <p><img class="right" src="<?php bloginfo('url'); ?>/wp-content/themes/barknfitz/images/i_main.jpg" width="250" height="160" alt="<?=$SN1 ?>" /></p>
    <h3><?php bloginfo('description'); ?></h3>
    <p><?php include("strap_text.php"); // I included the content ?></p>
    <div class="hr"><hr /></div>
    </div>

    <!--this is normal WP-->
    <?php if (have_posts()) : ?>

    I added that whole block in the middle and there’s some PHP in there for client stuff I did so they can maintain it with ease. If we take all that out, though, what we’re left with are the essentials you really need:

    <div id="strap">
    <h2 class="pagetitle">Blog Name or Whatever</h2>
    <p>Content, image, etc</p>
    </div>

    That would go between the top and bottomm, like so:
    <!--this is normal WP-->
    <div id="content" class="narrowcolumn">

    <div id="strap">
    <h2 class="pagetitle">Blog Name or Whatever</h2>
    <p>Content, image, etc</p>
    </div>

    <!--this is normal WP-->
    <?php if (have_posts()) : ?>

    Style #strap in your CSS if needed.

    Mike

    Thread Starter johnwade

    (@johnwade)

    I think that’s got it. I’ll try in the AM and let you know. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Area where 1st Post exists is more permanent content …’ is closed to new replies.