Recent Posts Widget Limit doesn't work

This topic has 8 replies, 3 voices, and was last updated 7 years, 1 months ago ago by Rose Tyler

  • Avatar: itsdesign
    itsdesign
    Participant
    February 7, 2017 at 00:31

    After updating Royal theme to the latest version, the footer block where it shows “Recent Posts” does not seem to use the value entered in the “Limit” input. It was set as 2, and after the update, it seemed to show all of them.

    I have tried increasing and decreasing the number, deleting it altogether, creating a new widget and removing the previous one. Nothing seems to have any affect.

    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 7, 2017 at 08:19

    Hello,

    We will fix it in the next theme update.
    Also, you can edit wp-content/themes/royal/framework.php file and change this string http://prntscr.com/e5if9j to
    $number = ( empty( $instance['number'] ) ) ? 5 : $instance['number'];

    Regards,
    Rose Tyler.

    Avatar: MrtOgz
    MrtOgz
    Participant
    March 19, 2017 at 21:05

    Hello,
    I have a problem about the same subject

    “wp-content/themes/royal/framework.php” -> (No such file is found)
    Is there another way?

    Regards
    MrtOgz

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 20, 2017 at 12:11

    Hello,

    Please provide wp-admin and FTP access in Private Content.

    Regards,
    Rose Tyler.

    Avatar: MrtOgz
    MrtOgz
    Participant
    March 20, 2017 at 22:14

    Hello Rose,
    Unfortunately we have not been online yet, we are working localhost,
    Is there anything, what can I do ?

    Regards,
    MrtOgz

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 21, 2017 at 11:45

    Hello,

    Please try to edit /royal/framework/widgets.php. Sorry for inconvenience.

    Regards,
    Rose Tyler.

    Avatar: MrtOgz
    MrtOgz
    Participant
    March 23, 2017 at 13:34

    Thank you very much Rose, problem solved 🙂

    Regards
    MrtOgz

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 23, 2017 at 13:37

    Hello,

    You’re welcome!

    Regards,
    Rose Tyler.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.