- 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
I’m using Newspaper 7.5 and the theme seems to have somehow reset itself and now the background ad is not showing up properly – the content block seems to have moved to one side? How can I reset this. Screenshot attached.
https://www.dropbox.com/s/6zn3e7lqdyjx5pr/Screenshot%202020-07-21%2005.27.46.png?dl=0
Hi minilittlethings,
Please notice that this is the customer option/choose, our theme can not influence the ads to appear if these are block by ad blocker extensions or some apps (antivirus) that prevent the ads to be display.
You can try this with any theme WordPress theme the results will be the same, the ads will be block by ad blocker or antivirus.
Also the above message do not have anything to do with the theme, is just note you that you have some ads and these are block by ad blocker and in order to see these ads you need to disable the ad blocker extension.
Thank you!
Hi,
Indeed the related posts container is no longer accessible on tagDiv Composer, these elements are still present in some pro demos like the default single post template, but it’s functions were added in flex block, therefore the results should be the same.
-> https://i.imgur.com/2rBNV5D.png -> https://i.imgur.com/O4G7ItY.png
Therefore in your example if a post has a category that the current post has it will be display on related categories.
An alternative to use the related posts container is to import a single post template from cloud library (Single Post Template 1-20) save that element using the right click -> https://i.imgur.com/40FOQJ7.png in this way you will be able to use it in your current single post template.
Thank you!
Hi,
This is the modal option (lightbox) this can be disable from theme panel -> https://i.imgur.com/qTOjeAg.png of the option in our theme and there is also an option in Gutenberg editor -> https://i.imgur.com/jFbeAM7.jpg
Thank you!
Hi,
Usually the hover color is set using tagDiv Composer on flex blocks -> https://i.imgur.com/MVtLlxr.png
ALso you can use a custom css that can be apply on more element -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thank you!
Hi,
Yes, you can use an image that can be set in theme panel> block settings> thumbs on modules/blocks -> https://i.imgur.com/546vJHb.png
Hope this will help you!
Thank you!
Hi,
In that section the row layout is set in 2 -> https://i.imgur.com/al3ojqH.png in left section is set the main blocks and in right one are set the sidebars elements.
If you want you use the same sidebar, what you can do is to set the youtube video in the main content and the block under it, in this way you’ll have the sidebar use for these element too, or you can set a new sidebar using the row layout mention above to create the sidebar space where you can set the element using tagDiv Composer or widget sidebar element -> https://i.imgur.com/ZKEgdRG.png
Thank you!
Hi
I have seen the color option of the button here: https://snipboard.io/oSZy0O.jpg
It’s in Block 12
The single tag block does not render in the frontend, it works on the composer but it does not render.
i understand how to set a global post/page template and i understand how to create a cloud or blank single page/post but i can’t figure out how to edit an existing page/posts’s content or post new content to the page with tagdiv! any page or post i open is wordpress and i see no option to edit with tagdiv. for example: if i want to edit one of the MANY pre-set demo pages that came with the theme (ie pages linked to homepage that came wiith pre-existing fake content) how do i change the fake articles into real ones??
i just opened one of these pre-existing pages and had to alter all of the text and photos deleting one block at a time and adding my own using wordpress because i can’t figure out how to do it with tagdiv.
with wordpress i was unable to customize the pull quotes or layout etc.
all of the tutorials say you can create a custom template and they all show how but not a single one tells you how to open an existing page and edit with tagdiv instead of wordpress. thank you.
Many thanks for answer.
I have deactivated all the plugins and the site works. I activate only the TagDiv plugins and the site stops working. In the error code you can see that something happens with the TagDiv plugins, .. All system requirements seem to be fine and the site is still not working.
Detalles del error
==================
Se ha producido un error del tipo E_ERROR en la línea 2727 del archivo /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php. Mensaje de error: Uncaught Error: Call to undefined function iconv() in /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php:2727
Stack trace:
#0 /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php(54): mb_detect_encoding(‘{“all”:{“margin…’)
#1 /home/plusox15/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_content.php(219): td_css_res_compiler->load_settings(‘tdb_single_cont…’, Array)
#2 /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php(321): tdb_single_content->get_custom_css()
#3 /home/plusox15/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_content.php(355): td_block->get_block_css()
#4 /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdb_single_content->render(Array, ”)
#5 /home/plusox15/public_html/wp-includes/shortcodes.php(343): td_global_blocks::proxy_functi
Good afternoon,
I have your “LA MODE” template for my website. I tried to install Google Adsence but it won’t let me because they tell me the following: “Ad blocker detected, you need to disable it in order to set up AdSense”. I’ve been looking at my plugins if I have any about advertising plugin but I haven’t found any. You know exactly what they mean? How can I disable the ad blocker they say I have? I interpret that the “LA MODE” template comes with some advertising settings. My page is http://www.minilittleparty.com. You will see that I have an space on my website home for advertising, maybe they refer to this. If I delete this ad that I have on my website home with the “Edith with TD Composer” tool is enough? Or is something about settings and plugins?
Thank you very much.
Anna
Hello,
I’m using the header coming with the default layout of Newspaper. To place the ads in the header I’m using Revive adserver. I have written a script, that checks the size of the ad-area and inserts the necessary Revive banner-code for desktop/tablet/mobile.
Here is the code:
<div id="revive-ad-header" style="display: block; text-align: center;">
<script type="text/javascript">
adUnit = document.getElementById("revive-ad-header");
adWidth = adUnit.offsetWidth;
if ( adWidth >= 728 ) {
/* Leaderboard 728x90 */
adUnit.innerHTML = '<ins data-revive-zoneid="1" data-revive-id="a7d099fe9a8c6365a11a9e0b369"></ins>';
} else if (adWidth <= 720 && adWidth >= 468) {
/* Banner 468x60 */
adUnit.innerHTML = '<ins data-revive-zoneid="2" data-revive-id="a7d099fe9a8c6a11a9e0b369"></ins>';
} else {
/* Mobile Banner 320x50 */
adUnit.innerHTML = '<ins data-revive-zoneid="3" data-revive-id="a7d099fe9a8c365a11a9e0b369"></ins>';
}
</script>
<script async src="//www.webserverdomain.de/www/delivery/asyncjs.php"></script>
</div>
This works perfectly.
I now wanted to switch to a header template. The ad-setting for the ad-area is “Use adspot from: header” so I thought this would be it.
But no ads are shown in my header. The variable adWidth always returns 0 and adUnit.innerHTML has no effect.
So I switched to the “Custom ad” and entered the code in the box there. But this doesn’t work either.
What might be the problem, that the code works perfectly with the default header but not within a header-template?
Hi Vlad – no, that ad is set Theme Panel/Ads/Article bottom ad. I mean the Footer ad set at Theme Panel/Ads/Footer top. I have placed this code in the field YOUR AD CODE:
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– JJ display horizontal 1 –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-7426344127145001″
data-ad-slot=”2925354814″
data-ad-format=”auto”
data-full-width-responsive=”true”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
but nothing appears.
Thanks
Mark
Hi shenal2233,
Unfortunately I do not have access to check your post from your website because this is in Maintenance mode -> https://i.imgur.com/Mn4RsAp.png
As a suggestion, please check if you are using the option for unique articles-> https://forum.tagdiv.com/unique-articles/ if you have this option enable, then the articles will be display only once on homepage/page.
Another think is to make sure that you set a category for your posts and you can choose a Primary Category -> https://forum.tagdiv.com/primary-category/ make sure that your block do not have set any offset https://i.imgur.com/0Ex8VUw.png -> https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hi liocoupon,
To achieve that layout you need to use tagDiv Composer and cloud templates from tagDiv Cloud Library. If you want you can check our demos from here -> https://demo.tagdiv.com/select_demo/select_demo_newspaper/?utm_source=live_preview&utm_medium=click&utm_campaign=demos&utm_content=demos_button#demos maybe you’ll find one that you like and you can install it, in this you’ll need just to adjust it.
1. To create a blog/home page like this https://tagdiv.com/category/blog/ you need to edit an empty page with tagDiv Composer -> https://i.imgur.com/muTE2j8.png set the row layout you like and stretch the row -> https://i.imgur.com/K4DYowq.png after that set the post loop in first empty column -> https://i.imgur.com/h6SnNIh.png -> adjust the number of post per page -> https://i.imgur.com/vDk1xy9.jpg adjust the layout and style -> https://i.imgur.com/d5jJhCa.jpg for the right column, you need to do the same as for the main column, but this time set the flex block 1
2. This is https://tagdiv.com/major-steps-to-build-the-buyer-persona-profile-for-your-online-business/ a single post template from tagDiv Cloud Library, this is adjusted by our developers using tagDiv Composer.
All of these are made using our theme and is design/customize for our website by our designers using tagDiv Composer.
Thank you!
Hello
I’ve place an Amazon ad in the article text here using the Custom HTML block:
I want the ad to be surrounded by text, like the AdSense ad above it. Can you suggest a solution?
Also, is there any way to resize the ad? I have tried altering the dimensions in Amazon’s code but to no effect. Here is Amazon’s code:
<iframe style=”width:120px;height:240px;” marginwidth=”0″ marginheight=”0″ scrolling=”no” frameborder=”0″ src=”//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=GB&source=ac&ref=tf_til&ad_type=product_link&tracking_id=jazzjournal01-21&marketplace=amazon®ion=GB&placement=1540090760&asins=1540090760&linkId=94a2c654e8a2ab5b2b42b1e19806a8eb&show_border=true&link_opens_in_new_window=false&price_color=333333&title_color=0066c0&bg_color=ffffff”>
</iframe>
Thanks
MG
Hi,
Yes, you should be able to use a thumb that you have enable in theme panel and the image is generate or you can use our guide from here to regenerate the thumbs -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/ -> https://i.imgur.com/5x9CDF6.png -> https://i.imgur.com/BTPO4f2.png
Hope this will help you!
Thank you!
Hi,
Now the tagDiv Composer is the “heart” of the theme, this was a requirement from envato, we wrote an article about this -> https://tagdiv.com/updating-the-core-of-tagdiv-themes/
Also when tagDiv Composer is disable, the theme will no longer have blocks and element from tagDiv Composer, only text and images, the design will be ugly, but the theme will be faster, like a free WordPress theme. If you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/
Thank you!
Hi fabioweb90,
The “Latest Articles” is set from page template and it can be remove by setting another option -> https://i.imgur.com/Gv73lRn.png -> https://forum.tagdiv.com/newsmag-page-templates/
Also if you want to set the WRC RACING WORLD block below Video Player you can edit the page using tagDiv Composer and use drag and drop or for that block or for video player.
Thank you!
I’ve got all post with default settings.
Cloud library was not applied for posts.
Question: may I increase post block width from 700 to 750 pixels like this ?
Screen – https://prnt.sc/tks8ee
and Subquestion: is it possible to shrink vertical sidebar width for all posts like this ?
https://prnt.sc/tksayr
Unfortunately, I couldn’t find such option in the Newspaper template – https://prnt.sc/tksbwr
Thanks in advance for an explanation! 🙂
Hi Calin,
Thank you for your reply.
Ok, so you would create the whole page in TD Composer? with a row for every profession? and set an extra class in each?
Then create a custom link for each profession in the menu and add the relevant code?
I have been using the Block Editor to create the page and adding an anchor under advance tab there?
How would you create the page in TD composer?
Company logo aligned left with copy on right.
Also Calin, I have 105 professions in total! a lot .. how can show the drop down in columns rather than one huge long list?… I understand this is not achievable once viewed on mobile.
Kind Regards
Mark
Detalles del error
==================
Se ha producido un error del tipo E_ERROR en la línea 2727 del archivo /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php. Mensaje de error: Uncaught Error: Call to undefined function iconv() in /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php:2727
Stack trace:
#0 /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php(54): mb_detect_encoding(‘{“all”:{“margin…’)
#1 /home/plusox15/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_content.php(219): td_css_res_compiler->load_settings(‘tdb_single_cont…’, Array)
#2 /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php(321): tdb_single_content->get_custom_css()
#3 /home/plusox15/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_content.php(355): td_block->get_block_css()
#4 /home/plusox15/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdb_single_content->render(Array, ”)
#5 /home/plusox15/public_html/wp-includes/shortcodes.php(343): td_global_blocks::proxy_functi
I just noticed that no matter what headline size I give the blocks on my homepage, they are always displayed as <h3 class=”entry-title td-module-title”> in the live version.
In the composer, however, the headings are set to h2.
I have already tested the usual (plugins deactivated etc.) and it stays that way.
Google complains of course, because the headline structure of the page is not correct. Does anyone have any idea how I can fix this?
I’m saying is starting with no sound.
This is a post I made with the code I took from a page. Maybe this is the problem
https://prnt.sc/tk1l2x
Code is here
[tdc_zone type="tdc_content" row_bg_gradient="rgba(190,188,196,0.25)"][vc_row full_width=""][vc_column][td_block_video_vimeo playlist_v="430301933,430301792,430301530,430303534" playlist_auto_play="1"][/vc_column][/vc_row][/tdc_zone]