Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Denra.com

    (@denra)

    Hello @alfajr2099,

    The plugin is created to display shortcodes in the SEO title and description of the posts/pages/products. The only thing it does is to get the text with the shortcodes and convert them only in those location in the <head> tag. We do not support shortcodes in other locations.

    However if you need to use shortcodes for specific WordPress “hooks”, you can do it by adding some code your child theme’s functions.php including the desired hooks. For example:

    // For the titles.
    add_filter(‘wp_title’, ‘do_shortcode’, 10);
    add_filter(‘the_title’, ‘do_shortcode’, 10);
    // For the menu.
    add_filter(‘walker_nav_menu_start_el’, ‘do_shortcode’, 10);

    etc.

    • This reply was modified 2 years, 6 months ago by Denra.com.
    Thread Starter Abdullah Husein

    (@alfajr2099)

    Hi @denra

    Thanks for your quick reply

    The plugin works for me like a charm in title and description of the posts/pages/products

    But my problem is only with the “Post/Page Content” option.

    When I activate this option, it works perfectly on the home page, but it does not work with categories

    You can see the example from my website right now

    Home (See Product Labels working like a charm here)

    https://damnos.com/

    Category (See Product Labels not working here)

    https://damnos.com/resources-category/ios/

    Is there any solution for that?

    Plugin Author Denra.com

    (@denra)

    Hi again,

    This product labels have nothing to do with our plugin. Nevertheless you may try a few filters with the do_shortcodes hook, like esc_html for example:
    add_filter( 'esc_html', 'do_shortcode', 11 );
    or another hook name. It depends which function is used to display the label.

    Please ask a WordPress programmer to see this support thread to understand how to do it, if you do not know how.

    Plugin Author Denra.com

    (@denra)

    There are no new responses, so this support thread will be closed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Request to Add WooCommerce Taxonomies to this plugin’ is closed to new replies.