• Hello,

    I set the featured post area to “4 columns” and set the number of posts to “4” as well. In the preview, it works fine, but after click Save and Publish, the featured post is showing 5 posts.

    I tried setting it to just 2, but still showing 5.
    I also chose 8, but still showing 5.

    For some reason, it’s stuck with 5 regardless how many times I save it.

    No cache.
    All other changes that I do works fine and is reflected immediately.

    If I switch back to the default 3 columns, it stuck with 5 too even if I chose 6, 8, 10 posts to display.

    Is there another setting that I might have missed? Or is there a way to hardcode it so it’s forced to display the correct number of posts?

    Tried in Opera beta, Chrome dev, Firefox beta for Win7.
    Yes, tried disabling all other plug-ins too, a very tiring process everytime ??

    Thank you for the assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ???? (Yuki|雪亮) ????

    (@laibcoms)

    Forgot the link to site: https://techmagus.ninja

    Thread Starter ???? (Yuki|雪亮) ????

    (@laibcoms)

    Yep, there really is a bug.

    In my other site I’m still setting up, the same thing is happening. If you create a Ridizain child theme, follow the docs on WordPress, the “Number of posts per grid” does not work. For some reason, the theme is stuck with displaying 5.

    Not a single plugin active.
    Single site install.
    https://gameshogun.xyz

    Same result.

    Anyone who have an idea? When I try to register to the Ridizain site, I’m redirected to download the theme. After downloading the theme, I don’t get any link about registration. If I try to reset password using the same email I used for downloading, my email is not in the user database.

    So, unfortunately, this is the only place I can ask for support re: Ridizain theme.

    I hope someone can share something.

    Hi,

    I’m afraid I do not have any real insights on this, but I have exactly the same issue. I was about to ask on the Ridizain support forums, when I saw this. I too want 4 pots across the page, but I am seeing 5.

    Interestingly when looking at the preview generated through the >Appearance>Customise tab, the web page displays correctly. When I publish this page, it shows too many posts exactly as it does on your web sites.

    Also, I notice the date ordering is being ignored after clicking Publish. It is correct in the preview.

    Cheers

    Chris @ forksinthepath

    Thread Starter ???? (Yuki|雪亮) ????

    (@laibcoms)

    Someone also posted it in their website: https://ridizain.com/support/topic/featured-content-behaving-very-oddly/

    I’m starting to doubt we’ll get any support for this.

    Anyway… here’s the solution to fix this bug:

    I. 1st Method: functions.php

    1. Open the parent theme’s functions.php
    2. Look for “num_posts_” (there are two)
    3. Change both to “num_posts_grid”

    II. 2nd Method: customizer.php

    1. Open customizer.php (inc/customizer.php)
    2. Look for “num_posts_grid” (there are three)
    3. Change all three to “num_posts_”

    Note: Only choose one method. The first method (functions.php), IMO, is preferable in this case.

    Also note, if the theme author pushes an update without the fix above, you have to repeat the process again, unless you duplicate the whole theme under a different name — which can get messy, stick with the above fix so child themes will display the correct count.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured Post Area not using preferred count’ is closed to new replies.