• This is how I got the Dynamic Headers plug-in to work on the Headway theme the way I wanted it to work.

    I modified the core-layout.php (../wp-content/themes/headway-166/library/core/core-layout.php) file to add the Dynamic-Header code. Core-layout.php is the file that lays out the header area of the pages. I found the section with the blog name and tagline, and put it into a table.

    To make adding things to the middle section easier at a later time, I added 3 columns to the table. Column 1 has the blog name and tagline code. Column 2 has the “do_action(‘headway_after_tagline’);” code for the “after tagline” hook. and Column 3 has the codeline for the Dynamic Headers plug-in.

    This way, anything I add to the “after tagline” hook will be in the middle column.

    Here’s the section of modified code:

    echo '<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td align="left" valign="top">';
    			echo '<div id="top" class="'.$header_link_class.' header-link-top clearfix"><a href="'.get_option('home').'" title="'.get_bloginfo('name').'" rel="home'.$nofollow['home'].'" class="'.$header_link_class_inside.'">'.$header_link_content.'</a>';
    			do_action('headway_after_header_link');
    			echo '</div>'."\n";
    
    			echo (headway_get_skin_option('show-tagline')) ? '<h1 id="tagline">'.get_bloginfo('description').'</h1>'."\n" : "\n";
    			echo '</td><td>';
    			do_action('headway_after_tagline');
    			echo '</td><td align="right" valign="top">';
    			if(function_exists('show_media_header')){ show_media_header(); }
    			echo '</td></tr></table>';

    https://www.ads-software.com/extend/plugins/dynamic-headers/

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

    Have you tried this with the most recent version 2.06 of Headway ??

    Sorry, I am not a techie and dont understand what you are talking about above with the tables… would I HAVE to do that to my Headway core-layout.php file in order for DynamicHeaders to work?

    Thanks!

    This hack isn’t required for it to work, looks like it’s just how this user decided to implement it. You can do this without editing core files, just by hiding the normal header and inserting the DynamicHeader code using an Easy Hook in Headway.

    – Caitlin, Headway Support Gal

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use Dynamic Headers with Headway Theme’ is closed to new replies.