Site logo

[Support request] Custom taxonomy Pages not showing

Home Forums Support [Support request] Custom taxonomy Pages not showing

Home Forums Support Custom taxonomy Pages not showing

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2422453
    Jasdeep

    Hi,

    I have been trying to use a custom post type and trying to list post as archive.
    However, when using the element the posts show as blank, the html do not contains anything inside.
    My posts are set to true for has_archive.
    I have read all your forums regarding custom post or custom taxonomy archive templates but nothing seems to work for me.

    I hope someone can look into this.

    I am attaching the screenshots below for you to have a better idea and see if anything is wrong.
    https://www.dropbox.com/sh/bj7n10r1uemveoe/AAADbFHsfUdVCm721kM4Z2jDa?dl=0

    I can provide the logins if necesary.

    #2422800
    David
    Staff
    Customer Support

    Hi there,

    if you edit your Content Template, and just add a line of static text in paragraph block as the very first block ( outside of any Container Block ) , does that display ?

    #2422899
    Jasdeep

    Hi David,

    Yes the text line is being displayed twice, since I have 2 posts.
    So, what am I doing wrong with displaying the posts?

    JS

    #2423890
    David
    Staff
    Customer Support

    Can i see the site ? Specifically the archive where the issue is ?

    #2426215
    Jasdeep

    Hi David,

    Sure you can have a look at the site.
    Here are the pages, where I am trying to lists posts from various categories/taxonomies, but they are only listing blank html structure and not the actual content of the posts/custom posts types.

    1. https://www.gurbanisangeet.com/category/gurbani-raags/ [ using default wordpress posts ]
    2. https://www.gurbanisangeet.com/tabla_courses/kaida-and-palta/ [ using custom post type tabla-lesson ]

    In the back-end you will see, I am using two different GeneratePress Elements to accomplish the above page layouts.
    1. ‘Global Posts ARCHIVES‘ – for default posts under default wordpress categories.
    &
    2. ‘Custom Posts Taxonomy ARCHIVES‘ – for custom post types unedr taxonomy named ‘tabla_courses’

    I am also sending you the wp-admin access to have a look at the template files via theme editor and the elements.

    #2426421
    Fernando
    Customer Support

    Hi Jasdeep,

    I tried setting the Test Headline to a Dynamic Title, and it worked.

    See: https://share.getcloudapp.com/o0u94bZe
    Also see: https://share.getcloudapp.com/Qwuj6v44

    Can you try rebuilding your Content Template Structure?

    #2426529
    Jasdeep

    Hi Fernando,

    Thanks for the reply.
    Yes I re-built the template and it is now working, strange!!

    Any idea, whey the current template was not working..?

    I have another query, please see this image : https://www.dropbox.com/s/i34zxwpfjqadgfe/tabla_listing.jpg?dl=0

    How can I display my custom posts in columns for my custom post listing?

    #2426537
    Jasdeep

    Hey!

    Never mind, I found this solution to add into functions.php

    add_filter( 'generate_blog_columns', function( $columns ) {
        if ( 'cpt-slug' === get_post_type() && ! is_singular() ) {
            return true;
        }
        return $columns;
    } );

    That did the trick!
    Your support forums are awesome! <3

    #2426543
    Fernando
    Customer Support

    It could have been a database issue. Sometimes, when saving and something goes wrong(like an unstable internet connection), an issue may occur in the saving process. Not entirely sure, however, but this is one potential cause.

    I see. Glad you found the solution!

    You’re welcome Jasdeep!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.