Education theme hooks not unhooking

Community Forums Forums Design Tips and Tricks Education theme hooks not unhooking

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  rfmeier 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #86667

    lagomdesign
    Participant
    Post count: 3

    I cannot get many elements to remove using the normal methods. For example, adding

    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );

    has yet to remove the post_meta. I’ve tried it on a Custom Post Type archive page. For kicks I put in the theme’s functions.php. But no effect anywhere.

    I am getting the same results (meaning no results) with some filters,

    add_filter('genesis_footer_creds_text', 'ld_right_footer_text');
    function ld_right_footer_text( $creds )
    {
    	$creds = __('Site design by', 'genesis') . ' <a href="http://lagomdesign.com" title="Lagom Design: Building POWERFUL Brands" target="_blank">Lagom Design</a>';
    	return $creds;
    }

    gets me nowhere. Anyone have any idea why Education would handle this any differently?

    WP 3.8
    Genesis 2.0.2
    Education 2.0.1

    http://lagomdesign.net/rodrockhomes/
    #86704

    rfmeier
    Participant
    Post count: 603

    Hello,

    The action ‘genesis_after_post_content’ is a pre-Genesis 2.0 hook.

    Try using:

    add_action( 'genesis_entry_footer', 'genesis_post_meta' );

    Hope this helps. Good luck.


    #86707

    lagomdesign
    Participant
    Post count: 3

    Thanks Ryan.

    I think the ‘genesis_entry_footer’ is only for HTML5-compatible themes, which Education isn’t currently. I went ahead and dropped that in, and it didn’t kill the post_meta.

    The XHMTL-HTMS5 change doesn’t explain why the ‘footer_creds_text’ filter ins’t working either.

    Weird.

    #86708

    rfmeier
    Participant
    Post count: 603

    That is right.

    I forgot genesis 2.0+ doesn’t necessarily mean html5. I may look into this tonight more.


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.