• Resolved ehsanmn

    (@ehsanmn)


    I Built a custom taxonomy in my theme with this code :

    <?php
    function build_taxonomies(){
    $type_labels = array(
    'name' => __( 'project cat', 'ehsanma' ),
    'singular_name' => __( 'project cat', 'ehsanma' ),
    'search_items' => __( 'project cat', 'ehsanma' ),
    'popular_items' => __( 'project cat', 'ehsanma' ),
    'all_items' => __( 'project cat', 'ehsanma' ),
    'parent_item' => __( 'project cat', 'ehsanma' ),
    'parent_item_colon' => __( 'project cat:', 'ehsanma' ),
    'edit_item' => __( 'project cat', 'ehsanma' ),
    'update_item' => __( 'project cat', 'ehsanma' ),
    'add_new_item' => __( 'project cat', 'ehsanma' ),
    'new_item_name' => __( 'project cat', 'ehsanma' ),
    'menu_name' => __( 'project cat', 'ehsanma' )
    );

    register_taxonomy(
    'project-cat',
    array( 'project' ),
    array(
    'hierarchical' => true,
    'labels' => $type_labels,
    'show_ui' => true,
    'query_var' => true,
    'rewrite' => array('slug' => __('project-cat', 'ehsanma'))
    )
    );
    }
    add_action( 'init', 'build_taxonomies', 0 );
    ?>

    in options page of TOC plugin I checked this option : ” Show the table of contents for description on the custom taxonomy pages.”

    but when I add shortcode to my taxonomy description its not showing the table of contents.

    need any changed on my code to active toc for my taxonomy pages?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thank you for reaching out to us. We have raised a GitHub ticket regarding this concern and it will be addressed in an upcoming update. We kindly request your patience in the meantime.

    Here is the ticket.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    We have checked on our end but did not find any such issue. Could you please share more details, such as the theme you are using and a short video showing the steps you are taking and the issue occurring, so we can check it on our end? Also, please share the URL where you are adding the TOC.

    Thread Starter ehsanmn

    (@ehsanmn)

    this is my page link :

    https://pipex-co.com/product-cat/%d9%84%d9%88%d9%84%d9%87-%d9%be%da%a9%d8%b3-%d9%87%d9%88%d8%b4%d9%85%d9%86%d8%af/

    I Think its solved in last update of plugin, before that I add shortcode to this page and didnt worked, but now I add this shortcode and it worked.

    thanks a lot

    Plugin Support Akshay A

    (@akshaycode1)

    Great to hear that your issue has been resolved. We are closing this thread now. If you need anything further, please reach out to us. Have a great day ahead.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.