Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter PGBertie

    (@pgbertie)

    Awsome, thank you very much!

    I copy the exactly code that I used,

    ——————————
    add_filter( ‘tc_default_widgets’ , ‘add_featured_page_widget’ );
    function add_featured_page_widget( $defaults ) {
    $defaults[‘fp_widgets’] = array(
    ‘name’ => __( ‘Featured Pages Widget’ , ‘customizr’ ),
    ‘description’ => __( ‘Above the featured pages area on home’ , ‘customizr’ )
    );
    return $defaults;
    }

    add_action(‘__before_footer‘ , ‘display_my_fp_widget’);
    function display_my_fp_widget() {
    dynamic_sidebar(‘fp_widgets’);
    }

    ——————————

    Thread Starter PGBertie

    (@pgbertie)

    Hi, thanks for reply,

    but that is to insert content above the featured pages, and i would like to do it just above the footer.

    Is there any other code that may can use?

    Thanks for help!

    Thread Starter PGBertie

    (@pgbertie)

    Help, please, I copy the code that i used to insert some content aswell above the featured pages,

    **
    add_filter(‘tc_slider_display’, ‘content_after_slider’);
    function content_after_slider($html) {
    $after_slider = ‘ all my html code it’s here’;
    return $html.$after_slider;
    }
    **

    that code it’s working already, but is there any similar to insert text between home page posts and footer?

    Thanks

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