Skip Navigation

[Resolved] Sitemap – two levels. Parent level connecting to Sub-category Page with icons

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to have a nested view to list out their taxonomies and their child terms below each parent term

Solution:

You can use nested Views.
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/

For example, if you have 3 layers of terms:
GrandParent
- Parent
-- Child

Each has several posts added to it, which you can display in a separate list, that you can reach starting on a Page where only "GrandParent" posts are shown and links to "Parent" and "Child".

To do that:
- create a View that queries your Taxonomy and set a filter as in:
"Select taxonomy terms whose parent is None."
- Add some post information to the loop, or any other data you want to display
- Add the View to any page and see in the front end only data about grand parent terms
- Now add a View which again queries the Taxonomy, this time has a Query filter as:
"Parent is the taxonomy selected by the parent Taxonomy View"
- Again complete the Loop with the information you want to display
- Now insert this View to the loop of the View you created first (and inserted to the page)
- Reload that page and see, that now you have a list of Grandparent Terms and a list of Parent Terms.
- Repeat these steps for the lowest "Child" terms and insert the View to the second created View.

This can be repeated for basically as many times you want.

It allows you to query the data depending on the currently looped content, and link to whatever related page/post/taxonomy term.

You would need to add there HTML and CSS yourself to group and style it like you show, but with the Toolset Views Loop Wizard you should already be able to cut a good part of that as well.

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Author
Posts
#948677

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

I created it in the background. However the principle is the same as with the parent view and from the video you can see that the only different between this view and the parent view is the filter that was added.

Thanks,
Shane

#948709
Level 1 Category.png
Level 3 Category - nothing showing.png
Level 2 Category Display.png

Where my issue is: Identifying how to navigate the different levels of the taxonomy. I keep creating new views without success. I have created about a dozen or so trying to get this to respond correctly. I am using three category levels Parent, Sub and Sub-sub or Grandparent-Level1, Parent-Level2, Child-Level3. At the "child" - level 3 are level 4 businesses. Because I can't figure out this heirarchy, I am not able to see how to make the businesses (level 4) viewable.

See the links:
GrandParent-Level1: hidden link
1) Want to add Count next to Category Title
Parent: hidden link
1) Notice that there is a space above Airports. Want to remove space.
2) Want to List Both Parent-Level 2 and Child-Level 3 with Counts for both Level 2 and Level 3
3) Level 2 - Parent may have children, so if clicked, All businesses need to be listed.
3) Level 3 - Child lists all children down the center of a page.

I cannot figure out to display the Levels. Images are below for Level 1, 2 & 3. Getting the 4th Level (businesses) display has taken more than a week.

#949299

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

Would you mind providing me with admin access so that I can assist better with this one ?

Thanks,
Shane

#950341

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

That is actually fine with me.

Could you let me know which timezone you are in ? Maybe we can schedule a call session to work and explain things for you .

Please let me know.

Thanks,
Shane

#950415

Thanks Shane!

I am in CST....I will and can begin at 6 am CST if that works best for you. May we agree on a time for Thursday - tomorrow? I will send you a meeting invite for that time about 15 minutes before meeting.

#950434

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

I would need to coordinate this with my team leader before making any final decisions on time, so i'll let you know as soon as I get a response.

Thanks,
Shane

#950435

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

6am CST is fine, Can I send the invite to the email you used in the forum ?

Please let me know

#951083

Yes. I will set my alarm to definitely be up by 6 am.

#951302

My apologies but I don't know how this is supposed to work. Here is the meeting request link: hidden link

If you must be the originator, then send me your meeting request.

#951410

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

It seems we had a little misunderstanding. Our calls are done via Google Hangouts and we originate the request.

Will tomorrow Friday the 20th at 6 am be ok for you ? If yes i'll send the invite to the mail you have in this forum.

Thanks,
Shane

#951423

Oh Shane, I have been online waiting since 6 am....

Trying to fix my problem, I accidentally broke the archives connection to Referral List. I am in deep trouble.

Can we do this today? Right now. I am stuck....fully and amazingly overwhelmed while waiting to hear from you.

#951541

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

We wouldn't be able to have the call today again due to some unforeseen circumstances, however I've set it up for tomorrow at 6

Thanks,
Shane

#952411

Shane,

Words cannot express my gratitude for showing me all you did today! Your skill and support is AMAZING and very much appreciated. I do have an URGENT fix...below.

Here is the issue is between View and Content Template :
1. The default display page is still showing between when you click from Level 3 to display Business page. The old default page flashes and it is ugly! I don't know if this occurs in View or Content Template.
2. IF I wanted to perform a short code in the the above wordpress URL, how would I know where to add this code? I want this type of shortcode encryption for Level 1, Level 2, Level 3 and Level 4. This is security wisdom to hide the underlying paths.

Business Page Content Template
1. I am trying to add the referral website link to the button. I cannot figure out how to add the code into the button. When I just at the text it isn't clickable/linked. I have tried to add just this field in a variety of ways without success. Not sure what to do.

URGENT fix:
Referral List (Free) Sitemap (Level 3) - just stopped working correctly. Somehow I accidentally broke it. The code is here but there is no link to get to Businesses.

hidden link;" title="[wpv-taxonomy-title output='raw']">
<div class="listing-header-image">
[types termmeta='ad-category-image' title='%%TITLE%%' alt='%%ALT%%' align='center' size='full'][/types]
</div>
<h3 class="listing-header">[wpv-taxonomy-title] ([wpv-taxonomy-post-count])</h3>

Thank you so very much! Wishing you a GREAT weekend!
Dianne

#953668

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dianne,

I went in when you sent that last message and resolved the issue with the Level 3 so it should be working now.

Too add a shortcode to a url it has to be in an anchor tag .

Example.

<a href="<em><u>hidden link</u></em>" title="[wpv-taxonomy-title output='raw']">My Text </a>

To add a link to a text functions the exact same as the above.

Also I'm not sure what you mean by the display page is still showing.

Please let me know.

Thanks,
Shane

#953731

Thank you so much Shane.

I have a Parent Level "Charities" that I created a separate section for Charities using the same centralized Ad Categories. Each of the Charities is listed under the Charities Section. Now I need them to be populated and show up under Free Referral List Charities category as well.

Not sure if I am explaining this well. Currently Charities has its own menu tab. Charities are also included in the Free Referral List categories since they really are a free listing. Charities has it's own page layout which is slightly different than the Free Referral List.

Did I make a mistake creating a separate Charities section?
Should I recreate Charities under Free Referral List?
Or is there a way to display Charities within the Free Referral List even though they have their own section?

My apologies for this complexity. Hopefully this has is a simple that doesn't require rework.