Showing Full Category List on Details Page

This topic contains 17 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #530242

    Jane
    Full Member
    Post count: 41

    Hi

    I have set up my details pages, however the categories in the res widget show the sub categories of that page only. Can you advise me how I can also add the full list of categories on that page aswell.

    Thanks
    Jane

    #530249

    Kor
    Moderator
    Post count: 16516

    Hi Jane,

    Thanks for your post. You’ll have to check the widget/shortcode that you’ve added and see if you have this option shown in the attached enabled. If you’re not sure, please share your Website WP admin access here in private reply.

    #530272

    Alex Rollin
    Moderator
    Post count: 27815

    Use the blue butto show advanced options.

    At the bottom are two options you should use:

    – Do not filter for current viewing post type

    – Tick to show all the categories. Leave unticked to show only child categories of current viewing category.

    #530757

    Jane
    Full Member
    Post count: 41

    Thanks I am using the following code, because I want the categories ordered alphabetically. Can you advise please what code I should add to it.

    [gd_categories sort_by=”az” max_count=”all”]

    Thanks Jane

    #530798

    Kor
    Moderator
    Post count: 16516

    Hi Jane,

    Thanks for your reply. Yes, that’s the correct shortcode. Did it not work for you?

    #530857

    Jane
    Full Member
    Post count: 41

    Hi, I would like the categories to always show the same categories, I do not want it to change when I go into a listing. Currently I am showing the first two levels of the categories.

    Thanks
    Jane

    #530858

    Alex Rollin
    Moderator
    Post count: 27815

    I think, if I understand correctly, you just need to add this into your shortcode

    
    
    
    no_cat_filter="1"
    
    #530861

    Jane
    Full Member
    Post count: 41

    Hi

    Thanks – that does not work, I am still only seeing sub categories of the listing, when I click into a listing.

    Thanks

    #530883

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I think there is one more param to add, then:

    
    
    
    [gd_categories post_type="0" title_tag="h4" sort_by="count" max_level="all" max_count="all" max_count_child="all" no_cpt_filter="1" no_cat_filter="1"]
    
    
    
    
    no_cpt_filter="1" no_cat_filter="1"
    

    For me that shows all the categories, even if empty, even if they aren’t applied to the listing.

    #530894

    Jane
    Full Member
    Post count: 41

    If I add it to my existing widget then the categories disappear from the listing page
    [gd_categories sort_by=”az” max_count=”all”  no_cpt_filter=”1″ no_cat_filter=”1″]

    If I add this as per your code, then it still shows the sub catergories on the listing page
    [gd_categories post_type=”0″ title_tag=”h4″ sort_by=”count” max_level=”all” max_count=”all” max_count_child=”all” no_cpt_filter=”1″ no_cat_filter=”1″]

    Thanks.

    #530913

    Alex Rollin
    Moderator
    Post count: 27815

    Sometimes Copy and Paste doesn’t work well, here.

    Have you tried using a widget? You can use the settings in the screenshot, or setup a shortcode yourself with the shortcode builder using the settings in the screenshot.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    #530920

    Jane
    Full Member
    Post count: 41

    I could not get the categories to be alphabetical using your widget.

    #530938

    Jane
    Full Member
    Post count: 41
    This reply has been marked as private.
    #530945

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #530947

    Jane
    Full Member
    Post count: 41
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 18 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket