Supports PHP? (3 posts)

  1. andrewmurray
    Posted 1 year ago #

    Does this shortcode support html, js AND php?

    Or just html and js?


  2. DWsCoreWP
    Posted 1 year ago #

    Hi Aakash,
    Sorry, see the next Post

  3. DWsCoreWP
    Posted 1 year ago #

    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,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shortcoder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic