WordPress.org

Support

Support » Plugins and Hacks » Agentpress Listings Plugin and Genesis Simple Hooks

Agentpress Listings Plugin and Genesis Simple Hooks

  • Hello,

    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())

    [property_details]

    ?>

    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.

    Luis

  • The topic ‘Agentpress Listings Plugin and Genesis Simple Hooks’ is closed to new replies.
Skip to toolbar