Skip to main content

Custom JSON-LD

If you are an advanced user and want to add and edit schemas with custom JSON-LD code, then Slim SEO Pro has that for you.

Select Custom JSON-LD from the list of available schemas:

Custom json-ld

Then in the schema panel, paste your JSON-LD code into the textarea box:

Enter custom JSON-LD code

You can still insert the dynamic variables into your JSON-LD code as follows:

Using dynamic variables in JSON-LD code

The plugin will render the variables on the front end.

tip

Although the plugin can process your custom JSON-LD code if it contains a <script> tag, we recommend you enter only the JSON code. Some hostings have special security rules that block the plugin from saving the data if it contains a <script> tag.

Using custom JSON-LD code with dynamic variables is a great and flexible way to control your schema output.

After you finish adding or editing JSON-LD code, do not forget to set the location for the schema.