Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #878717
    Steven MORLIER
    Participant

    Hello,
    the trick
    .single-post .entry-featured {
    display: none;
    }
    work fine for me to remove featured images from posts but the picture is still loading, increasing the loading time.
    Is there a way to remove the featured image with some php code in a child theme ?

    Thx,

    Steven

    #879446
    Christian
    Moderator

    Hey Steven,

    I presume you already have a good understanding of customization best practices outlined at https://community.theme.co/kb/customization-best-practices/.

    Copy content.php located in x\framework\views\(stack) to your child theme. Open the copied file and replace the code:

    <?php x_featured_image(); ?>

    with

    <?php if ( ! is_singular() ) { x_featured_image(); } ?>

    Hope that helps. 🙂

    #879460
    Steven MORLIER
    Participant

    Great, I’ll try this !! thx for so fast answer 😀

    #879895
    Christopher
    Moderator

    You’re welcome.

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