• Resolved gusbach

    (@gusbach)


    Hi there,
    This start page should show only 2 posts of the category "MainEntry", but it shows my posts of all the other categories as well. 
    - In field "Select Category For Latest News" I have selected the category "MainEntry"
    - In field "Select Number Of Posts" I have entered: 2
    I appreciate your help!
    regards,
    gusbach

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi

    Thanks for contacting to us.

    If you want to show selected category post on start page for this follow the given below instruction.

    1 Create a child theme if you already created child theme no need to create child theme.

    2 Create index.php file inside the child theme directory and Copy the code form this link and past inside the index.php file.

    Let me know if you have any confusion.

    Thanks

    • This reply was modified 1 year, 8 months ago by radhika1992.
    Thread Starter gusbach

    (@gusbach)

    Thanks a lot for your help, now I can see the latest 2 posts, that is just perfect.
    https://gusbachboules.tg-oberjosbach.de/
    But on the bottom of the page I can now jump to more pages of this kind by clicking on the numbers 1, 2, 3, … 6.
    How can I delete this area in the page bottom, as all the start page should show are the latest 2 posts.
    Thanks in advance,
    gusbach

    Hi

    To delete pagination, For this remove the below line of code from the index.php file line no 30 to 34.

    // Previous/next page navigation.
    the_posts_pagination( array(
    'prev_text' => '',
    'next_text' => '',
    ) );

    let me know if you have any confusion.

    Thanks

    Akhilesh

    Thread Starter gusbach

    (@gusbach)

    HiAkhilesh,

    thank you so much, now everything is fine!

    Best regards,

    gusbach

    Hi

    Glade to know that it has been resolved.

    If you like our theme and support pls give rate us here.

    Thanks

    Support Team

    • This reply was modified 1 year, 8 months ago by radhika1992.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Latest News Settings’ is closed to new replies.