• Hi,

    I’m trying to get your plugin working for executing some PHP.

    I’ve created a simple snippet (<? echo “test” ?>) and added the snippet to my frontpage by adding ‘[wbcr_php_snippet id=”45″]’ to the HTML version of the page.

    But when I look at my website it says ‘[wbcr_php_snippet id=”45″]’ instead of ‘test’.

    I’ve disabled all other plugins, I’m running the newest version of WordPress and of your plugin.

    What’s going wrong?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • I think it should be :

    echo “test”;

    yes, get rid <? and ?>

    you may also not have activated your snippet. you may also have inserted your command in the visual editor view rather than the text editor view

    • This reply was modified 1 year, 6 months ago by randle81.

    My bad. The snippet is already without the opening and closing PHP tags. It’s just: “echo “test”;”

    Plugin Author webcraftic


    Hi, @schwa97

    Show me your html code, in which you put the shortcode, I’ll tell you how you can fix it.

    Best regards, Alex

    <h3>Klik gelijk op één van deze populaire webcam girls</h3>
    [wbcr_php_snippet id="45"]
    <h3>Wat is Camsoda?</h3>
    Camsoda is een gratis online webcam community. Je vindt hier geweldige amateurmodellen die live optreden in interactieve shows. Camsoda is 100% gratis en je hebt direct toegang.
    <h3>Is Camsoda gratis?</h3>
    Ja, Camsoda is 100% gratis. Je kunt alle webcam modellen zonder kosten bekijken en om gebruik te maken van de site heb je geen creditcard nodig. Natuurlijk kan je modellen wel fooien geven als je ze goed vindt.
    <h3>Hoe maak ik een account aan?</h3>
    Klik <span style="color: #e529e2;"><strong><a style="color: #e529e2;" href="http://www.camsoda.be/camsoda">hier</a></strong> </span>om een gratis account aan te maken. Je moet je gegevens invullen en de stappen volgen. Hiermee kun je met andere leden chatten en je kunt je eigen Cam show houden.
    Plugin Author webcraftic


    Hi, @schwa97

    Do you call the code in the WordPress editor or elsewhere?

    Best regards, Alex

    Hi Alex,

    Thanks for your help!

    I’ve added the code to a page through the WP editor, in Text mode. I’ve hit publish and when I visit my website (http://camsoda.be/) you see [wbcr_php_snippet id=”45″] instead of the actual PHP snippet.

    It’s the only active plugin at the moment and I’m running the lastest version of WP.

    Best regards,


    Plugin Author webcraftic


    Hi, Rutger

    You use the page builder, can you use other shortcodes in the editor? It seems to me that the page builder that you use does not support shortcodes.

    Please check if you can use short codes from other plugins so that I can understand why this does not work.

    For example:
    [contact-form-7 id=”1234″ title=”Contact form 1″]

    Best regards, Alex

    I have the same issue as Rutger and replied to a newer post. On two sites on the same server one works the other not.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP is not executed’ is closed to new replies.