Home Forums WoodMart support forum How to edit number of Related Posts and sizes

How to edit number of Related Posts and sizes

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

    tntlam1102
    Participant

    How can I edit number of related posts and size of the carousels ? I think it’really big and only show 2 posts with pagnition.
    For example: you can check this blog posts below.

    #157050

    Hello,

    The posts having same tags will be displayed as Related posts.

    Related posts are presented as a slider and when you hover you will see navigation arrows and all the posts which contain the tag would be presented.

    To change the number of related posts to show in a carousel you can copy/paste the single.php file from wp-content\themes\woodmart in the child theme and set the number at the line#56 “‘slides_per_view’ => 2” and save changes.

    Screenshot for clarification: https://jmp.sh/CSvBGBJ

    By increasing the number of posts in the carousel also the size of posts become smaller.

    Best Regards.

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