do_shortcode/do_action for v 3.1.4?
-
When I put the shortcode in the page content, it works fine. But when I put:
<? echo “shortcode dude\n”; do_action(‘[constantcontactapi formid=”1″ lists=”5″]’); ?>
I see “shortcode dude” displayed, but not the signup form. I tried using do_shortcode in place of do_action. The problem is, I have a lot of different contact lists in CC, so for the value of “lists” I want to use a PHP variable (which will be set from a URL parameter), so I can have one page template for all signups.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘do_shortcode/do_action for v 3.1.4?’ is closed to new replies.