- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi,
Usually this issue is related to a firewall or security module which blocks admin-ajax.php request. Please verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
If you donât use a security plugin, please ask your host about this, maybe you have a security module which blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Please make sure that all the settings are like in our requirements, please follow the guide carefully
â https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
If there are still some problem, please provide some screenshots and some more details.
Let me know the results!
Thank you!
Hi swapnilphadke02,
Let’s try one more time together, from homepage -> https://i.imgur.com/8pwP2S4.png go on footer -> and click on that flex block and check the style tab -> https://i.imgur.com/mE5WOiI.png -> https://i.imgur.com/N4S8Ixg.png if there is no color for the block you are using in style tab, then you should change it with a flex block to have the possibility to edit the colors.
Or you can use a custom css like this one -> https://i.imgur.com/0QJDL4L.jpg
.td-footer-template-wrap h3>a{
color: #cbcbcb;
}
The css need to be set in theme panel> custom code> custom css.
Thank you!
Hi,
1. Using Newsmag you can change the menu style only if you change the header style -> https://i.imgur.com/u7xknEN.png the menu colors can be set from here -> https://i.imgur.com/IAcDN72.png and the size of menu and fonts can be adjusted from here -> https://i.imgur.com/uxEPtsJ.png
2. The header template on sidebar block can be set from appearance -> https://i.imgur.com/fXuqo4u.png
3. Yes, the theme has an option for lazyload in theme panel -> https://i.imgur.com/U6m1jlD.png -> https://forum.tagdiv.com/newsmag-loading-image-effects/
Thank you!
Hi
can i use a any type of block or something, to put in front page at top live video streaming from youtube.
thank you
Korab
I just updated and I need to knock these errors out:
NOTICE: wp-content/plugins/td-composer/legacy/common/wp_booster/td_remote_video.php:226 – unserialize(): Error at offset 0 of 140865 bytes
require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/td-standard-pack/Newspaper/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, tdc_zone->render, tdc_composer_block->do_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, vc_row->render, tdc_composer_block->do_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, vc_column->render, tdc_composer_block->do_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, td_flex_block_1->render, td_flex_block_1->inner, td_module_flex_1->render, td_module->get_video_duration, td_video_support::get_video_duration, td_remote_video::api_get_videos_info, td_remote_video::vimeo_api_get_videos_info, unserialize
1)Invalid inline script
Arbitrary JavaScript is not allowed in AMP. You cannot use JS <script> tags unless they are for loading AMP components (which the AMP plugin will add for you automatically). In order for a page to be served as AMP, the invalid JS code must be removed from the page. Learn more about how AMP works. As an alternative to using custom JS, please consider using a pre-built AMP functionality, including actions and events (as opposed to JS event handler attributes like onclick) and the amp-bind component; you may also add custom JS if encapsulated in the amp-script.
If you remove the invalid markup then it will not block this page from being served as AMP. Note that you need to check what impact the removal of the invalid markup has on the page to see if the result is acceptable. If you keep the invalid markup, then the page will not be served as AMP.
Error code
DISALLOWED_TAG
Element name
script
————————————-
2) Excessive CSS
AMP allows you to style your pages using CSS in much the same way as regular HTML pages, however there are some restrictions. Nevertheless, the AMP plugin automatically inlines external stylesheets, transforms !important qualifiers, and uses tree shaking to remove the majority of CSS rules that do not apply to the current page. Nevertheless, AMP does have a 75KB limit and tree shaking cannot always reduce the amount of CSS under this limit; when this happens an excessive CSS error will result.
If you remove the invalid markup then it will not block this page from being served as AMP. Note that you need to check what impact the removal of the invalid markup has on the page to see if the result is acceptable. If you keep the invalid markup, then the page will not be served as AMP.
Error code
STYLESHEET_TOO_LONG
Node name
style
————————————–
3) Invalid script: tagdiv_theme.min.js
Arbitrary JavaScript is not allowed in AMP. You cannot use JS <script> tags unless they are for loading AMP components (which the AMP plugin will add for you automatically). In order for a page to be served as AMP, the invalid JS code must be removed from the page. Learn more about how AMP works. As an alternative to using custom JS, please consider using a pre-built AMP functionality, including actions and events (as opposed to JS event handler attributes like onclick) and the amp-bind component; you may also add custom JS if encapsulated in the amp-script.
If you remove the invalid markup then it will not block this page from being served as AMP. Note that you need to check what impact the removal of the invalid markup has on the page to see if the result is acceptable. If you keep the invalid markup, then the page will not be served as AMP.
Error code
DISALLOWED_TAG
Invalid markup
<script ⊠>
Element attributes
type text/javascript
src https://sp24news.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
Element name
script
Parent element
body
4)
Illegal CSS at-rule: @-moz-document
Error code
CSS_SYNTAX_INVALID_AT_RULE
At-rule
-moz-document
Element attributes
rel stylesheet
id tdb_front_style-css
href https://sp24news.com/wp-content/plugins/td-cloud-library/assets/css/tdb_less_front.css
type text/css
media all
Node name
link
Author blocks are not linking to an author page, instead they link to the site’s homepage.
The cloud template has been selected in the theme settings.
Example post: https://westisbestwales.co.uk/activities-to-enjoy-during-lockdown/
Hi, how i can insert the social in every article in home page,
social icons
Hi,
Please check our documentation for blocks -> https://forum.tagdiv.com/block-settings-guide/ if there is still a problem let us know.
Thank you!
Hi,
Please try this custom css this it will be apply on all blocks that have the style 8 for header ->https://i.imgur.com/C1gZaFR.jpg
Replace the above code with this one :
.td_block_template_8:hover .td-block-title *, .td_block_template_8:hover
.td-block-title span {
color: red!important;
}
Thank you!
Hi,
Usually this issue is related to a firewall or security module which blocks admin-ajax.php request. Please verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
If you donât use a security plugin, please ask your host about this, maybe you have a security module which blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Please make sure that the theme is activate -> https://tagdiv.com/how-to-activate-the-newspaper-theme/
Please make sure that all the settings are like in our requirements, please follow the guide carefully
â https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Also please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Let me know the results!
Thank you!
Hi,
By default our theme will generate thumbs for modules inside the blocks and grids, in this way the image will adapt and look well on all elements and viewporst you are using.
If you are using mobile theme, then you’ll use only two thumbs -> https://imgur.com/vwVIXUg here the mobile grid will display the largest image and the other one is the block for the smallest one.
Hope this will help you!
Thank you!
Good morning all,
I am facing an image ratio problem that I cannot resolve. Let me explain:
I realize a photographer site and one of my problems is that I must in no case modify the framing of photos, that is to say that I must not cut or crop them. This concerns the images of the thumbnails of the categories and in fact of the image highlighted in the article. However, these images are not in 16: 9 (1280 * 1080) but in 1920 * 1280 (this is the size of photographers in general) and therefore with an image ratio of 3: 2.
In tagDiv Composer and by selecting the Post Loop 2 module, I cannot integrate this image ratio. It is systematically cut (see my screenshoot).
So my question is as follows: how to display an image with a ratio of 3: 2 in the Posts Loop 2 module? It’s a headache for me đ
The Flex Block module is also affected by this problem.
Image
Hello !
At the moment using a flex block is the best solution for the results that you are looking for.
Thank you !
Hi,
I think that you are referring to this background image -> https://i.imgur.com/SItpeRN.jpg this is coming from the posts that you have, is a featured image set on a post and this is set on homepage using tagDiv Composer and homepage element -> https://i.imgur.com/ugbz326.png -> https://i.imgur.com/GxR2ScG.jpg this can be sorted -> https://i.imgur.com/ULcQYL2.jpg
-> https://forum.tagdiv.com/block-settings-guide/
Hope this will help you!
Hi
I read your last answer “Please check the viewports from tagDiv Composer -> https://i.imgur.com/IkQJNC6.png and where is this problem, check the css tab and set the display to block -> https://i.imgur.com/ABJKKC5.jpg”
But problem is not about 4 viewports in tagdive composer. Problem is about mobile horizontal viewport or like that.
No I didn’t do anything wrong. What I did from beginning to end step by step (just watch): https://youtu.be/eggM-5pP7zI
After I import Dental Studio header, you see whenever I turn my mobile phone horizontally, 2nd text “Prodimarc” comes to 1st line. Just watch: https://youtu.be/O3A3q3OhSUc
How can I fix this problem?
Hi,
on the dictionary list are the words author and authors correctly translated into Polish. However, in block Author Box the word is not translated. It may be worth adding them to the dictionary database so that it can also be translated.
In the meantime, I have a request to help remove it.

SOLVED!
Hello, the post ID filter in Flex Block element doesnt work. When I set different post IDs separated with commas, only shows the last post ID. Thank you
Hello,
how can i import the block sidebar as widgets in the sidebar aspect ratio?
thnks
les
Hi Calin,
Thanks for this, and it works… slightly!
Only one of the block header’s change – you can see this at: Wise Living Magazine
If you scroll down, you can see that ‘Featured Articles’ has adopted the hover state (yay!) but the remaining Header Block 8’s have not (Health, Money etc as you scroll down).
Any ideas? I’ve checked and these are all Block Header 8 elements…
Many thanks!
matt
Hi,
You can achieve that using this custom css ->
.td_block_template_8:hover
.td-block-title span {
color: green!important;
}
The code need to be set in theme panel> custom code> custom css.
Also you can change the color.
Thank you!
Hi,
Using flex block you’ll be able to adjust the layout per device -> https://i.imgur.com/yE5ihsn.png -> https://forum.tagdiv.com/flex-block-settings-guide/
Hope this will help you!
Thank you!
I removed all of the Big Grid elements from my home page and that removed them from the other pages as well. I then went back and added a single Flex Block 3 to my home page ensuring that it was set to be Content and that block then showed up on all of my other pages.
So right now I have to have a duplicate of my home page on every page of my site if I use this theme. That makes this theme useless to me as that is not how I want my site to function.
Hi,
This will adapt after the length of elements that are show (category, post title, author, date …).
In order to make them to look the same size, youâll need to set an excerpt on title and post content like this -> https://i.imgur.com/o8UQm5B.png
Big Grid Flex Settings -> https://forum.tagdiv.com/big-grid-flex-settings/
Also you can set the excerpt on words or letters from theme panel -> https://i.imgur.com/c7Q8ckX.png
Here is a similar topic -> https://forum.tagdiv.com/topic/flex-block-1-and-same-blocks-height/
Thank you!
Hi all,
when creating a new article or post sometimes I use the HTML-Blocks. The problem is that if I safe the article and want to work on it later the content of the HTML-Blocks are not saved, so I need to do them every time I try to edit the post.
Do you guys know this problem and have a solution?
Best regards,
Tim