Populating the Product Name with page title
-
Hi.
I tried using the following:
$reviewed = the_title();
echo do_shortcode(‘[submit-review product_name=”‘ .$reviewed. ‘”]’) ?>
But the Product Name field appears blank.
Any suggestions?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Populating the Product Name with page title’ is closed to new replies.