Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25519

    Hi,

    I read another post with instructions but they were not for this theme.

    How do I remove the You Might Also Like from the site?

    I am using a child theme and would prefer to make changes there to the functions.php file instead of editing the core theme files.

    I tried this in the child (functions) file but it didn’t do anything.

    //get_template_part( ‘includes/related-posts’);

    Or would it just be better to add to the child/style.css file

    .related_posts {visibility: hidden;}

    I also want to turn tags off.

    Thanks,

    Mitch

    #127236

    Hey!

    Copy wp-contentthemesenfoldsingle.php to the child theme folder and remove following line:

    get_template_part( 'includes/related-posts');

    The child theme single.php template will overwrite the parent theme file.

    Regards,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘You Might Also Like’ is closed to new replies.