- 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 Newspaper Team ,
Thank you for your support I finally finished my website, and recommended this theme to my friend .. easy and flexible
I have just a question and searched for solution but didn’t find a way to make it !
I have switched from gutenberg to Classic editor and I want to add a button contain this code <!–nextpage–> instead of writing this code each time screenshot for what I’m talking ( http://prntscr.com/nghr3k ) I have checked all option
You only guys expert in this Hope you can help me with this
Thank you so much
Hi,
There is no recommended size, but for a good quality of thumbs please make sure that your image is not very small.
Please check our documentation for Featured images -> https://forum.tagdiv.com/featured-image/
Theme thumbs -> https://forum.tagdiv.com/theme-thumbs/
For this will be more easy if you choose to use some flex blocks, these have more options -> https://www.screencast.com/t/ySnWPlF3BCb you can change the thumb or the width/height of image, you can change the place of meta info.
Thank you for your understanding!
Thank you for your assistance! That helped my situation and I think I have it covered now.
I do have another question: Is it possible to change the order of the posts that appear on the flex grid on the front page?
Here is my site: http://thedialogic.com
I am looking to have my most recent post in the biggest, middle slot, while the rest of the recent posts fill in around it.
Hi,
Also, please notice that api-plugin.php is no longer available with our theme and you need to use the creative-plugin.php if you want to create your own blocks. Please check here -> https://forum.tagdiv.com/developer-info/
Try to use the Flex Blocks which allows you to create your own style. Check here -> https://www.screencast.com/t/ODOfoS0vBO where you will have some available options for that element. Also, you can take a look at this -> https://tagdiv.com/discover-flex-blocks-customization/
Hope this helps!
Thank you!
Hi,
Usually is better to have some bigger images, in this way you’ll have beautiful thumbs, but these will still be crop.
For this will be more easy if you choose to use some flex blocks, these have more options -> https://www.screencast.com/t/ySnWPlF3BCb you can change the thumb or the width/height of image, you can change the place of meta info.
Thank you!
Hi,
If the mobile theme plugin is active, what is displayed on mobile will be a different from desktop. For example the mobile homepage will display a top grid with 3 featured posts (if there are any) – https://forum.tagdiv.com/featured-posts-2/
Below that grid will be a latest articles section. The mobile theme is specially created for mobiles, it is faster than the default responsive theme version. Other pages will be empty on mobile, if there is no content entered in the mobile editor for each page
– http://prntscr.com/ng341f
Here you can read more about it – https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
Regarding that border, from what I can see the top bar is empty (no login, no weather no socials etc). You could disable it entirely if you do not want to display any elements in it – http://prntscr.com/ng373y and the problem will be solved.
The “Read more” that the block uses cannot be disabled. You could use a different type of block, maybe a flex block (these have an show/hide “Read more” button setting).
Here are some block designs made by us that can be imported with the cloud library plugin
– https://cloud.tagdiv.com/#/load/Blocks (they are all flex blocks).
However if you want to keep using block 24 and wish to remove the button there is a solution. I could give you a code to remove it – http://prntscr.com/ng3941
Enter this code in the Theme panel->Custom code-> CSS code section
.td_block_24 .td_module_19 .td-read-more {
display: none;
}
If you want to keep the block and the button but change the text it displays, you can translate it in the Theme panel->Translations settings – http://prntscr.com/ng39vz
Please let me know if you have more questions.
Thanks
Hi,
We tried to get your attention for child theme in our article, for the moment that a lots of files was moved in tagDiv Composer plugin, these files that was moved will not work in child theme because now these are in plugin not in theme -> https://www.screencast.com/t/z5pqD3i116Uw -> https://tagdiv.com/updating-the-core-of-tagdiv-themes/
Unfortunately, the old td-api-plugin plugin does not work anymore and we recommend using this -> https://forum.tagdiv.com/developer-info/
You can create these modules that you made with that api using the flex blocks and you can save the element in a shortcode to can use it later in orders pages -> https://www.screencast.com/t/a2ikt4tq
Thank you for your understanding!
Hi,
Unfortunately in Newspaper v9.7 the td-api-plugin will not longer work, sorry! you can achieve the modules that you made with that api using the flex blocks and you can save the element in a shortcode to can use it later in orders pages -> https://www.screencast.com/t/a2ikt4tq
Most of the theme files were moved into the tagdiv composer plugin as per the requirements of envato: https://help.author.envato.com/hc/en-us/articles/360000472383-WordPress-Theme-Requirements.
We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/
Moving forward with such requirements, a child theme will only work with functions.php, and style.css as there are very few files left in the main theme as envato requires all functionality to be added through plugins.
Sorry for the inconvenience and thank you for understanding.
Hi,
Due to changes made in the theme in the 9.7 update the file where the thumbnails are made is now part of the composer plugin – http://prntscr.com/nfm73c
More about it here – https://tagdiv.com/updating-the-core-of-tagdiv-themes/
You could modify the cropping there if this is required, but the modifications will be lost after a theme update when the plugin is updated.
However maybe there is a different way of achieving the results you want. For example if you want to have more control over how a thumb looks in a module, you could use a flex block or flex grid – http://prntscr.com/nfmaaj – http://prntscr.com/nfmaer these have some settings for customizing how the image looks. Let me know if you have more questions.
Thanks
Hi,
Please try not to reply multiple times in your own topic, this will only delay the response on our part. It will refresh the topic date and move it to the bottom of the queue, we answer from oldest to newest.
Regarding the issue, note that the old API plugin will not work anymore. You can use the new creative plugin for this purpose – https://forum.tagdiv.com/developer-info/
But maybe what you are trying to do is possible without resorting to this plugin. The flex blocks have multiple options and settings and can be customized in many ways. You could use a flex block instead of adding new ones.
Thanks
Hello,
The big grid flex allows you to set the fonts directly in the tagdiv composer on the block settings under the style tab: https://www.screencast.com/t/9pRvRv6V
Thank you!
Hello,
The flex blocks do not have separate modules. It is a single module for each flex block that is flexible and adjustable.
Thank you!
Hi,
Unfortunately the theme do not have an option to can change the image like that, you can achieve this using custom code.
Or you can achieve something similar if you are using Flex blocks, those have more options.
Also your example is more like a RTL language.
Thank you for your understanding!
Hi,
Just wondering if the category IDs that you choose to show in the ajax categories dropdown section of a box/flex box can be shown in order of latest posts instead of alphabetical order.
I have a lot of categories I want to include in the flex box but I only want the categories with latest posts to show in the top menu of the box (ajax dropdown). I don’t want the categories to show in alphabetical order.
Thanks
Dear Sir, I want to change font size of NEWSPAPER FAST NEWS THEME td_block_big_grid_flex_10. Please Find Attachment.
Finally found a block previewer, so you don’t have to guess what’s different about each [tagdiv] block:
Hi
Do you have a version of this, https://forum.tagdiv.com/theme-blocks-modules/ that shows the flex blocks and modules? Espcially for Flex Block 4.
Thanks.
Gary
Hi,
I have to add booking.com products affiliate products code in my posts. when i add code in code editor and publish post, post only shows text “Booking.com” and link point to booking.com. Infact this code should result in showing a product box of booking.com
Code is correct as i havhe copied it from my Booking.com affiliate account. below is the code.
<ins class=”bookingaff” data-aid=”1520842″ data-target_aid=”1520842″ data-prod=”rw” data-width=”0″ data-height=”0″ data-lang=”en” data-show_rw_logo=”1″ data-show_rw_badge=”1″ data-show_rw_text=”1″ data-show_rw_border=”1″ data-hid=”1355327″>
<!– Anything inside will go away once widget is loaded. –>
Booking.com
</ins>
<script type=”text/javascript”>
(function(d, sc, u) {
var s = d.createElement(sc), p = d.getElementsByTagName(sc)[0];
s.type = ‘text/javascript’;
s.async = true;
s.src = u + ‘?v=’ + (+new Date());
p.parentNode.insertBefore(s,p);
})(document, ‘script’, ‘//aff.bstatic.com/static/affiliate_base/js/flexiproduct.js’);
</script>
I dont know how to resolve this issue. please help.
Hi,
If you want to change the width of your sidebar on homepage you need to edit the homepage with tagDiv Composer, click on the sidebar row and change the row layout -> https://www.screencast.com/t/Rcncsbbk , but please use only flex blocks to work properly -> https://www.screencast.com/t/K9TNMNskct
For posts sidebar you’ll need to use a single post template from tagDiv Cloud Library edit it like in homepage and set it on posts.
Thank you!
Hi Calin,
Cleared cache 7 times, it is still appearing. I have checked the settings and the category is set on hidden. Also checked the Theme Panel and also made sure Category on Flex 1 was hidden. Cleared cache again and nothing changed.
Hi,
Why you are not trying to use the flex blocks, -> https://www.screencast.com/t/BBDb9xAa this will be more easy and you’ll not have problems when you’ll make a theme update.
If you still want to create a new block with new thumbs size you need to go in wp-content/themes/Newspaper/includes/td_config.php and set the code for blocks like in our documentation -> https://forum.tagdiv.com/api-thumbnail-introduction/ ( change the thumb size, the width and height for block)
-> https://www.screencast.com/t/vU7mu6g8o
Thank you for your understanding!
Hi,
You can achieve something like that using tagDiv Composer or import one homepage or a template from tagDiv Cloud library and edit it.
Here is an example with flex block 1-> https://www.screencast.com/t/0w4XQsIw9
Thank you!
Hi,
I made some test and for me is working without problems -> https://www.screencast.com/t/rWNmESSgM -> https://www.screencast.com/t/1hY4VvaC
Please make a test and try with two new flex blocks, hide on one of theme the category.
Thank you!
Speed Booster v4.9.3 – Disabled – incompatible plugin detected: cloudflare-flexible-ssl/plugin.php
Hi,
Just make sure that you are using flex blocks, those will adapt, also please use only one builder ( TagDiv Composer ).
If the problem persist, please provide some more details about blocks, row layout that you have set and is providing this problem, to can some investigations for this problem.
Thank you for your understanding!