Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Peacetraveler

    Regarding your question about Dynamic Headers with the Astisteer theme builder.

    The way to go is simple:

    0. Follow the direction step 1-6
    1. Take the code you find in the plugin directions:
    <?php if(function_exists(‘show_media_header’)){ show_media_header(); } ?>

    2. Open header.php in the editor.

    3. At the wery bottom you find the code:
    </div>
    <div class=”art-Header”>
    <div class=”art-Header-jpeg”></div>
    </div>

    4. Insert the code just before </div> and make it look like:
    </div>
    <div class=”art-Header”>
    <div class=”art-Header-jpeg”></div>
    <?php if(function_exists(‘show_media_header’)){ show_media_header(); } ?>
    </div>

    Example:
    https://www.youdrivethebus.com/
    https://www.youdrivethebus.com/about/receptet-pa-framgang

    Peace out

    Thread Starter lewren

    (@lewren)

    Ahhh found a way around the problem, it’s not the right way but in the header.php a managed to change home to hem and this will fix it temp.

      <li <?php if(is_front_page()) { ?>class=”current_page_item”<?php } ?>>/”>Hem
      <?php wp_list_pages(‘sort_column=menu_order&title_li=’ ); ?>

    <div id=”masthead_image”>

Viewing 2 replies - 1 through 2 (of 2 total)