Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you ever figure this out? I want to pass in filter values via url query string, but can’t figure out how.

    Plugin Support Syed Numan

    (@annuman)

    Hello @fonderco,

    Yes, it is possible to pass the filter value to the URL parameter using the ninja table advanced shortcode. There is a shortcode ‘get_filter’, you need to take any string you want with the table shortcode like this:

    [ninja_tables id=”table ID” get_filter=”myfilter”]

    Later, just copy the table page URL and take a column in the table or you can use any existing column which will be used for passing value to the URL parameter. In the column Transform Value section write an HTML link tag and use the page URL in href section like this:

    <a href="domain.com/table_page/?myfilter=ninja">column Reference shrotcode</a>

    So, when the users will click on the link the correspondent data will be passed to the URL parameter.

    Please have a look at the screenshot: https://prnt.sc/26cevv8

    Here is the ninja table advanced shortcode documentation.

    https://wpmanageninja.com/docs/ninja-tables/miscellaneous/advance-shortcode-usage/

    Thank You

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL Parameters’ is closed to new replies.