Shortcode Exec PHP
[resolved] Passing parameter with shortcode (2 posts)

  1. taggie
    Posted 4 years ago #

    Just installed the plugin and using it with php written by someone else - my php knowledge is very limited, I know enough just to tweak it.
    The code is working fine when I set a variable, e.g. $t = 125; at the top of the php block. (The variable is used to get data from a table - which it is doing fine)
    But I want to pass 125 (or other values) in as a parameter. I would appreciate advice on how to pass it in - and anything I need to add to the php block so $t uses it.

    Thanks very much.


  2. taggie
    Posted 4 years ago #

    Now Googled / learnt enough to have worked it out. Thanks for reading.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic