• Resolved Brad Brown

    (@bradbrownmagic)


    I came across an issue when using USP with the Chaplin theme. The “set featured image” feature of USP doesn’t work because of the way the Chaplin theme handles it’s default featured post image.

    When a default featured image is set in Chaplin, “has_post_thumbnail” will always return true. This prevents USP from setting the user supplied image as the featured image for the post. (See the if test on line 1078 in user-submitted-posts.php)

    There are adequate hooks in both USP and Chaplin for me to work around this issue, but I thought I’d make you aware that the issue exists. I don’t know whether this issue is common, or if Chaplin is doing something unusual in the way it handles the default featured image. If this could be a common issue, you may want to change the way you set the featured image to not use has_post_thumbnail.

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thanks for reporting. It sounds like an issue with the Chaplin theme, as it’s the only such report I’ve heard in over 10 years developing USP.

    I will take a look and see if there is a possible workaround on the USP side of things. May also want to ask the Chaplin theme providers, they may be able to help with something as well.

    Feel free to post again with any further feedback, questions, etc. Glad to help anytime.

Viewing 1 replies (of 1 total)

The topic ‘Post Thumbnail Issue w/ Chaplin Theme’ is closed to new replies.