WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Simple Hooks
Nothing shows up when I use shortcodes and php (1 post)

  1. tlkativ
    Member
    Posted 1 year ago #

    I am trying to display a shortcode for the List Related Attachments plug-in in the post-meta area using Simple Hooks but whenever I check both "Execute Shortcodes on this hook?" and "Execute PHP on this hook?" the shortcode disappears. The shortcode works without the PHP but then the attachment doesn't display on the category archive. Anyone else have this problem? I am using Simple Hooks 1.8.

    Here is my code:
    \\
    <?php if (is_archive('rides')) { ?>
    [list-related-attach]
    <?php } ?>
    \\

    http://wordpress.org/extend/plugins/genesis-simple-hooks/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic