Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi
    First you should create Child theme for Customizer Theme
    Read it carefuly. Child theme is important for protecting your tweeking.
    When you have child theme,
    Create file

    functions.php

    ….and follow the instructions on HOW TO Add a widget area after the header

    You should contact theme author. They will tell you where exactly to put it. Mechanics are same as for after header. Just different spot .
    Im not sure where you want to have it.
    Let me know your progress
    Cheers
    TR

    Thread Starter victorpasltemps

    (@victorpasltemps)

    Euh, i already did all the things you said…
    I just want to move it under mys sticky post on the home page…

    Hi,
    Try changing the code for Placing the widget area to this.

    add_action ('__after_article', 'add_my_widget_area', 10);
    function add_my_widget_area() {
    	global $wp_query;
            global $post;
            $current_post   = $wp_query -> current_post;
            $start_post     = $post -> expanded_sticky ? 1 : 0;
            if ( tc__f('__is_home') && function_exists('dynamic_sidebar') &&  $start_post == $current_post ) {
              dynamic_sidebar('Extra Header Widget Area');
           }
    }
    Thread Starter victorpasltemps

    (@victorpasltemps)

    Yes! It’s working thank you

    GREAT JOB MENAKA S.
    Thanks for cooperation here.

    @victor
    Let me know if you need any further help
    Cheers
    TR

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Widget area after sticky post’ is closed to new replies.