Skip Navigation

[Resolved] How to Customize Taxonomy Results

This support ticket is created 3 years, 7 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.

Our next available supporter will start replying to tickets in about 6.36 hours from now. Thank you for your understanding.

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

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 16 replies, has 2 voices.

Last updated by ramez-refaatG 3 years, 7 months ago.

Assisted by: Waqar.

Author
Posts
#2015121

Tell us what you are trying to do?
The View (Subjects) in this page
hidden link
has children that should appear in another page has 2 desired changed please:
1. Sometimes some appear
/en/subject/taxonomy
that shows results but the user should be able to get back to the Arabic section of the site.
Others appear /?subject=taxonomy
N.B. I use WPML so the site is Ar/En

2. The Panel that appears needs some modifications how can I reach it?
I found Panel 1 that seems to be edited years ago but don't know exactly how reach it again.

Is there any documentation that you are following?
N/A

Is there a similar example that we can see?
N/A

What is the link to your site?
lifechangingtruth.org

#2015629

Hi,

Thank you for contacting us and I'd be happy to assist.

1. I've checked the page with the view and it seems to show the result links correctly.

If I visit in Arabic ( /مقالات-عظات/ ), the results links are in Arabic and if I visit it in English ( /en/articles-sermons/ ), the results links are in English too.

Can you please share some example of the links which are not showing in the correct language?

2. From the code it seems that the results panel is created inside the main view with ID "12503". Inside that view, another view with ID "12505" is nested.

You can access the available views through WP Admin -> Toolset -> Views.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2015637

Thanks...
The view in the mentioned page is working fine....but the ones inside it (subjects) doing the issue of the /en/subject....
kindly open any of the collapsible menus >> then click on any title the issue will appear in the page that will be loading.
Thanks

#2015679

Kindly notice views in the page are working fine, but what I’m asking for can be discovered as following:
When you click on any collapsible menu it’ll show subjects, when you click on one of them it’ll direct you to the list under this taxonomy Subjects this page is directed in /en/subjects & also we want to edit its view to be table or list...etc.
Thanks.

#2017917

We are waiting for too long.

#2017941

Thank you for waiting and Saturday and Sunday are my off-days.

To investigate these points, I'll need access to the website's admin area.

Can you please share temporary admin login details, in reply to this message?

Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.

#2018107

Another issue in this same case....
I the page that shows the subjects hierarchy, we want to show the 2nd generation (if present) of the 1st geberation inside the same subject with the same collapsible menu way:
Subject A
- 1st Generation
- - 2nd Geberation
Please help doing that.

New threads created by Waqar and linked to this one are listed below:

https://toolset.com/forums/topic/split-how-to-show-subjects-hierarchy/

#2019117

Waiting

#2019269

Thank you for waiting, while did some troubleshooting.

1. The taxonomy terms links for Subjects are not showing correctly in the view ( on the page /مقالات-عظات/ ), because the "Subjects" taxonomy is set to "Not translatable" in WPML -> Settings.

Please translate the taxonomy terms as explained in this guide:
https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/

After that, please resave the website's permalink settings ( ref: https://wordpress.org/support/article/settings-permalinks-screen/ ) and clear all involved caches and the term links will start showing correctly.

2. To edit this page's collapsible panels, you'll find that the views are nested like this:

a). View: Parent - Public - Ar - Subjects 2
{yourwebsite.com}/wp-admin/admin.php?page=views-editor&view_id=98833
This is the parent most view on the page.

You'll find the HTML code for the collapsible panels in the Loop Editor section of this view.

b). View: Child - Public - Ar - Subjects 2
{yourwebsite.com}/wp-admin/admin.php?page=views-editor&view_id=98835
This is the nested view in the parent view "Parent - Public - Ar - Subjects 2".

If you're planning to add some changes to the structure of these panels, please share more specific details and I'll be able to guide you with the next steps, accordingly.

Note: I've created a new ticket for your other question about showing the subject hierarchy terms and will follow up on that separately.
( ref: https://toolset.com/forums/topic/split-how-to-show-subjects-hierarchy/ )

#2019279

Okay.
What if I want to avoid making the Taxonomy translatable, when I didn that before it caused Doubling of Taxonomy & they are many & by this way it'll be doubled
I'm thinking workaround, is to make the site be Arabic originally (I think I configured it this way years ago) so the user will be directed mainly to the Arabic. (not /en/ ).
And the opposite takes please if in the English section a user clicked on posts he will be directed to the Arabic section....
Is there a way to do that?

#2019325

Concerning the Panel’s customization, we want the posts to appear this way as in this page (under any taxonomy please click to see the table: hidden link

Table form with columns showing the Speaker Category...etc.
How to control the view of the page & how to do that please?

#2019351

I’ve made redirection of ^/en/subject/ to be /subject/ & it worked fine as we wanted.

The remaining I wrote it in a post here but seems there’s an issue that causes my replies disappear, it happened before too.
We want the structure to appear as in the subtitles in this page:
hidden link

In a table form. Kindly click to see any subtitle what I mean.
Also how to edit the word Panel and any future editings.
Million thanks.

#2020737

Thank you for sharing these details.

Following the structure from the page you shared in the last message, I've replaced the code in the "Loop Editor" section of the view "Child - Public - Ar - Subjects 2" from:


[wpv-layout-start]
  [wpv-items-found]
  <!-- wpv-loop-start -->
	<ol class="wpv-loop js-wpv-loop">
		<wpv-loop>
        	<li>[wpv-post-body view_template="loop-item-in-child-public-ar-subjects-2"]</li>
		</wpv-loop>
	</ol>
	<!-- wpv-loop-end -->
  [/wpv-items-found]
  [wpv-no-items-found]
    <strong>[wpml-string context="wpv-views"]لا يوجد محتوى[/wpml-string]</strong>
  [/wpv-no-items-found]
[wpv-layout-end]

To:


[wpv-layout-start]
  [wpv-items-found]
  <!-- wpv-loop-start -->
  <table width="100%">
    <thead>
      <tr>
        <th>[wpv-heading name="post-link"]العنوان[/wpv-heading]</th>
        <th>[wpv-heading name="post-taxonomy"]التصنيف[/wpv-heading]</th>
        <th>[wpv-heading name="post-taxonomy"]المؤلفون[/wpv-heading]</th>
      </tr>
    </thead>
    <tbody class="wpv-loop js-wpv-loop">
    <wpv-loop>
      <tr>
      [wpv-post-body view_template="loop-item-in-child-public-ar-subjects-2"]
      </tr>
    </wpv-loop>
    </tbody>
  </table>
  <!-- wpv-loop-end -->
  [/wpv-items-found]
  [wpv-no-items-found]
    <strong>[wpml-string context="wpv-views"][/wpml-string]</strong>
  [/wpv-no-items-found]
[wpv-layout-end]

Also, I've replaced the code in the "Loop item in Child - Public - Ar - Subjects 2" section of the same view "Child - Public - Ar - Subjects 2" from:


[wpv-taxonomy-link]

To:


<td>[wpv-taxonomy-link]</td>
<td>[wpv-post-taxonomy type="category"]</td>
<td>[wpv-post-taxonomy type="speaker"]</td>

As a result, you can see now that the output is now in the same table format.

Before screenshot:
hidden link

After screenshot:
hidden link

Feel free to adjust the table columns, labels, and fields, as needed.

#2020787
1Untitled.png
0Untitled.png

I'm sorry this is not what I meant....
I meant the page that shows the subject needs to be edited not the mentioned page....the mentione page مقالات-عظات needs to show the 2nd generation in case there's (in another ticket)
But in this ticket I want to customize the results after I click on the 1st generation taxonomy e.g.
الخلاص
Image: 0Untitled.png

should open in link image: 1Untitled.png
hidden link
The last link view needs to be in table view not the مقالات-عظات
Thanks a lot

#2021953

Kindly reply my issue quicker than that...I know you're busy though you give me fracture of time each day (one reply then next day the other reply) I want to finish the issue please.