Filter multiple ALM Categories
-
I’m on a localhost so I can’t show the page but:
My company bought ALMPro and the filter plugin.
I have multiple ALM Shortcodes firing with this code:
<?php echo do_shortcode(‘[ajax_load_more id=”story-hub” target=”category_listing” filters=”true” post_type=”stories” posts_per_page=”2″ taxonomy=”‘ . $hubfocustype . ‘” taxonomy_terms=”‘ . $hubfocus . ‘” taxonomy_operator=”IN” repeater=”template_3″ destroy_after=”1″ placeholder=”true” meta_key=”featured_story” meta_value=”0″ meta_compare=”IN”]’); ?>
And the other:
<?php echo do_shortcode(‘[ajax_load_more id=”story-hub” target=”category_listing” filters=”true” post_type=”stories” posts_per_page=”6″ taxonomy=”‘ . $hubfocustype . ‘” taxonomy_terms=”‘ . $hubfocus . ‘” taxonomy_operator=”IN” repeater=”template_4″ scroll=”false” offset=”2″ button_label=”More Stories” button_loading_label=”Loading”]’); ?>
And my filter is:
[ajax_load_more_filters id=”category_listing” target=”story-hub”]
Problem:
The filter works perfectly fine if I only have one ALM as the ID. If it has two, it returns the results twice inside the first ALM. The second one is empty. Unless I refresh the page then it works how I wanted it to.
Is there a way to filter two ALM with the same IDs with one filter?
- The topic ‘Filter multiple ALM Categories’ is closed to new replies.