[Gelöst] Alphabetical view filter term with specific character glossary
Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.
Problem:
Alphabetical view filter term with specific characgter glossary
Solution:
You need to use the view's filter hook "wpv_filter_taxonomy_query" with default WordPress hook "terms_clauses" in order to filter the view with specific character.
Hi Nigel,
I want to show in a view similar to this topic: https://toolset.com/forums/topic/creating-an-a-z-alphabetic-view/
My client creates tags (the WOrdPress buolt in tags) for the CPT's. Now is it possible to crate an alphabetical view with the letters from A-Z and if you click on one letter, the related tags will be shown? It should look like similar to this site: versteckter Link
Hello. Thank you for contacting the Toolset support.
Well - do you mean that you want to display your posts group by tags name? or you want to display tags that belongs to a specific characters like A or B or C?
When I say display posts group by tags:
Tag A
- post 1
- post 2
- post 3
Tag B
- post 1
- post 2
- post 3
Tag C
- post 1
- post 2
- post 3
Hi,
I want to display it the way, that there are the the alphabetical letters and if you click for instance on the A, it has to show me all tags that begin with an A and so, so I want to display it like the way you mentioned in your second question.
- the second view to display the tags belongs to term Id set as url param.
- Add first view just before the [wpv-items-found] shortcode.
- Add the Taxonomy term filter as:
Taxonomy term ID is set by the URL parameter "terms-filter"
- Add something to this view's loop editor, for example:
Hmm. That doesn't work. The first view will not be displayed (no items found) and I think, for the display of Aphabetical letters like this: versteckter Link
Maybe it's better, if you could take a look, on how I created the two views. Should I give you login credentials?
*** 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.
You are right, thanks for the hint. A week ago there was another thread I opened and provided credentials for your colleague Nigel. Nigel could login, but I guess he is living in anotehr country with a different IP so that the login worked for him the whole time. But there was a massive security attack that day from the IP I blocked when someone tried to login with ToolSet Username every 2 minutes the whole day. I than blocked the IP adress.
Does it work now?
For some reaon "WP Cerber" blocked you. I put your IP on the white list. Please try agai. If it still doesn't work, I will deactivate WP cerber plugin.
Ok. Could you please open a private message again? I migrated a WordPress clone of the original WP-installation to my own server, so we can try this way.