• Resolved jl2035

    (@jl2035)


    Hello. The plugin works ok for the normal post types and also for one custom that I created (I have 2 custom post types). Let’s say it works for custom post type A, but not for B.

    I tried everything. From clicking many different settings to using a shortcode and widget.

    [cresta-social-share] in a text widget
    add_filter(‘widget_text’, ‘do_shortcode’); // in functions.php

    I tried to use the shortcode directly in the theme with echo do_shortcode(“[cresta-social-share]”), but no success.

    Also this doesn’t work:

    if(function_exists(‘add_social_button_in_content’)) {
    echo add_social_button_in_content();
    }

    The IF actually happens, but nothing shows up. The functions does nothing.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not working on Custom Post Type’ is closed to new replies.