- 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
Thank you for your answer, it’s working now!
But I also have a button below my article that still opens in the same page. I’ve tried to search inside your PHP file for the corresponding div class: “td-read-more,” but there is no such thing there.
Could you please show me where I can edit the behavior of this button? (It’s also inside the flex-block-1 module.)
Are there any tricks/possibilities to apply all these changes about the “open in new tab” link only for “Flex block 1” without impacting other flex block modules? Like using the extra-class field or other CSS options, or maybe another option by modifying this PHP file or inserting a JS script on the block template?
Hi,
There is no option to display the category for each product, even if you use a block from WooCommerce.
Thank you!
Hello,
That is only a title, you can filter the flex block to display posts from a particular category or you can delete it with right-click.
Thank you!
Hello,
Please do the change here https://imgur.com/DrUdqvY in the same file, will apply to all flex blocks.
Thank you!
Thanks for your answer but…
This did not work, does the PHP file you gave me allow modification of this block? [img]https://i.imgur.com/lMdJ8S1.jpg[/img]
I would also like to know if modifying the appropriate PHP file will impact the opening of links in other types of Flex blocks, such as Flex block 2, Flex block 3, etc. Ideally, I would only like to modify the behavior of the ‘Flex block 1’ module
Is it possible to use a Flex Block and automatically get content from sub-categories?
There is an option: Category: Current Category, but it doesn’t include sub-categories.
I know I can do it manually using Multiple terms filter, but that requires IDs and I want to do it automatically based on the parent category instead
Just installed the demo with no errors but front end fonts are not displaying correctly. only displayed correctly when viewing in logged in mode. see screen shot here: https://imgur.com/a/9YksBYZ
Hi,
If you disable the SiteGround Optimizer plugin the menu and search work.
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://spraythemes.com/newspaper-theme/how-to-speed-up-the-newspaper-wordpress-theme-using-wp-rocket/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
Thank you!
Hello,
The current author works in the author template, in the Single Post Template you need to set the filter Single – More from author -> https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hi Guys,
I want the Flex Block at the bottom of my Single Post Template to show most recent posts by the current author.
As you can see in the image attached, the filter isn’t working. It’s showing posts from other authors as well.
Is there a setting somewhere that I’ve missed?
Thanks
Hi,
Is there a way to create a category prefix to show up on single post trmplates before the H1 title? And also to be visible on the category pages as well as all td composer blocks throught the website. What i need is something you can see on this url/website for example: https://monochrome-watches.com/ the prefix (in brown) before the title of the post should be the name of the category and should be visible on all places where this post appear (category page, single post..). It should not be clickable but only to appear as a <span> tag before (not inside) the h1 tag. It should however dynamicaly populate based on the category that single post belongs to.
What i need is the info regarding which of the category/single post templates from newspaper theme should i use and edit to achieve this type of a category show-up. I looked up the sigle.php loop-single and category.php but couldnt fi d the place where i should implement something additionaly to achive this. Can you assist please? All of this, if achiveable, I would implement through the child theme folder so that the cha ges remains during the update process.
Thanks
Hello,
We have created a general purpose page made up of flex blocks. We want to call this page by passing a parameter to the “Multiple authors filter” field in the Flex Block filter section.
Is there any way to do this?
Thank you in advance for your interest and help.
Regards!
Hello,
@scott.dutton I can’t see your screenshot -> https://i.imgur.com/o8S49KX.png also, the website.
@thatdev Please try to use another image size for blocks -> https://i.imgur.com/mGERxc9.png seems not all image uploads have the thumb generated.
Thank you!
Hello @vovi !
It’s possible to be from the firewall or security module which blocks the admin-ajax.php request, which usually displays a 403 or 404 error.
If you don’t use a security plugin, please ask your host about this, maybe you have a security module that blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Also, if you are using Cloudflare, please make sure that is set as in our guide https://forum.tagdiv.com/cloudflare-cdn/, you need to disable the Rocket Loader.
Examine some other potential interfering factors: https://forum.tagdiv.com/general-options-may-interfere-newspaper-theme/
Let me know the results!
Thank you!
Hello @vovi !
It’s possible to be from the firewall or security module which blocks the admin-ajax.php request, which usually displays a 403 or 404 error.
If you don’t use a security plugin, please ask your host about this, maybe you have a security module that blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Also, if you are using Cloudflare, please make sure that is set as in our guide https://forum.tagdiv.com/cloudflare-cdn/, you need to disable the Rocket Loader.
Examine some other potential interfering factors: https://forum.tagdiv.com/general-options-may-interfere-newspaper-theme/
Let me know the results!
Thank you!
Hello, I’ve updated my theme to the latest version (12.3) and also updated its plugins (tagDiv Composer, tagDiv Cloud Library, tagDiv Standard Pack), but now almost every “Flex Block 1” content in my pages which has a number of columns >2 it’s unaligned with gaps in rows, in an unwanted mosaic effect, as you can see here:
https://ilportaledelcavallo.it/category/rubriche/attacchi/
How can I fix it?
Thank you in advance
Hi,
Please edit the cloud template with tagDiv Composer -> https://i.imgur.com/j8YvKks.png click on the block and remove the offset -> https://i.imgur.com/dJ0iFQu.png let that field empty.
Thank you!
Hi,
Please edit the cloud template with tagDiv Composer -> https://i.imgur.com/j8YvKks.png click on the block and remove the offset -> https://i.imgur.com/dJ0iFQu.png let that field empty.
Thank you!
Hello,
This social sharing icon appears only on the mobile version. If you want it to be displayed on the desktop version, you need to use a custom CSS => https://www.screencast.com/t/slYFHBpS8tr
.td-social-line{
display: inline-block;
}
.td-social-viber{
display: inline-block;
}
The code needs to be set in Theme panel -> Custom code -> Custom CSS => https://www.screencast.com/t/fxetQe24ZHf
Thank you!
Hi,
Please edit the cloud template with tagDiv Composer -> https://i.imgur.com/j8YvKks.png click on the block and remove the offset -> https://i.imgur.com/dJ0iFQu.png let that field empty.
Thank you!
Hello,
Please select the block and go to the style tab and check the colors for the article title https://i.imgur.com/TnT962I.png
Thank you!
Hello,
You have set the limit posts to 3 https://i.imgur.com/Nahk6wa.pn, so you can enable the pagination for the block to load more posts -> https://i.imgur.com/VEQwswq.png
Thank you!
Hi leagcooks, do you also want to apply to underline for the blocks? or only for some pages where you have links?
This code will apply only to page content, if you need it on blocks too, please let me know!
.td-main-content a {
text-decoration: underline! important;
}
Hi bensbtar, I see that you are using the Newspaper theme and the theme plugins are not enabled, please go to Newspaper > plugins and install and enable from there the tagDiv Composer, tagDiv Cloud Library and it is possible to need to install tagDiv Opt-in builder.
Thank you!
i am using wp super cache, and its blocking the google adsense ads.
i have been testing it for the past one week and its eveident that when i disable the wp super cache, ads are showing just fine, but not when cache is enabled.
Please advise.