Hi,
I want to add new blocks to composer. I need a custom layout that isn’t present in composer.
Can anyone help me in guiding, how to add new blocks?

I tried to use td-api-plugin, but it is giving errors.
thanks
Hi GanaAdhikar,
First I suggest to try the flex block 1 and 2 -> https://i.imgur.com/HecGZeA.png, those have special option that allow you to create different layouts, after that you can simply save the shortcodes -> https://i.imgur.com/HMsArnD.jpg
I hope this will help you!
Hello, I can’t create a new topic. I have weird spacing on mobile for my posts. There are big blocks of white space that I don’t want. I have not created these pages with tag div composer.
End of post spacing: https://imgur.com/a/qAn09D5
Beginning of post spacing: https://imgur.com/a/UDnj36M
Beginning of post spacing: https://imgur.com/a/rlkELt5
Hello,
That empty space is coming from AdSense -> https://i.imgur.com/LkNTKSH.png the problem is that you set a code (most probably auto ad code) more then once on the page -> https://i.imgur.com/SPEE1ge.png
Thank you!
I am using the theme panel ads settings. Should I only put the google adsense auto code in the header box area? https://imgur.com/a/i75YzPv
Hi,
The layout I want to achieve is not possible with flex blocks,
Kindly, let me know from where I can edit or add new blocks. it is important for me.
thanks
Hello,
The guide that can be used is this one -> https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
I don’t have ads showing up inside my content? How do I fix this? I only have some ads at the top of my blog and at the bottom. My site is parker-marker.com.
Here is an example blog post https://parker-marker.com/blogs/furniture/patio/best-pergola-kits/
Hello,
Using the Newsmag theme you can set in the post content 3 ads, 1 at the beginning, 1 in the middle and one at the end of content -> https://i.imgur.com/lkstDBn.png
You can check more in our guides from here -> https://forum.tagdiv.com/newsmag-header-ads/ -> https://i.imgur.com/8Kt7sCG.png
Thank you!
If I do this, then should I get rid of the header ad? I think I had this but then it was showing some weird blocks of white space
Thanks! Also, I was never able to get ads to show up on my sidebar for posts. Using widgets didn’t work since I could only use the ad tag div widget through the tag div composer which is only available on pages.
Here’s all the available space I am talking about: https://imgur.com/a/MsDlIcI
How can I add my adsense code to show up here in the sidebar? Thanks again
Hi Bennettheyn,
Your sidebar is empty. You can add there elements using the widget section, for example create a sidebar and assign in it the elements you need -> https://i.imgur.com/mQWRdEd.png (including ads, for those use the ad box element and choose the source of the ads, usually the code is set in sidebar ads section -> https://i.imgur.com/ewkjy2a.png -> https://i.imgur.com/DjsUZ1J.png
After that just assign that sidebar as global for all posts -> https://i.imgur.com/j3yiBoW.png
I hope this will help you!
Thank you!
Hi, could you elaborate on “create a sidebar and assign in it the elements you need”.
Do I just add [tagDiv] Ad box?
Here’s what I made:
https://imgur.com/0xW3hd9
I used the adspot from sidebar.
Here is the code from sidebar:
https://imgur.com/a/204kSMY
I assigned it as global for all posts:
https://imgur.com/a/sWps5XE
but it’s still showing as blank. How long will it take for google adsense to update it and start to show ads there https://imgur.com/a/bU4AgCa
Hi,
The code that you have set in the sidebar ads is an auto ads code from AdSense. That code should be set only once between head tags. In our theme it can be set in this place -> https://i.imgur.com/84RcrIu.png
Thank you!
ok. I manually made a sidebar ad and put it in the sidebar area. https://imgur.com/a/vFgBCao
I may try that for a few days and see if it works and then try setting the auto adsense code in a new area and see if that works better
hi,
are there any video tutorials to add new blocks?
thanks
Hi,
I added a new block copying block 1 in td api plugin. Named it td_block_17 in php file.
Changed name of block in td-api-plugin.php.
The name is displayed in td composer. But, when I try to add it to a column. it shows just a spinner. it keeps loading and loading.
please check image below:

Kindly, tell me what is going on.
FYI, same thing happens, when I try to add the custom flex block that comes in td api plugin without any modification.
I am using td api plugin which comes with newsmag 5.
thanks
-
This reply was modified 3 years by
GanaAdhikar.
-
This reply was modified 3 years by
GanaAdhikar.
Hi,
No, it wasn’t working anytime.
please check the image attached below, I am getting this error.

thanks
-
This reply was modified 3 years by
GanaAdhikar.
Hi,
That error is complaining for the header style form the block, I believe is this section -> https://i.imgur.com/4BaFzgI.png
I think the errors are from block 77, if you want we can take a look at it.
Thank you!
hi,
sure, web address is:
https://byb.eum.mybluehostin.me/
you can download td api plugin used by me on link below:
thanks