nekhiaC
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Convert Pro plugin not working – throwing error related to Views
Commencé par : nekhiaC in: Toolset Professional Support |
2 | 2 | Il y a 5 mois et 4 semaines | ||
Layouts 2.6 throwing errors
Commencé par : nekhiaC in: Toolset Professional Support |
2 | 5 | Il y a 4 années et 8 mois | ||
A way to determine if a page that is hierarchical has pages under it
Commencé par : nekhiaC
in: Toolset Professional Support
Problem: I would like to be able to use a conditional that tests whether a hierarchical page has child pages underneath it. Solution: One way to approach this is to use a View of your CPT filtered by Post Parent (not Post Relationship), where the parent post is whatever parent post you want to test. Depending on how you have things set up, the parent post could be the current post, or the current post in the loop, or you could provide a post ID in a shortcode attribute, etc. Then in the Loop Output area of this View, you can use the items found and no items found sections to include different content based on the number of results. If results are found, you know the current post has children. If not, you know the current post has no children. Relevant Documentation: |
2 | 3 | Il y a 6 années et 2 mois | ||
Using a 3rd party shortcode inside view "wpv-post-body"
Commencé par : nekhiaC in: Toolset Professional Support |
2 | 12 | Il y a 6 années et 9 mois | ||
Display information about current post in a view with shortcode
Commencé par : nekhiaC in: Toolset Professional Support |
2 | 3 | Il y a 7 années et 1 mois |