Support » Plugin: Multiple Page Generator Plugin - MPG » Filter questions

  • Resolved Ben


    1. which dataset is being used?

    Am I missing something or how can I configure which dataset to use in the [mpg] shortcode.
    Say I have a dataset of cities and a dataset of my products.
    When using [mpg] how can I only show e.g. products?

    2. filtering with smaller/bigger than
    I tested and this did not work:

    [mpg where="mpg_population>20000"]{{mpg_city}}[/mpg]

    Is there another way of (in this case) showing only items with a minimum number (population)?

    3. transforming outout strings
    Is there a way to do this already and if not, this would be a nice feature:
    Sluggifying a string would be nice to use it in a link like
    <a href="product-{{mpg_productname|slugify}}">{{mpg_productname}}</a>

    • This topic was modified 1 year, 9 months ago by Ben.
Viewing 1 replies (of 1 total)
  • Plugin Author Porthas Inc


    Dear Ben,

    where=”mpg_population>20000″, mpg_productname|slugify – this isn’t supported.
    Contact us via and we can work with you to add support to this.

Viewing 1 replies (of 1 total)
  • The topic ‘Filter questions’ is closed to new replies.