Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Scott DeLuzio

    (@scottdeluzio)

    Hi Ash,
    Thanks for the feedback. The original hooks that were included were the hooks you can find on Genesis Visual Hook Guide. I’m sure there are some hooks that were missing from that guide though. I can add the genesis_after/before_post_title for you though.

    Also, note that the genesis_entry_[header/content/footer] hooks are included with the plugin. The hooks that will show up in the menu however are only the hooks that the active theme supports. Some child themes (or I suppose even plugins) may remove certain areas, which would cause them to drop from this plugin’s menu. In total there are 26 areas that you can access from this plugin (well, after I add the genesis_after/before_post_title):

    1. genesis_before
    2. genesis_before_header
    3. genesis_header
    4. genesis_before_site_title
    5. genesis_site_title
    6. genesis_after_site_title
    7. genesis_site_description
    8. genesis_header_right
    9. genesis_after_header
    10. genesis_before_content_sidebar_wrap
    11. genesis_before_content
    12. genesis_before_loop
    13. genesis_before_sidebar_widget_area
    14. genesis_before_entry
    15. genesis_entry_header
    16. genesis_entry_content
    17. genesis_entry_footer
    18. genesis_after_entry
    19. genesis_after_endwhile
    20. genesis_after_loop
    21. genesis_after_content
    22. genesis_after_content_sidebar_wrap
    23. genesis_before_footer
    24. genesis_footer
    25. genesis_after_footer
    26. genesis_after
    Thread Starter Ash

    (@ashmetry)

    Thanks for the quick response (almost never happens here). That would be awesome. I didn’t realize child themes do that but good to know.

    Plugin Author Scott DeLuzio

    (@scottdeluzio)

    No problem!
    If you install Genesis Visual Hook Guide on your site, you’ll be able to see where to expect certain hooks on your specific site.
    If there are any other hooks I’m missing, let me know so I can add them for you.

    Thread Starter Ash

    (@ashmetry)

    Ya. I know about that…I was trying to get the image to appear right below the article title so I was trying to find the right hook.

    Here is the screenshot of my site: https://cl.ly/233t0P3r0l3M and here is a screenshot of my dropdown https://cl.ly/3X1p301H0w0Z I don’t see genesis_post_title_text

    Thread Starter Ash

    (@ashmetry)

    Hi Scott – I don’t see the hooks you mentioned added. Did you get around to it?

    Also referring to https://www.ads-software.com/plugins/genesis-visual-hook-guide/screenshots/

    it makes sense to have genesis_before_post_content since many people (me included) would like to show the featured image before anything else in the post.

    Let me know what you think when/if you can add that.

    Thanks!

    Plugin Author Scott DeLuzio

    (@scottdeluzio)

    I was going off a list of newer hooks. I think the hooks you were referring to were around in some of the older Genesis themes and didn’t make it to the list I was working off of.
    Regardless, those should be included as well to try to capture as many possible scenarios as we can, so the current list of hooks includes:

    1. genesis_before
    2. genesis_before_header
    3. genesis_header
    4. genesis_before_site_title
    5. genesis_site_title
    6. genesis_after_site_title
    7. genesis_site_description
    8. genesis_header_right
    9. genesis_after_header
    10. genesis_before_content_sidebar_wrap
    11. genesis_before_content
    12. genesis_before_loop
    13. genesis_loop
    14. genesis_before_post
    15. genesis_before_post_title
    16. genesis_post_title
    17. genesis_after_post_title
    18. genesis_before_post_content
    19. genesis_post_content
    20. genesis_after_post_content
    21. genesis_after_post
    22. genesis_after_sidebar_widget_area
    23. genesis_after_sidebar_alt_widget_area
    24. genesis_before_sidebar_widget_area
    25. genesis_before_sidebar_alt_widget_area
    26. genesis_before_entry
    27. genesis_entry_header
    28. genesis_entry_content
    29. genesis_entry_footer
    30. genesis_after_entry
    31. genesis_after_endwhile
    32. genesis_after_loop
    33. genesis_after_content
    34. genesis_after_content_sidebar_wrap
    35. genesis_before_footer
    36. genesis_footer
    37. genesis_after_footer
    38. genesis_after

    Please note that the list of hooks you see in your site won’t include all of those if your theme doesn’t have them all. The dropdown checks to see if the hook exists and only displays it if it does.

    Thread Starter Ash

    (@ashmetry)

    Hi Scott,

    I’m using Genesis (obviously) and my child theme only adds a few cosmetic tweaks to the core theme.

    Are you saying that my child theme “blocks” the inheritance of core Genesis hooks?

    It seems like maybe I don’t have a full understanding on how child themes work.

    Plugin Author Scott DeLuzio

    (@scottdeluzio)

    Check out these two articles, which might help explain what I was talking about:
    https://www.carriedils.com/genesis-2-0-hooks/

    https://wpsites.net/wordpress-themes/new-genesis-2-0-loop-hooks-how-to-use-them/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Would be good to have "genesis_after_post_title" and (before)’ is closed to new replies.