• Hi,
    I’m trying to use the short code but I don’t know how.
    I added my php code at “Add snippets” and the new snippet is identify by [wbcr_php_snippet id=”2436″].
    From what I found in the description this snippet is should be used in do_shortcode(‘[simple_shortcode]’);
    But if I use do_shortcode(‘[wbcr_php_snippet id=”2436″]’); in the html page (html edit mode. It dosen’t works.
    Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You just place
    [wbcr_php_snippet id=”2436″]
    into your webpage – that’s it.

    Thread Starter aalexe

    (@aalexe)

    Many thanks.
    I have another qustion.
    I made a stupid think. I have used a header location in one of the snippet “header(“Location:http://www.google.com”);” and I set this snippet to be on in all pages.
    Now I have a redirection which I can not change it ( only if I delete the plugin).
    I’ve tried to delete (from ftp) and install it again the plugin but the issue is still there.
    Please tell me where the snipped is saved so I can delete it

    Thank you

    Thread Starter aalexe

    (@aalexe)

    I found a way to fix it based on the documentation.
    Thank you

    This is my question as well. When you say “put into my webpage,” I’m trying to find out *how* and *where*.

    Do it do it in the plaintext box? In the code? Do I do it as the bracket-word-bracket (that is [ shortcodename ])

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to use short code’ is closed to new replies.