• Resolved june01

    (@june01)


    I am using the shortcode with the Elementor plugin. Initially, it seemed to work fine. However, when I opened the website in another browser where I was not logged into my account, the posts did not load. The browser console displayed the following error:

    POST https://mydomain.com/wp-json/wordpress-popular-posts/v2/widget?is_single=0 403 (Forbidden)

    Could you please help me resolve this issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @june01,

    An HTTP 403 Forbidden error response usually means that:

    If the FAQs linked above didn’t help, please try following these troubleshooting instructions to find out what’s causing the problem and report back.

    Thread Starter june01

    (@june01)

    thanks caching was the issue.

    I have another question, I would like to create a mobile app and need to display most viewed posts there as well. Is it possible to do this? Are there any API endpoints to use. I am familiar with the one provided by wordpress but I don’t know how to use it with this plugin.

    Plugin Author Hector Cabrera

    (@hcabrera)

    thanks caching was the issue.

    That’s good news! Glad you were able to sort it out.

    I would like to create a mobile app and need to display most viewed posts there as well. Is it possible to do this? Are there any API endpoints to use.

    Yes, there are: REST API Endpoints.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only displays posts for logged in users’ is closed to new replies.