Embed OTW Portfolio Light into Page Template using PHP
-
I would like to use the shortcode
[otw_portfolio otw_filterable]
in HTML page layout to display filterable portfolio with other page content, but the default page template seems to get overridden (page content is not visible when using shortcode) .Please direct me on accomplishing this in PHP by adding code to page template, if not possible by simply adding shortcode on page with html content.
I tried adding a call function
<?php echo do_shortcode('[otw_portfolio otw_filterable]'); ?>
and<?php echo do_shortcode("[otw_portfolio otw_filterable]"); ?>
but nothing. Am I missing something?Thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Embed OTW Portfolio Light into Page Template using PHP’ is closed to new replies.