Custom block gives error

Posted in: Newspaper
Post count: 15

Hiya guys,

I have added a custom block following the tutorial, but it throws this error throughout the site

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_25 is not set.
/home/radarone/techinsight.us/wp-content/themes/Newspaper/includes/wp_booster/td_api.php

Have I missed something? Any insight would be helpful.

Thanks have a great day,

Post count: 22421

Hello,

You must have missed a step in your customization. Try to use the api plugin which adds a new block: https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
Please note that the theme api is for advanced users and is not covered by the theme support.

Thank you!

Post count: 15

Hello,

Thanks for your response.

I appreciate this is an advanced requirement – We have added the API plugin, the code doesn’t register as a plugin. Can you at the bare minimum get us started so that the plugin itself works, and we will attempt to figure the rest out ourselves?

I would be grateful for some starting pointers on this, as I feel that this will be essential for the customization of our site going forward.

Thanks and have a great day.
Mylo.

Post count: 22421

Hi,

I have tested the plugin again and it seems to work properly:
https://www.screencast.com/t/rBcIDeKNC
You can download the already created plugin here: https://www.screencast.com/t/3exjiv95jDuB

This guide should help you create a new wordpress plugin https://codex.wordpress.org/Writing_a_Plugin

I hope this helps.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.