WordPress.org

Ready to get started?Download WordPress

Forums

Allow PHP in Posts and Pages
could someone help me with the syntax? (1 post)

  1. scarduner
    Member
    Posted 1 year ago #

    I'm not PHP savvy enough

    This code displays content only to users logged into a membership group. I want the top of the WP page to show to all then members see what's secured in the PHP

    <?php if (sl_ismemberof("GOLD")){ ?>
    content to be displayed only for logged in members of GOLD
    <?php } ?>

    Not sure how to use the shortcodes

    Thanks for your help

    http://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.