Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #23038


    I dont know how to enable and disable the option “You might also like” in every post.



    Edit single.php then find this code

    get_template_part( 'includes/related-posts');

    Replace that with

    //get_template_part( 'includes/related-posts');




    In my installation it is not showing well. You see the words “you might..” BUT is not showing the links to the pages that are referenced.

    How we can do it more space to show correctly the name of the pages?



    It looks fine on my end. The code above will disable the related posts area including the “You might also like” text. Can you give us a link to your website?




    I want to give it some more space. I like some extra space for more references in the future. Can you tell me how?


    You don’t need to add space to it – the related posts script will expand the “related posts” section automatically. By default 8 items will be shown, but you can adjust this value in wp-contentthemesenfoldincludesrelated-posts.php – open up the file and increase decrease the value of the $columns variable:

    $columns 			= 8;


    Please take a look at my site

    Links are not showing. thanks


    The problem is that you didn’t set a featured image for the post(s). However you can use following code to display the placeholder icon:

    .related-format-icon-inner {
    margin-top: 0px;

    .related_posts a {
    width: 82px;
    height: 82px;

    Insert the code into the quick css field.


    Thanks. Solved.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘How to disable "You maight also like"’ is closed to new replies.