Support » Plugin: Genesis Visual Hook Guide » Genesis 2.0 hook guide

  • Resolved Dee Teal

    (@thewebprincess)


    Hey Chris, is there any chance you’re updating this with the new hooks for 2.0 yet? i’m a huge fan of the plugin and messing about in 2.0beta now… and I realised i’m missing out on new hooks because they’re (understandably) not in the plugin!! If you’re working on it and want help with testing! I’m available 😀

    http://wordpress.org/extend/plugins/genesis-visual-hook-guide/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Christopher Cochran

    (@cochran)

    Hey Dee,

    I have gotten the new loop hooks into the plugin:

    genesis_before_entry,
    genesis_entry_header,
    genesis_before_entry_content,
    genesis_entry_content,
    genesis_after_entry_content,
    genesis_entry_footer,
    genesis_after_entry,
    genesis_before_post.

    One thing to note with these hooks are they are for the new HTML5 markup enabled through placing add_theme_support( ‘genesis-html5′ ); in your child theme’s functions.php.

    I am missing however the new markup filters simply cause I am sure of the best way to implement this into the plugin just yet. These are like:

    genesis_attr_body,
    genesis_attr_site-header,
    genesis_attr_site-title,
    genesis_attr_site-description, & ect.,

    which filters the elements new schema attributes like role, itemprop, itemscope, and itemtype. Which is difficult to show since this is part of the markup, and doesn’t really effect display.

    Let me know if you are having issues with the new loop hooks not displaying in the plugin though! I am also working on a post for the new markup, filters and how to use them and what they mean and will ping you for sure when that is live!

    Thread Starter Dee Teal

    (@thewebprincess)

    Aaah, that’s what I’m missing… going to jump in and play with it further… Thanks for the reply! And for the ping (in advance) looking forward to it 😀

    Thread Starter Dee Teal

    (@thewebprincess)

    #facepalm… can you believe it, I’m using the new hooks, courtesy of your guide and I hadn’t even noticed the difference… so… thanks!

    Plugin Author Christopher Cochran

    (@cochran)

    Ah, awesome! Ha, that’s pretty funny. Glad the guide makes it so easy, that you have been using the new hooks without realizing. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Genesis 2.0 hook guide’ is closed to new replies.