• Resolved viktor341

    (@viktor341)


    Featured image inside post .. my client says “we dont need it” …but we cant remove feature image completely because need a preview pic

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @viktor341,

    Please explain your query in bit detail and you can share the screenshot via onpaste.com

    Kind regards,

    Manoj

    Thread Starter viktor341

    (@viktor341)

    Hello. We found and removed featured image and metadata, because there was a link to the username (login)

    *childtheme*/template-parts>/content-single.php

    
    <?php
    /**
     * Template part for displaying single posts.
     *
     * @link https://codex.www.ads-software.com/Template_Hierarchy
     *
     * @package Acme Themes
     * @subpackage Medical Circle
     */
    $no_blog_image = '';
    ?>
    <article id="post-<?php the_ID(); ?>" <?php post_class('init-animate'); ?>>
            <div class="content-wrapper">
            <div class="image-wrap">
                    <?php
                    $sidebar_layout = medical_circle_sidebar_selection();
                            $no_blog_image = 'no-image';
                    ?>
            </div>
                    <div class="entry-content <?php echo $no_blog_image?>">
                            <?php
                            the_content();
                            wp_link_pages( array(
                                    'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'medical-circle' ),
                                    'after'  => '</div>',
                            ) );
                            ?>
                    </div><!-- .entry-content -->
            </div>
    </article><!-- #post-## -->
    
    Theme Author Acme Themes

    (@acmethemes)

    Hello viktor341,

    Nice to know that your problem is solved.

    Another simple method would be hiding it through custom CSS:

    .single .content-wrapper .image-wrap {
        display: none;
    }

    Best Regards!
    Acme Themes

    Thread Starter viktor341

    (@viktor341)

    1 VERY bad method ! (for SEO)
    2 Please close the security hole – show login..
    3 What is removed is that 90 percent of clients do not need (they add the author to the bottom of the article, their own pictures) ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured image..’ is closed to new replies.