WordPress.org

Ready to get started?Download WordPress

Forums

Agentpress Listings Plugin and Genesis Simple Hooks (1 post)

  1. Pipeliners
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic