Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1178917
    cyberfyber
    Participant

    Hi,

    I’ve got the following code culled from the posts around here:

    .page .entry-featured,
    .single .entry-featured
    {
    display: none;
    }

    It does the job fine, BUT, it also hides when I choose to include the image which happens to be the featured image; that is, when I include it above the post. I’d like to have my options open in posting the featured image anywhere I want and whenever I want without worrying about it being hidden.

    Any workarounds?

    Thanks in advance.

    #1179129
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! To resolve your issue, you can make use of this updated code:

    .page .hentry:not(.has-post-thumbnail) .entry-featured,
    .single .hentry:not(.has-post-thumbnail) .entry-featured {
      display: none;
    }

    This code will not hide the feature image if you choose to include the image which happens to be the featured image; that is, when I include it above the post.

    Hope this helps.

    #1179483
    cyberfyber
    Participant

    haha, hadn’t realized how funny that sounded until I read it again. 😉

    Thank you kindly.

    #1179828
    Rue Nel
    Moderator

    You’re welcome!
    We’re glad we were able to help you out.

  • <script> jQuery(function($){ $("#no-reply-1178917 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>