WordPress.org

Support

Support » Plugins and Hacks » Shortcoder » Supports PHP?

Supports PHP?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Aakash,
    Sorry, see the next Post

    Sorry Aakash,
    here again the correct mailing

    Your plugin is really great and I use this one for different shortcodes. But now I really need your help.

    In one of my Shortcodes a parameter value is to be passed to URL link to a form. For this I must , however, use PHP code for urlencode. You an example.

    <a href=http://example.com/signupform/?seminar_name=<?php echo urlencode("%%seminar_name%%"); ?>">Sign up for the seminar</a>

    How would you solve this problem?

    I myself would it normally grab the PHP code into a shortcode, the plugin I use the “Insert PHP.” See the example:

    <a href=http://example.com/signupform/?seminar_name=[insert_php] echo urlencode("[/insert_php]%%seminar_name%%[insert_php]"); [/insert_php]">Sign up for the seminar</a>

    But unfortunately that does not work within your plugins.

    Therefore, once again the question to you: How would you solve this problem?

    I ‘d be really very grateful if you could help me here.

    All the best,
    DWCore

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Supports PHP?’ is closed to new replies.
Skip to toolbar