- ApiPractical example – How to add a new Block and Module
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_module::delete
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- ApiUsing the Theme API in plugins
Hi, I added in the function.php of the theme the code to insert the tinymce in the titles. Everything good. I would like it to be seen also on the flex 1 module. Is it possible to have a code string to add it inside the module? Thank you
This is the code I inserted inside the function.php of the theme:
function tinymce_title_js(){ ?>
<script type=”text/javascript”>
jQuery(document).ready( tinymce_title );
function tinymce_title() {
jQuery(“#title”).addClass(“mceEditor”);
//tinyMCE.execCommand(“mceAddControl”, false, “title”);
tinyMCE.execCommand(“mceAddEditor”, false, “title”);
}
</script>
<?php }
add_action( ‘admin_head-post.php’, ‘tinymce_title_js’);
add_action( ‘admin_head-post-new.php’, ‘tinymce_title_js’);
function tinymce_title_css(){ ?>
<style type=’text/css’>
#titlewrap{border:solid 1px #e5e5e5 !important;}
tr.mceLast{display:none;}
#title_ifr{height:50px !important;}
</style>
<?php }
add_action( ‘admin_head-post.php’, ‘tinymce_title_css’);
add_action( ‘admin_head-post-new.php’, ‘tinymce_title_css’);
Hi Calin
Thank you for your quick reply.
I think using second option is less risky but how is this possible to use a flex blog inside a single post? This solution is for pages I believe?
We use classic editor while creating a new post and just copy paste a url in the content..
Hi,
What you can do is to regenerate the thumbs and check the results -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Another thing that you can do is to use some flex block or a Big grid flex you have some more control over the featured image using this element -> https://i.imgur.com/9eZ0pJe.png -> https://i.imgur.com/HgOkyQp.png
If there is still a problem, please provide me a link!
Hope this will help you!
Thank you!
Hi,
If you do not like that color, you can remove the extra class from flex blocks -> https://i.imgur.com/gfsHWKP.jpg or the class from theme panel -> https://i.imgur.com/Umuw7q0.png after that set your own color effect on flex blocks -> https://i.imgur.com/isPN1A6.png you can check more in our article from here -> https://tagdiv.com/blending-modes-newspaper-theme/
Also if you want you can use a custom css for all flex blocks that have the .td-background-blend class and change it like this -> https://i.imgur.com/iKRNU56.jpg
.td-fashion-pro .td-background-blend .td_module_wrap:hover .entry-thumb {
background-color: #d11a1a6b;
}
The color need to be transparent/opacity -> https://i.imgur.com/R4WsokU.png
The code need to be set in theme panel> custom code > custom css.
Thank you!
My problem was resolved with a re-clone of the site and re-install of 10.3.2. I’m still having some minor interface issues but they are of little concern and the site is now working properly. Calin logged into my site and confirmed the issue but in trying to fix it the whole site became unstable, so clearly it was a bad clone because on setup of the new clone, it worked just fine. Thanks Calin!
Now I can get back to getting rid of the legacy code and using the newer blocks that are not dependent on the Standard Pack.
And I’ve finally found the combination of elements that replace the old block 11, which is flex block 1, image alignment set to float left and then spacing to suit your needs.
Other than a world wide pandemic, things are moving right along…
-
This reply was modified 6 years by
imkimc. Reason: (forgot to thank Calin)
Hi,
I do not understand what you want to achieve, please provide some more details.
If you want to create a new block then we recommend to use a flex block, these can be easily edited using tagDiv Composer.
Thank you!
Hi,
In order to add that block, you need to use tagDiv Composer, edit the page -> https://i.imgur.com/82HqXoE.jpg and add the flex block 3 -> https://i.imgur.com/H3qj7M6.jpg after that edit it how you want https://i.imgur.com/ircxL9P.png -> https://i.imgur.com/sHUtHyB.png -> https://i.imgur.com/LQzmetz.png
Hope this will help you!
Thank you!
Dear, I am a Newspaper theme user.
My Web- https://shikkhapedia.com/
now I need support-
in your demo site flex block showing with the menu bar- https://www.screencast.com/t/UkfzTeK0u48
but in my site not showing the menu bar- https://www.screencast.com/t/ugw0Aubo
Need your support, please.
Hi there – I’m using Flex Block 5 and trying to turn on the Modules Divider option (under Layout tab) but when I am editing the Mobile Phone view and turn it on, it turns on across all views (desktop, tablet, etc.)
I’m not sure if that’s expected behaviour? Usually when I adjust a setting specifically in mobile view – it only affects that view?
Thx!
Hi, I’m working with Newspaper theme and I want to create, in my homepage, a block were the author avatar is near and aligned to the article title.
At the moment, I’m using Pulse demo materials and I created, with Flex Block 1 the section that you can see in this screeshot:

But I want to obtain something like this:

Hi,
If you are using a flex block, not bloc, like flex block 1 you can set the layout of the block per device, therefore on desktop you can display 3 post inline and on mobile you can display the one above the other -> https://i.imgur.com/m2xRgkb.jpg -> https://i.imgur.com/5BxDfs9.png -> https://i.imgur.com/oj1RFtd.png you can customize the flex layout how you want per each device.
Let me know the results!
Thank you!
Hi,
Unfortunately not, all the posts titles from all the blocks/flex blocks/grids are using the same module, and the mega menu use flex blocks to display the post as in page content.
Thank you for your understanding!
Hi,
Ive been using the Newspaper theme for a number of months now and one of the things that is still really frustrating me is how my pages adapt to mobile. It just doesnt work properly. Its really frustrating that there isnt a way of being able to tweek how a page displays on mobile. I am finding that every time i design a new page, I am having to think about how it will look when it displays on mobile. This is making it difficult to design good looking pages as I feel so restricted in how I can structure them.
For example, if I have use a ‘flex box 1’ and have three posts displayed horizontally under a category title, they all look great on the desktop. With the resposnive theme however when it changes to mobile, it basically crams all three posts horizontally with the titles being crammed into the same amount of space but displaying vertically down the page. It looks aweful. Surely there is a way of making the flex box display posts vertically on the mobile theme so that they display properly on the mobile page? Obviously if I make changes to the structure when displaying in mobile mode, it changes in desktop mode too. It just all seems so rigid. The responsive design does not display content on mobile in the most logical and easy to read way!
Many thanks
I’ve tried to add a new flex block and set it to h2 but that didn’t work too. It doesn’t matter which kind of heading I choose in the tagdiv-composer it always shows a h3. That is really no solution!!!
Why it is just possible to adjust the Title Tag but not the headings that are shown in the flexblocks. They are always h3. Where I can find them in the code to adjust it there? And how I can get rid off the dublicate H1?
-
This reply was modified 6 years by
Topfgartenwelt.
Dear Vlad, I have cleared the cache but there is no change. The flex block is set to h2, but it shows a h3 heading. And why there is a duplicate H1? You didn’t answer that question! Here is a link with pictures: https://www.topfgartenwelt.com/newspaper
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
After changing to my custom domain I can test now the onpage seo on my blog. Therefore I used seobility.net: https://freetools.seobility.net/de/seocheck/www.topfgartenwelt.com and there are shown up many problems with the headings at all.
1. There is duplicate H1 on the Homepage –> how can I fix this? I created the header with a cloud template, the standard pack is disabled.
2. I used the flexblock 1 to show the posts. In the composer I have set the title tag SEO to H2, but in the audit they are shown up as H3 and they are duplicated. A H2 Heading is completely missing. This is for SEO not good at all. How I can get them to H2 and how I can delete the duplicate headings?
The link to the homepage is: https://www.topfgartenwelt.com
Greetings Kathrin
Hello !
On flex blocks you can achieve this by setting the post to audio as you can see here: https://prnt.sc/rv90z1
Thank you !
Hi,
Sorry, unfortunately here is no option in our theme to change the h3 from mega menu.
In the last version, Newspaper v10.3.2 you can change the H from the related articles. For the “related articles” if you are using a single post template from tagDiv Cloud Library, then you can edit it using tagDiv Composer -> https://i.imgur.com/6mr0dak.jpg go on relates articles and remove it -> https://i.imgur.com/6Cui4eg.png add a flex block and customize it -> https://i.imgur.com/jxwj7SK.png -> https://i.imgur.com/o561TyC.png
Thank you!
Hi,
I thick that you are referring on this -> https://i.imgur.com/burTJ4Y.png for this you need to edit the single post template with tagDiv Composer -> https://i.imgur.com/zZlN4mN.png and use a flex block 1 -> https://i.imgur.com/EzhVpfr.png in filter tab sect this -> and will filter only the posts from the current author -> https://i.imgur.com/f7A8DnE.png -> https://i.imgur.com/ixKW4zc.png there is no need for other settings.
Hope this will help you!
Thank you!
Hi,
The popup video ad can be set on flex bloc -> https://i.imgur.com/p03VYDU.png also for the problem with the video when you scrolling, 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.
Thank you!
Hello !
You can edit that page’s color using tagDiv Composer and it should not affect the rest of them.
I would suggest you to disable standard pack and recreate manually all the content from Nature love template using the flex blocks and other new elements.
Thank you !
Hello,
I would like to show byside a blog post of a user the latest articles of this user. Without any click, no ajax Dropdown. There will be a lot of Users and in a sticky Flexbox1 there should be the posts of the actual user. Ajax Dropdown and Filter are not the right solution, because the number is fixed to all pages. You can see my problem on: https://www.medreport.at/?p=171 (I want the left flexblock to show all articles related to the person above)
So now i want to ask you for a solution that works for my task. I tried to adapt the filter by code but i couldnt achieve any succes:
Thank you Calin for the detailed explanation — but I’ve already tried that. Problem is that the layout is different than my desired layout (even if I hide post image, category etc’…)
Using Flexbox: https://i.imgur.com/tLEchxo.png
The desired layout: https://d.pr/i/5piIPo
I think this will require creating a custom element flexbox or block? please advise. Thanks so much.
Hello,
I use Big Grid Flex 5 on my homepage, but some posts don’t have featured image
How I can make the settings
https://forum.tagdiv.com/flex-block-settings-guide/
Thanks a lot
Hi,
This can be done using flex block 1, but I think that will be more fast if you import a pre-made section similar with what you need, for this you need to use tagDiv Composer -> https://i.imgur.com/6emsSYJ.png I think this one is good -> https://i.imgur.com/tQmuxsj.png all the time the section imported from tagDiv Cloud Library will be set at the bottom of content, you can drag it from there and place it where you want.
here are the results -> https://i.imgur.com/Xzg2smK.png now we need to remove the category and display the author and make the image round, click on the flex and check the layout tab -> https://i.imgur.com/l4basGs.png -> https://i.imgur.com/QqAFGz2.png and here is the best you can achieve -> https://i.imgur.com/8TAOlWH.png also if you display the category too -> https://i.imgur.com/1rkeWdV.png
Hope this will help you!
Thank you!