WordPress.org

Ready to get started?Download WordPress

Forums

Hueman
[resolved] Add more related posts (3 posts)

  1. Makiba
    Member
    Posted 6 months ago #

    Hi,
    there are 3 related posts below my content (single.php)
    i wanna add more related posts.
    how can i do it?

    thank you.

  2. Alexander Agnarson
    Member
    Theme Author

    Posted 6 months ago #

    With a child theme, edit this function in functions.php:

    function alx_related_posts() { }

    Change:

    'posts_per_page'			=> 3

    To what you want.

  3. Makiba
    Member
    Posted 6 months ago #

    thank you.

Reply

You must log in to post.

About this Theme

About this Topic