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

  1. scarduner
    Posted 3 years 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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Allow PHP in Posts and Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.