- This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Tagged: Genesis Simple Hooks
I hope all is well with everyone. I have what I hope is an easy-to-solve dilemma.
I downloaded the Genesis Simple Hooks plugin and I dropped html code to show a clickable banner graphic in the section titled:
This hook executes immediately after the genesis_post_content hook for each post/page within the loop. I've made a screenshot so you can see exactly what I'm talking about:
Anyhow, I don't want that banner to show up on certain pages and/or posts...
For example, I don't want it showing up at the bottom of this page at all:
Is there a way to put code on the pages I want this to be 'invisible' or not show up? I do want it on MOST pages/posts, just not all pages...http:// http://www.tshirtriches.com/sell-t-shirts-worldwide/
Use the conditional tags. See the codex. You'll check is_page & is_post function.
© 2024 WPEngine, Inc.