WordPress.org

Ready to get started?Download WordPress

Forums

Toolbox
removing the hook toolbox_content_nav('nav-above') (1 post)

  1. mclaeys
    Member
    Posted 2 years ago #

    I have two questions.

    I'm looking for a way to remove the hook toolbox_content_nav('nav-above') and am not sure how to address the passed variable.

    Also I have some html I'm inserting after the_content via add_filer.

    function burn_single_addsocial($content) {
    /**
     * On single pages insert social media links
     *
     */
    if(is_single()) {
    $content .= '<div class="sociallist">
    <span class="twitter-inlist">...</span>
    <span class="google-inlist">...</span>
    <span class="fb-inlist">...</span>
    </div>';
    }
    return $content;
    }
    add_filter('the_content', 'burn_single_addsocial');

    I'd like to move it after the hook toolbox_content_nav('nav-below')
    but am not sure how to address the passed variable. Any thoughts.

    http://wordpress.org/extend/themes/toolbox/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags