Filter table results by current page URL
-
Hi there,
I have just installed this plugin and am using it on a job listing site.
I have contact form 7 set to capture page title and page url
I’m currently using this shortcode and it works great: [cfdb-table form=”Contact form 1″ show=”Submitted,Interviews,Comments”]
also I’m using this shortcode to add a count [cfdb-value form=”Contact form 1″ function=”count” filter=”Interviews=Campus Visit”]
Is there a way to filter the output based on the current page being viewed by the user on the front end. i.e. only display results if the page url being viewed is the same as the one captured by contact form 7?
So in effect as a job listing is created, a table is generated that shows only results relating to THAT listing URL or Title is shown… Essentially saving me having to create a whole new shortcode or form everytime somebody posts a new job?
I hope this makes sense
many thanks in advance!!!
- The topic ‘Filter table results by current page URL’ is closed to new replies.