Support » Plugin: Shortcodes Pro » [Plugin: Shortcodes Pro] No able to assign a Button Image

Viewing 6 replies - 1 through 6 (of 6 total)
  • novakpeter

    (@novakpeter)

    OK, I tried to figure it out. It is easy to solve. Just add to your functions.php in theme folder this:

    add_theme_support('post-thumbnails');

    Plugin Author Matt

    (@sksmatt)

    Hi novakpeter,

    Thanks for sharing your solution,

    Kind Regards!

    I’ve tried this solution but have not had any success in assigning an image. Is there anything else I can try?

    Thanks!

    Plugin Author Matt

    (@sksmatt)

    Hi josephine6608,

    Can’t think other than add_theme_support('post-thumbnails');… try this:

    add_action( 'after_setup_theme', 'yourprefix_add_thumbnail_support', 9999 );
    
    function yourprefix_add_thumbnail_support() {
    	if ( function_exists( 'add_theme_support' ) )
    	add_theme_support( 'post-thumbnails' );
    }

    Hi Matt,

    That seems to have worked like a charm! Thanks so much!

    Plugin Author Matt

    (@sksmatt)

    Thanks for the feedback josephine6608, glad to hear it’s working.

    Kind Regards!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Shortcodes Pro] No able to assign a Button Image’ is closed to new replies.