Agentpress Listings Plugin and Genesis Simple Hooks
Im using two plugins, genesis simple hooks and listings plugin for genesis and im facing a problem.
Whenever I try to use the [property_details] shortcode from listings plugin inside the genesis_post_content hook field from simple hooks plugin with a conditional test for the post type it gives me an error.
I try to use this code
<? php if (‘listing’== get_post_type())
The shortcode works ok, when being written alone, just the [property_details] inside the hook field, and the conditional test also works if i try other action for the condition like echo “blablabla”.
Could anyone give a help to solve this problem?
Thanks in advance.
- The topic ‘Agentpress Listings Plugin and Genesis Simple Hooks’ is closed to new replies.