I duplicated the homepage Builder template hidden link to hidden link.
I want to use the same views hidden link for both pages but I want different result using Taxonomy filter. I don't want to make another view since we have plan to make another page like this and it's not ideal for us to make another views everytime we make pages like this.
For example:
- In homepage hidden link, at search box area hidden link In the result should not be include the "Spa/Massage" custom taxonomy.
- In hidden link, I want to display the result of "Spa/Massage" Taxonomy only.
Hello. Thank you for contacting the Toolset support.
Filtering your view by shortcode attribute where you can pass the view's argument as shortcode attribute wpvcategory="spa-massage" will allow you to either set the filter to include term or exclude a term.
So, if you want to filter you view with different terms where you want to display the posts attached to that terms, you can re-use the view by passing shortcode argument's different values:
If you agree - I can setup a demo example for you and for that I need temporary access details of your site.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I've adjusted the filter for the taxonomy to filter with shortcode attribute as you can see with the following screenshot:
- hidden link
=> hidden link
Thanks I see it working but I want the result to display on hidden link like homepage search result.
==>
I do not get what you mean, what exactly you want to display where?
And how to filter if you don't want to include the "massage/spa" taxonomy to my homepage results?
==>
If you do not want to include the results for the taxonomy term you passed as shortcode attribute, in that case, you will not be able to use the same view.
You should simple duplicate your view by clicking of the Duplicate link with the view you want to duplicate
=> hidden link
Edit your duplicated view and edit your taxonomy query filter to "Not one of those values" and save your taxonomy filter:
=> hidden link
I do not get what you mean, what exactly you want to display where?
=> I mean if you search and click the Discover button on homepage the results will go to results page which is hidden link.
"If you do not want to include the results for the taxonomy term you passed as shortcode attribute, in that case, you will not be able to use the same view."
=> I got it what you mean.
there isn't shortcode for that?
hidden link
The thing is that - you are displaying the search form and search results (both) with the above link. Do you want to display only the search form?
there isn't shortcode for that?
==>
No, there is no shortcode to change the filter settings.