Support » Plugin: WP-Members Membership Plugin » How to hide only small part of the content

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Hi Chad,

    Thank you for your prompt response.

    Unfortunately, when I implement shortcodes it seems there is no action triggered.

    Please see example at the very bottom here:
    http://binaryoptionstrading-review.com/binary-options-australia/

    Is there some thing else I should add or some function I should activate?

    Thanks in advance,

    Ante

    Plugin Author Chad Butler

    (@cbutlerjr)

    Sorry, when I click through that link, it redirects to a static html page that basically just displays a banner ad, so I don’t know what I’m supposed to be seeing.

    But keep in mind, in WordPress shortcodes are only automatically parsed in the main content area. So if you are using shortcodes in a widget area, sidebar, footer, or some place like that, those need to be able to parse shortcodes. Some themes do that but if yours doesn’t, you’ll need to enable that. See this post for information on how to do that: http://rkt.bz/Da

    Hi Chad,

    It’s strange you see a banner ad. Sorry for that.

    I’m placing shortcodes within the post so it should work.

    Please see it here below contact form:
    http://binaryoptionstrading-review.com/contact-us/

    Thanks for your help,

    Ante

    Also, here is the screenshot
    http://postimg.org/image/fr72i7mkx/

    Plugin Author Chad Butler

    (@cbutlerjr)

    You have the correct shortcode, but it is not being parsed. For whatever reason that is, it would be outside of the plugin so I can really only give you suggestions on how to track that down.

    First, the plugin must be activated. This may seem obvious, but it does happen – check that the plugin is actually activated.

    Make sure that you have all the plugin files; specifically /wp-members/inc/shortcodes.php

    If you are adding this with some additional PHP, you’ve got to make sure that do_shortcode() is run.

    Also, if other shortcodes are being used, I would take a look to make sure that those return their content with do_shortcode(). Either look at their process in the code, or test with other plugins deactivated. If another plugin firing earlier returns $content and not do_shortcode( $content ), then shortcodes coming later will be unparsed. (It looks like you are using Contact Form 7 – I’m confident that’s not the issue as I also use that along WP-Members, but you should still test.)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to hide only small part of the content’ is closed to new replies.