- 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
Update 2: Problem Solved, htaccess was blocking it
Hello!
I would like to be able to control the block title background and underline, as demonstrated on the front page of the main Newspaper demo, and as pictured in Theme Panel/Black Settings/Block Header Template. I am using default style 1 but don’t get the block title background, or the underline. I used the Say What demo as the basis for my site, so it may have some styling overrides hidden somewhere. Where are the title sections for the blocks styled? Is there a section of each block settings to set a rule/underline?
Thanks,
Bruce
I remembered something with grid 2, my mistake. For grid 6 it would be like this
– http://prntscr.com/kfbghj
.td_block_big_grid_6.td-grid-style-1.td-hover-1 .td-post-category {
position: absolute;
top: 0;
left: 0;
bottom: auto;
}
.td_block_big_grid_6 .td-meta-info-container {
height: 100%;
}
.td-big-grid-post.td-big-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 50px;
}
.td-grid-style-1 .td-big-thumb .td-module-meta-info {
position: absolute;
bottom: 0;
}
.td-tiny-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 20px;
}
Hi, I’ve tried it and I use the big grid 6, the blocks above are perfect but the ones below are the title at the top.
That code from above does not work with the big grid, also maybe with some other blocks maybe. Try this one for big grid 2
– http://prntscr.com/kf8dd4
.td_block_big_grid_2.td-grid-style-1.td-hover-1 .td-post-category {
position: absolute;
top: 0;
left: 0;
bottom: auto;
}
.td_block_big_grid_2 .td-meta-info-container {
height: 100%;
}
.td-big-grid-post.td-big-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 50px;
}
.td-grid-style-1 .td-big-thumb .td-module-meta-info {
position: absolute;
bottom: 0;
}
.td-big-grid-post.td-small-thumb .td-big-grid-meta .entry-title {
position: absolute;
bottom: 20px;
}
You can modify it if needed of if there are problems with it.
So you want that page “ALBUMRECENSIES” to show up in the mega-menu, instead of the sub-category page. The mega-menu only works with categories, displays posts from categories. It is not supposed to display pages, that is what the page menu would be for.
But what would be the purpose of including the page instead of the sub-category exactly? Category templates can now be built just like pages, with the tagDiv composer so the design of the category page is not a problem.
Maybe leave it as a category maybe, and design a category template as you want with the tagDiv composer. You can make the category template exactly as the page you created with the flex block
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Please try and make use of the available theme options instead of code modifications if possible, these might not work with future theme modifications by update or even be lost after an update.
We try to add more features with each update, more multi-purpose options for both news publishing and other areas. But these take time and lots of testing.
Hello,
The meta info is handled separately for posts and for other templates such as pages or categories. If you want them removed from the etire site you also have to disable them from here: https://forum.tagdiv.com/meta-info-modules-blocks/
Thank you!
Hi,
That is unusual, the theme will create thumbnails from the featured images, not load and serve scaled original images.
From what I can see the thumbnails are not created properly in your website. When using the theme with existent content it is recommended to regenerate the thumbnails
– https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
GD library has to be available, check that before regenerating in the theme system status.
The regeneration process will create all the necessary thumbnails that appear in blocks/modules.
Hi,
I want to use TagDiv composer to add 2 widgets in the header.
What would be the PHP code ?
Thank you
Hi, is there any way that the same news on the main page does not appear on the big grid as on the block? That is to say: in the big grid I have:
NEWS 1
NEWS 2
NEWS 3
and in the blocks I have:
NEWS 1
NEWS 2
NEWS 3
The news is repeated, they could be put on the big grid:
NEWS 1
NEWS 2
NEWS 3
and in the block:
NEWS 4
NEWS 5
…
http://imagizer.imageshack.us/a/img924/6506/JKfRiU.png
url web: http://www.golsur.com
I’m afraid that’s not what I’m asking.
In the menu I make us of mega menu categories.
I really need to make the “album recensies” show up in photo’s to the right,
whereas the link should point to the page http://v2.enola.be/albumrecensies/ instead of the category: http://v2.enola.be/category/muziek/muziek-recensies/
Can this be done in the mega menu block file ?
I tried writing a redirect url instruction in the functions but it’s simply not responding at all.
$url = 'http://v2.enola.be/category/muziek/muziek-recensies';
$my_var = 'category/muziek/muziek-recensies';
$url = str_replace("albumrecensies", $my_var, $url );
Hi there @bogdan any idea when are you going to release the new version with the Gutenberg compatibility? WordPress 5 is close enough to start preparing our sites for that. Moreover too get use to the new interface and the blocks in the composer
I need your help
I want to change the background color of the site. I found where I can change the background color, but the color does not change under the posts and all the blocks in the center of the site. I can not do anything. I read all your guides and could not find anything. please, help me
Also, note from your dashboard you will want to install the ‘classic mode’ plugin prior to moving to WP 5.0 as this will allow you to keep all ‘current’ functionality of the post editor and the pagebuilder. You don’t need to activate it until you plan to upgrade to WP 5.0 (although you may wish to install/activate *now* if you have WP auto updates active, which is not a good idea for daily admin folk anyway).
@simion — Likely there should be a bump in the TD Composer or NP/NM theme update to mention this with a panel added to dashboard ala the new Gutenberg info box?
Gutenberg fundamentally changes the way a post is made, trying to make it a bit like old Quark and PageMaker DTP software, where every element is a ‘block’ — even multiple items on the same page, and it’s a bit wonky as you can end up with blocks you don’t want, and you can’t easily copy/paste the whole shebang into another site, and basic elements like shortcodes, custom fields, etc., might not work at all.
The classic editor will be the best choice for most people using ANY theme built with pagebuilders for the near term. This is for WP 4.9x and up. Not needed for older (and, ahem, insecure versions of WP).
Hi,
With the Newspaper theme, I am trying to use the widget Block 15 (3 posts with images on two lines) in a menu block in the Max Mega Menu. It is working fine except after 2 posts the third one goes under. I had a look, I put a fixed width way bigger than needed, the third post always under? Thank you for your help.
Remove the code that I provided for the margins initially (space), this one
.td-footer-bottom-full .td-pb-row>div {
margin-bottom: 0;
}
This code removed both these margins – https://www.screencast.com/t/SSCLy36Rg
Now the new one will remove only the margin below the logo, you said that you want some space between the email and social
– https://www.screencast.com/t/QFFXdC1KhUA
So the margin below the About us will remain – https://www.screencast.com/t/qcqEBG3uLX4
If none of this is what you want, remove all the codes provided in this topic and explain in more details how you want it to look. Make some screenshots so I can provide a more accurate solution.
The result should be like this using the intended codes only, the ones below
– https://www.screencast.com/t/bLh5xKR96BC
.td-footer-bottom-full .td-pb-row>div.td-pb-span3 {
margin-bottom: 0;
}
.td-theme-wrap .td-footer-bottom-full .block-title > span {
color: #ffd100!important;
}
Ok, these are the only 2 I have in the phones section and I can see the text but there is still not that carriage return (or space,or whatever) I’m looking for. I tried deleting the first and only having the bottom one and it didn’t work. I had the bottom 2 and the text turned to purple.
.td-footer-bottom-full .td-pb-row>div {
margin-bottom: 0;
}
.td-theme-wrap .td-footer-bottom-full .block-title > span {
color: #ffd100!important;
}
.td-footer-bottom-full .td-pb-row>div.td-pb-span3 {
margin-bottom: 0;
}
Hi Simion,
I am positive that when the time comes we will think of the best solution in the matter.
Great to hear! I’m sure with the latest Gutenberg news you already thought about it or are thinking about it?
Would be great to use the tagDiv elements as blocks of the Gutenberg editor!
Thanks,
Jan
Hi,
The page menu looks huge because the flex block used seems to have a limit of 15 posts. Decrease that to the limit you want, in the flex block general settings
– https://www.screencast.com/t/weJncczMjoq
The page is displayed in the menu as you create it with the composer.
The regular mega-menu has a limit of 4 articles, with sub-categories on the left of the posts.
Hello,
following a rather troublesome issue with custom alphabetical taxonomy, I now have created seperate alphabet pages linking them to each other, splitting up the album review section.
The menu links to a mega menu category “music” which also features the “album reviews” section, which houses the most recent posts and should contain a menu to the archive.
Problem: http://v2.enola.be/
I made a “albumrecensies” page with tagdiv composer (last item in the menu), using the flex block. This gives me a fantastic layout of albums, and makes it easy to add a menu to the bottom.
http://v2.enola.be/albumrecensies/
However if I add this to the menu as a mega item, the example articles I get is way too huge and fills up the entire screen, as compared to the regular “muziek – albumrecensies” option in the menu.
What I would like to see:

What I don’t want to see:

The only option I think I have is simply using category pages and hardcoding a menu in it, however I would then like to make it look like the flex block I created with the tagdiv composer; a row of 5 posts with a content stretched to 1400 px.
Is it possible to adjust the link in the mega menu, so that it shows the category page posts in the menu when hovering, but when clicked refers to the custom created tagdiv page ?
Or would I need to adjust the module used on the category to make it look like the flex block I created ?
So make it look from this http://v2.enola.be/category/muziek/muziek-recensies/ into this http://v2.enola.be/albumrecensies/
thanks for your advice.
The page I built with tagdiv composer, which allows me to use a shortcode plugin where I can make use of a custom taxonomy filter, eliminating the use for having a custom taxonomy filter in the tagdiv composer. I have tried adding that option but I failed miserably so…
Hello Daragh,
Sorry, but there is no simple solution to this request. the best option is to go in manually and set them to open in a new tab. You cannot make all links open in a new tab with CSS. It has to be done by coding it and checking so the code does not affect any other links as well. It could create more problems than solutions.
Each block is made out of modules. Big grids included. Here is a list of which module is used on which block/grid: https://forum.tagdiv.com/theme-blocks-modules/
The module files can be found under the main theme folder/includes/modules.
Thanks for your understanding!
Hello texxxo,
I have checked your website and your Google AdSense seems to work as expected, as you can see here -> https://www.screencast.com/t/FV1Rq2mg Do you have any AdBlock on your website? If yes, you should disable it, clear all the caches and check the results.
Thanks for the message!
Hi,
In this page you display the latest articles since you use the default blog page it seems
– http://vards.net/
There is no control over the posts displayed there.
If you were to create a page with and choose the latest articles template
– https://www.screencast.com/t/TdIZ3g6uE
Then set that page as homepage
– https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
The result will be the same visually. But the difference is that you have control of what is displayed in the page.
The filter settings for the latest articles section are here for example
– https://www.screencast.com/t/Jo8bfFfjjdcN
Or here – https://www.screencast.com/t/QQoQiMvp
The latest articles section by default will show posts from all your categories. However it has the same filtering ans sorting as a block
– https://www.screencast.com/t/CdTQzkeqXjbP
If you don’t want posts from the “Coin Study” category in the latest articles enter the category ID with “-” before it
– https://www.screencast.com/t/WG9ZlrVDit
Thanks