Support » Plugin: Featured Image in Content » I respectfully disagree on the lack of a settings page

  • Resolved Pedro Magnifico

    (@pedro-magnifico)


    I could use this plugin if there was a setting for applying it to selected post types. I have a custom post type in one of my sites that needs to have this functionality but the rest of the site’s pages do not.

Viewing 1 replies (of 1 total)
  • Plugin Author Nick Halsey

    (@celloexpressions)

    It should be relatively straightforward to implement that functionality in code by forking the plugin. You could add a post check type check to line 33 of the plugin with something like this:

    
     if ( is_singular() && has_post_thumbnail() && 'sheet_music' === get_post_type() ) {
    

    Then rename the plugin to fork it so that any updates won’t overwrite it.

    • This reply was modified 8 months, 1 week ago by  Nick Halsey.
Viewing 1 replies (of 1 total)
  • The topic ‘I respectfully disagree on the lack of a settings page’ is closed to new replies.