Wordpress.com Data Fetching error

I am very new here. I just want to show Wordpress post from my free wordpress.com .

Here is my https://paste.ubuntu.com/p/S4ctCyjFdM/
Please help me fix

Hi @debashishdab

Welcome to the Frontity community. It’s great to hear that you’re trying out Frontity.

Apologies for the problem you’re experiencing, there’s a bug in the latest release of Frontity that affects wordpress.com sites.

To get round it change this part of your frontity.settings.js file:

{
    "name": "@frontity/wp-source",
    "state": {
        "source": {
           "url": "https://public-api.wordpress.com/wp/v2/sites/debashishdab.wordpress.com"
         }
     }
},

To this:

{
    "name": "@frontity/wp-source",
    "state": {
        "source": {
           "api": "https://public-api.wordpress.com/wp/v2/sites/debashishdab.wordpress.com"
         }
     }
},

That is, change “url” in line 48 to “api”. We’re working on the bug fix but that should get you up and running for now.

1 Like

Thanks man . You are awesome

1 Like