2 filters with shortcode
-
Hi,
I’m loading my filter in my archive.php file like that
<?php echo do_shortcode(‘[fe_widget]’); ?>
and It’s working.I created another filter in the dashboard and now I want to display a specific filter because I have more than 1.
I tried something like that:
<?php echo do_shortcode(‘[fe_widget id=”124″]’); ?>
This example is working.I wanted to mention that if I try to load it by title, it’s not working
<?php echo do_shortcode(‘[fe_widget title=”Filter Title”]’); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘2 filters with shortcode’ is closed to new replies.