problem with php and shortcodes
-
HI ,
I am sure my problem is something really simple but I am still new to php and what code I use is “standing on the shoulders of giants”. I am slowly learning my way through it all.
But i am having a problem with using shortcodes.
you can view my code here: https://pastie.org/509451
Basically I want to integrate a theme options page for a client that will let him add aweber optin forms on any page /post.
I set up the options page of the theme and its working. Everything works great except the shortcode part. It does not seem to parse the PHP and returns the php itself rather than the values the php should create.
When I hardcode the form into a page it works fine pulling from the variables entered into the options page, but the shortcode does not.
The shortcode DOES print the form, but the PHP remains unparsed.
am hoping someone can see this and point me in the right direction I am sure its something I am doing that only a novice would screw up.
Thanks!
- The topic ‘problem with php and shortcodes’ is closed to new replies.