- 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
Hello,
I’m trying to create my homepage but every time I tried to drag in a section or block I just get the waiting circle and nothing happens. I followed the video tutorial but every time I try to add anything I just get the loading circle.
Hello,
The mega menu as well as other blocks in our theme such as the big grids, will not have an excerpts section. If you want to make it custom, you will need coding skills to do it. We You can replicate the code used on other modules that have the excerpts present:
https://www.screencast.com/t/dTvfe46A
Thank you!
Hello,
The element you mention is a simple image box element. it is an image with a custom link set to it. You can change that link to whatever url you prefer from the tagiv composer block settings. It will no detect posts or have sorting options. for that you will need another block element. The image box is just an image and url.
Thank you!
Indeed, that is already added on our list of improvements. So it might be available in the theme in the future. I could not give you a time estimate unfortunately.
In the meantime you could try the solution in this topic if you want the category tags to be colored by category name
– https://forum.tagdiv.com/topic/category-label-appearance-on-block-1/
Hi,
Try a code like this in Theme panel->Custom CSS section
.home .td_block_wrap {
margin-bottom: 0;
}
Most blocks and in this case the hero element have a margin bottom set by default, this code will remove that margin for the hero element in the homepage
– https://www.screencast.com/t/z1kwBeBH
Thank you!
Hello,
First please make sure the image is bigger than the thumb of the grid. Our theme will not enlarge images. Then please use this guide: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thank you!
Hi,
There would be no way of differentiating between the same module type by category, on a blog page. On a static page built with a page-builder there would be more control,custom classes can be set for each block, row or other various elements
– https://www.screencast.com/t/iym4M2SJ
That way you can individualize sections of the page if you want to create design for it.
Thanks
Hi,
I am using Block 4 on my home page (full width) but I only want 2 collumns.
How do I set block 4 to show 2 collumns?
Thanks
Richard
The issue was related to the news ticker only, there were no issues with space between blocks. I believe an extra paragraph appeared in the news ticker, but it was fixed quickly. So now placing a news ticker in a page will work properly.
7. The theme width is fixed, it is not recommended to change it and there is no general width setting. The post content width is fixed as well, it will be 696px with a sidebar
– https://demo.tagdiv.com/newspaper/wordpress-news-magazine-charts-the-most-fashionable-new-york-couples-in-2016/
And the full theme width with no sidebar
– https://demo.tagdiv.com/newspaper/td-post-five-things-you-may-have-missed-over-the-weekend-from-the-world-of-business/
8. That is possible, there is a margin and padding set for that module
– https://www.screencast.com/t/ZgYl8y9cUl
Those could be reduced with a code like this
– https://www.screencast.com/t/GBq3Ndmwm
Or use the values you want in the code, then enter it in Theme panel->Custom CSs
.home .td_module_12 {
padding-bottom: 10px;
margin-bottom: 20px;
}
9. The excerpt text will either be picked automatically, or you can set one manually
– https://forum.tagdiv.com/excerpts-introduction/
You can only change the module used for the posts on the whole blog page, not by post. In a static homepage or page you can use any type of block and there are more possibilities
– https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
10. Where exactly is this indentation, I cannot find it. I have browser the website but I don’t know what to look for exactly.
Thanks
Hi,
I found the error myself. It was an AD blocker activated which blocked the ad title but not the image displayed as an AD. It was uBlock Origin.
Sorry for the inconvenience.
Regards
Marco
Hi,
Each block can be customized in terms of the content it will display. From what I can see in the screenshot that looks likes a sidebar in a post. Identify the sidebar used, then go to Appearance->Widgets configure the block as you wish
– https://www.screencast.com/t/DuPk7Y8Qp4G2
Thanks
I use several blocks because I’m testing the style 🙂
But yes, I can use v block 6 in all the blocks, so I can use the same example as the demo craft.
What am I supposed to do?
Thanks a lot @Simion C.
how can I put excerpts in the mega menu, or any block, what would be the line of code?
Make the change in this file (demo_style.css) no need to do in other files. So changing the color here for example will affect the module titles
– https://www.screencast.com/t/0q5Gn2ZU3OO
Or you can remove that code
– https://www.screencast.com/t/X6vGjT08pJuy
Then the situations mentioned above will apply, either theme accent color or block individual settings.
i mean dynamicaly depending on category color set in theme panel.
if you set a custom color for a special category (most news website will have many categories), you will see this color in contents if cat tag are displayed, but this color won’t be applied to blocks and modules:
..but not in blocks ;(
Unfortunately there is no such list at the moment, we will try to add more documentation in the future for this and other elements. Basically part of the settings from the Layout, Style and CSS tabs can be customized by viewport.
Only the flex block has a setting for the category tag color, other block do not have such an option at the moment. It could be added later. The category tags in all the other blocks is a default color
– https://www.screencast.com/t/aI6Tx9uNhK
While the hover color will be the theme accent color or block title text color if set. You could only chnage the color of them with CSS if needed
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
You could install the demo and then simply replace the image used by it with your own. Or you could set the image without installing the demo.
Because you are using multiple block header styles this will require a code for each block template used, a general one will not work. For example the crafts demo uses block header template 6 and a general code for all the title backgrounds, it is easier that way.
Hi,
You could try to regenerate the thumbnails, using this guide
– https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
This will recreate the thumbnails. Then clear all caching and CDN and check the results.
Basically as long as the source images are of quality the thumbnails will be of quality as well
– https://forum.tagdiv.com/thumbnails-vs-featured-image-size/
The live demos use higher quality images
– https://demo.tagdiv.com/newspaper/
Let us know the results.
Thanks
Hi,
I am using the “Hero” element on a page with the “Pagebuilder + Empty page” template setting for the page and there’s a white block of space when you scroll down to the bottom of my website (wamserforallentown.muhlenbergweekly.com or see screenshot here). I disabled the Cookies for Comments plugin, entered the code in this forum post and disabled the footer altogether, but the white space is there still. I just set up this subdomain so there are no/very few plugins. I am happy to provide login information if necessary. Can you help fix this?
Thank you!
Hello,
I’m writing to see if anyone has experienced this and can provide some tips we could use to troubleshoot.
At some point, the mobile menu and mobile search button stopped working, when our site is viewed on a phone. (Viewing the page in responsive/mobile view on a desktop Chrome/Firefox works fine.)
The odd thing is, the menu/search button works on most single article pages, but not on pages which include blocks listing video stories. (We found this by deleting blocks one by one, until we found that blocks with video seem to ‘break’ the link to the mobile menu.)
Example can be found on https://www.caymancompass.com, where the search or menu buttons do not respond to touch. This means that when the home page is viewed on a phone (android or iPhone), the buttons for menu and search do nothing.
We are using the regular theme, not the mobile theme plugin.
We have other sites using this theme, without these problems. We cannot find any obvious differences though.
Our live site is still at Newspaper 7.3, due to some custom code required by the boss, which needs to be rebuilt to work with themes newer than 7.5. Any hints (that don’t involve full upgrade to 8.7+) would be appreciated.
We tried: turning off Autoptimize and WP SuperCache, clearing cache in Cloudflare, upgrading to the latest visual composer, downgrading visual composer, turning off some plugins we added, removing and replacing blocks on home page, commenting out CSS, taking out Javascript and/or CSS from Autoptimize.
It could be something simple we missed. Any hints would be appreciated.
the block can not be edited because I use the default template. is there some code that i can delete? I checked the block setting but I did not find the menu.
Hi,
There is a plugin provided that may help with render blocking, the tagDiv speedbooster plugin. But this plugin will not work when it detects other plugins installed then a predefined list
– https://forum.tagdiv.com/how-to-make-the-site-faster/
There is a solution to disable that check and making further tests
– https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/
Disabling it could break plugin functionality that is why it was implemented. But that may happen with other page speed tools. You could make tests with it, or try other optimization methods or solutions online. There are many speed guides provided bu theme users, here in the forum
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
Thanks
Hi,
That numbered pagination is only present in the latest articles section, category pages etc but not on blocks. Blocks have only the pagination options mentioned in the guide, not a page pagination
– https://forum.tagdiv.com/block-settings-guide/
The layout of the latest articles cannot be full width, there are no settings for that at the moment. Sorry if this is an inconvenience for you.
Thanks
Hello,
You can show different post types as well in our theme blocks. You will have to specify the post type in the blocks however. Please use this guide to properly set up your blocks:
https://forum.tagdiv.com/block-settings-guide/
Thank you!
Hello,
Please use this guide for the first issue: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
for the second issue please change the global headers template: https://www.screencast.com/t/6qZEBwMm5o
Thank you!