Agentpress Listings Plugin and Genesis Simple Hooks (1 post)

  1. Pipeliners
    Posted 4 years ago #


    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.


Topic Closed

This topic has been closed to new replies.

About this Topic