• I am not using social icons in footer colophon, I would like to have on icon all-to-left in colophon and one all-to-right (right side of back to top).

    What is the best way to add them?

    I have tried this code but not sure it is the best way?

    add_action(‘tc_colophon_display’, ‘display_my_fb_icon’);
    function display_my_fb_icon(){
    echo ‘<div class= fb_icon><img title=”Facebook” src=”https://xxxxxxx.png&#8221; alt=”Follow me on Facebook”<div/>’;}

    Not sure if “tc_colophon_display” is the correct here?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Don’t know if it’s the best way, depends on what you want to achieve.
    Look into customizr/parts/class-footer-footer_main.php , you’ll see:

    add_action ( '__colophon'				, array( $this , 'tc_colophon_left_block' ), 10 );
            add_action ( '__colophon'				, array( $this , 'tc_colophon_center_block' ), 20 );
            add_action ( '__colophon'				, array( $this , 'tc_colophon_right_block' ), 30 );

    with respective filters, probably you’re interested in right and left block

    Thread Starter MRM-Racing

    (@mrm-racing)

    Thanks will look into that, it is just the different hooks I search for. So now I learned another “__colophon” is there a reference guide I have missed ??

    There is a guide but it doesn’t go down to this level of detail.

    What you’re missing is Firebug or the Chrome/Safari developer tools. You get to select an item and find out all the classes that apply to it. See article here, with a link to a 6-minute video.

    Thread Starter MRM-Racing

    (@mrm-racing)

    Thank’s, can’t live without firebug. Better than the tools included in firefox.

    I have most settings ready, and are impressed of how sophisticated but clean the website has become.

    The things that are hardest to grip is making hooks and adding filters.

    It’s simple once you got the mechanism, the you need just a little bit of practice. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding icon (pictures) in colophon’ is closed to new replies.