• Resolved fitletes

    (@fitletes)


    I was wondering if there would be a conflict for the plugin if I am attempting to use an eyes only short code within another plugins content restriction shortcode.
    I am using AffiliateWP’s Affiliate eyes only plugin.
    looks something like this

    [non_affiliate_content]

    content

    [/non_affiliate_content]

    [affiliate_content]

    fb banner

    WELCOME TO CONTENT
    [eyesonly level=”nation” logged=”in”] Content Here [/eyesonly]

    [/affiliate_content]

    WHEN I SAVE OR PREVIEW THE PAGE THE EYES ONLY SHORT CODE I AM GUESSING ISNT BEING RECOGNIZED AS SHORT CODE AND SHOWS UP ON THE PAGE AS IS SURROUNDING THE CONTENT I WOULD PREFER TO HIDE.

    https://wordpress.org/plugins/eyes-only-user-access-shortcode/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author thomstark

    (@thomstark)

    Probably that plugin is not rendering their content as do_shortcode($content), which means, if that’s the case, their plugin doesn’t allow you to put other shortcodes inside their shortcodes.

    Try reversing it, and putting [affiliate_content] inside [eyesonly][/eyesonly]. Or contact that plugin’s developer and ask if their shortcode does do_shortcode($content), and if not, ask them to make the change so that it will. It’s a very simple fix.

    Thread Starter fitletes

    (@fitletes)

    SORRY FOR THE DELAY IN RESPONSE. IT WORKS GREAT NOW. YOUR SUGGESTION FOR SWITCHING IT WAS THE ANSWER. AND I BELIEVE THEY MADE THE NECESSARY CHANGES AS WELL.

    @fitletes – please don’t post in all caps – it’s considered yelling –

    http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff

    You seem to be doing it in every post you make.

    Plugin Author thomstark

    (@thomstark)

    Some people live lives of urgency. Others of reckless abandon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode is visible’ is closed to new replies.