Skip to content

Enhanced wooNuxtSEO to be more flexable.

Compare
Choose a tag to compare
@scottyzen scottyzen released this 16 Jan 23:04
· 31 commits to master since this release

This update will make adding social media providers easier and more flexible.

# The new schema will look like this
query getWooNuxtSettings {
  woonuxtSettings {
    wooNuxtSEO {
      provider
      url
      handle
    }
  }
}

And an example if what the response will look like

{
  "data": {
    "woonuxtSettings": {
      "wooNuxtSEO": [
        {
          "provider": "twitter",
          "url": "https://twitter.com/scottyzen",
          "handle": "scottyzen"
        },
        {
          "provider": "github",
          "url": "https://github.com/scottyzen",
          "handle": "scottyzen"
        }
      ]
    }
  }
}

Note: This update will will not be available until WooNuxt v3.3.6 is released. It is currently being tested and will be released soon.