More than one shortcode per page
-
Hi,
I’m having a problem when trying to use more than one shortcode per page. The first shortcode is as follows:
<?php echo do_shortcode( '[ajax_load_more id="mentalwellness" container_type="div" paging="true" paging_show_at_most="7" paging_scroll="true:100" paging_controls="true" paging_previous_label="Prev" paging_next_label="Next" theme_repeater="content-guided-meditate.php" post_type="cpt-guided-meditate" posts_per_page="6" taxonomy="guided-meditation-categories" taxonomy_terms="mental-wellness" taxonomy_operator="IN" scroll="false"]' ); ?>
This appears in a three column grid as defined by the content-guided-meditate.php page.
If I add the shortcode to the page again further down the page and change the value of taxonomy_terms to a different term, I still get results but it ignores the layout and adds the posts full width one under the other.
Do you know why this is happenning?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘More than one shortcode per page’ is closed to new replies.