Skip to content

Instantly share code, notes, and snippets.

@rahularyan
Created October 28, 2015 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahularyan/c86ad0dc10ad79a48ec1 to your computer and use it in GitHub Desktop.
Save rahularyan/c86ad0dc10ad79a48ec1 to your computer and use it in GitHub Desktop.
Add featured image support in AnsPress question
@menabo
Copy link

menabo commented Oct 24, 2016

Hello,
Where should I add this to the plug in?
Cheers

@tergra
Copy link

tergra commented Oct 28, 2016

I'm wondering the same. I tried putting it in functions.php of the theme file but it doesn't work... Thanks for your help !!

@alexlii1971
Copy link

Hi Rahul,

It does not work, maybe it should be "add theme support"? https://developer.wordpress.org/reference/functions/add_theme_support/

The similar issue for your reference: https://wordpress.org/support/topic/register_post_type-is-not-supporting-thumbnail/

would you please improve code?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment