• Resolved jaspol@hotmail.com

    (@jaspolhotmailcom)


    On a post of mine, I generate a unique list of names. I can call the easy-modal for each link and it works great. Each name has an id (that I don’t show). How can I pass that variable into the easy modal function?

    My exact order of events is:
    1) Post opens and executes a PHP file

    2) The PHP file generates a list of FName and PersonId.

    3) User clicks on the Name
    echo ‘

    • ‘ . $FName . “
    • “;

      4) In the Easy Modal code, I have the following:
      [personid_shortcode PersonID=$id]

      5) My code in the personid_shortcode works but I don’t know how I can get the PersonId in the PHP file into the Easy Modal window and then into the shortcode function. Help would be really appreciated.

      Thanks

      http://wordpress.org/extend/plugins/easy-modal/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jaspol@hotmail.com

    (@jaspolhotmailcom)

    Sorry, my copy/paste didn’t work well. The code in #3 is (I have the proper use of single and double quotes):

    Plugin Author Daniel Iser

    (@danieliser)

    This is something that has been requested time and time again and i am working out the bugs on a possible solution but it isnt ready for live release just yet. Reason being that you need it to do one thing and pass your info and the next needs their own set of info passed. This dynamicness is what i am trying to incorporate and it has proved tougher than originally thought.

    Plugin Author Daniel Iser

    (@danieliser)

    This issue will be addressed by the next major update v1.2. This should be released very shortly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pass Parameter from PHP into Easy Modal and Shortcode’ is closed to new replies.