- 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
Hi
I want to be able to create a custom version of Flex Block 1. It will be exactly the same, except instead of the excerpt, I’d like to display the contents of a custom post field that I’ve added to the post page. I’ve done this in other themes by editing the relevant PHP file but I’m wondering if I can do this with the Flex Block Builder?
Many thanks!
Hey there,
Is it possible to exclude URLs from excerpts from the Flex Blocks elements.
Imagine we have an article and our writer added a related article in the first few sentences – is it possible to exclude the url from the generated excerpt somehow?
Best regards!
Hello!
You can use and modify the demo as you like. If there is no section on mobile, please add it on your end and ensure the block is not hidden. Also, the demo has CSS code there. Please check it on your mobile viewport. If you can provide screenshots, I can help you efficiently. Also, you can contact us via email at contact@tagdiv.com and provide wp-admin (URL and credentials). So I can log in and help you as soon as possible.
Thank you!
Hello!
1. A responsive version of your website looks similar to the desktop version. TagDiv Composer is used to edit the page. Click on the mobile viewport: https://www.screencast.com/t/XDQJedlggSB. You can see your mobile version there and edit or adjust the elements to look better. Make sure you set the row/inner row to display horizontally like this: https://app.screencast.com/pP2VLHMKvhRCq, and you can set up the flex block to display in 1 column on mobile: https://app.screencast.com/6anFiiOrILAVV
2. You should edit the article with the tagDiv Composer and use the shortcode Single Post Subtitle. Or if you mean the caption of the featured image, then there are some settings if you use this shortcode: https://app.screencast.com/kJkfArS2iurHs
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
About pages here: https://forum.tagdiv.com/page-templates-2/ -> https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Check out this video about how to create a website from scratch: https://www.youtube.com/watch?v=SoGQ0d5kIBg
Thank you!
I’m almost ready with my new website (new design of a already existing, also with your theme) but there are some little things making me crazy, I’m not able to resolve it by myself.
1. Please have a look at the last FlexBlock1 before footer. And take a look on mobile view. Something wrong there, the block shows two small columns, instead one article after another in one column.
2. Where can I change CSS settings of subtitle, like font, color and so on.
Did fill in at theme panel some additional CSS, but didn’t take effect.
Domain: http://www.2024.gartenwoche.ch
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 and check after.
Thank you!
Hello,
To increase page speed, I recommend checking which thumbnails you are using on your blocks. You might want to avoid having all of them enabled and optimize and regenerate images. You can use the EWWW Image Optimizer for image optimization and the OMGF plugin for fonts. Also, you can use the WP Rocket plugin.
Also, I recommended using cloud templates for posts, categories, and so on Flex blocks instead of blocks 1 to 25 and disabling the tagdiv Standard pack plugin.
here are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– 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://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– 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/
Thank you!
Hello!
Try to use a module builder instead of those blocks. More info here: https://forum.tagdiv.com/modules-builder-newspaper-theme/
Thank you!
Hello,
You need to edit with tagdiv Composer, select the block and in the tab style you can change the title color -> https://i.imgur.com/pTocnPV.png and more.
Support Hours
Monday – Friday:
8:00 AM – 16:30 PM
Thank you!
Hello David!
Ah, ok. If your image is in a webp format then please enable it also in the theme panel -> block settings ->thumbs on modules/blocks.
Thank you!
¡Bettina Muchas Gracias Por Responder!
Hello, thanks for answering! I sent an email to suport@tagdiv.com along with access to my website, Ana María investigated in depth and it turned out that Cloudflare had blocked my server’s IP, the problem was solved from tagvid and not in my wordpress or my hosting.
I want to list all of the categories that I have (They are a custom taxonomy), but using the flex block builder so that I can display information for each category (Icon, description, top 3 or 4 items in that category).
It’s easy enough to create the module as a cloud template, but when creating the block builder, there’s no way to show anything other than post type.
Am I missing something here, or is this not a feature?
I’m working with flex block as you told me, now I’m having another issue, “flex block 1” dosen’t want to show 5 post in a row but the flex loop with no problem at all. Is there a way to filter category on loop block?
———-edit
My god, sorry there is post limit…
-
This reply was modified 1 year by
SvijetS. Reason: issues with understanding
Hello!
You can change it in the Newspaper -> Theme panel -> Theme fonts -> Modules and Blocks -Article Title: https://app.screencast.com/KhvrczQzrJbFD (you should have the Standard Pack plugin installed) or in the tagdiv Composer: https://app.screencast.com/wIuDVwB5MASU1
Thank you!
Hello,
I recommend using flex blocks instead of blocks 1 to 25. What is so different when you see it in mode view?
Thank you!
Yes everything is ok.
Now I have major problems with the page. I’m trying to redesign the front page, but there are bug’s and big problems. in designer (editor) is so much different on the page on the “view”, specally problems with Block 15 and the “limit post number” layout.
Hi Anamaria,
I already have the related section that you show in the screenshot on the website at the moment. These articles are matched based on tags/categories. However, this is not desirable because we use the tags and categories for multiple news items that have nothing to do with each other.
So I am actually looking for a way where I can link an article myself in a related articles section. Otherwise we have to create a tag for each topic and attach it to the flex block via TD Composer. I hope you understand me, it is difficult to explain.
Hello,
You can use a flex block and use one from those options https://i.imgur.com/Fo0R9ep.png
Thank you!
Hey,
I am sharing you my WP Rocket settings and I think they might be useful for you:
ON THE FILE OPTIMISATION TAB
1. Activate Minify CSS Files
2. Optimise CSS Delivery > Remove unused CSS with these exclusions:
(.*).tagdiv-type(.*)
(.*).bhcrow-(.*)
3. Minify Javascript Files
4. Load Javascript Defered with these exclusions:
\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js
5. Delay Javascript Execution with these exclusions:
\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |’|”|>)
tagdiv_theme.min.js
tdTrendingNow.js
tdPopupModal.js
tdBlocksArray
hammer.min.js
tdbMenu.js
tdLoadingBox.js
tdb_p_autoload_vars
blockClass
tdAjaxCount.js
tdTabbedContent.js
tdStickyRow.js
tdSmartSidebar.js
OneSignalSDK
Important – delaying Javascript will make your ads load after any movement on the page so if you just reload the page they will not be loaded as soon as you move anything on the page it will load them immediately. For me this isn’t a problem.
ON THE MEDIA TAB
1. Activate Enable for images
2. Activate Enable CSS for background images
3. Exclude your logo
4. Activate Add missing file dimensions
5. Activate self host fonts
ON THE PRELOAD TAB:
1. Activate preload
2. Enable link preloading
3. Prefetch these:
//fonts.googleapis.com
//www.googletagmanager.com
//www.googletagservices.com
//tpc.googlesyndication.com
//use.typekit.net
//netdna.bootstrapcdn.com
//www.google-analytics.com
//ajax.googleapis.com
4. Preload fonts – /wp-content/themes/Newspaper/images/icons/newspaper.woff
ON THE DATABASE TAB
Enable everything without scheduling auto cleanup
ON THE HEARTBEAT TAB
Enable it and make everything reduced
Important – if you are self hosting your site on nginx you can enable this https://github.com/SatelliteWP/rocket-nginx – this enables Nginx to serve directly previously cached files without calling WordPress or any PHP
Important – if you are self hosting your site on nginx you can enable FastCGI and Redis (use redis cache plugin and nginx helper). When it comes to FastCGI MAKE SURE TO ENABLE SEPARATE CACHE FOR MOBILE AND DESKTOP OTHERWISE IT WILL WORK BADLY!
Important – if you have a large installation and you notice that your queries become slow (e.g. search page takes a lot of time to load or non-cached pages load for more than 1-2 seconds) you can buy Scalability Pro and Super Speedy Search from here https://www.superspeedyplugins.com/shop/ for me this plugins changed the way the theme worked immensely. My non-cached pages loading time dropped form 10 seconds down to 1-2 seconds.
Important – WPRocket offers a plugin that converts all your images to webp format and this is also crucial for your page speed. Their plugin works well for my site.
I hope this is useful for you!
Hi,
It is a flex block, please provide a video with your steps.
A solution for sending a screenshot/video is this:
Download, capture, and send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link; paste it here.
Thank you
hi, i have a problem with the article titles on my front page. they are all in capitals. The composer will not alter them in to lowercase in the style section. The theme panel have been altered to lowercase in modules and blocks and even the import of a pre made theme still comes up with capitals on the front page. Take a look http://www.locagardener.org Any help appreciated
Hi,
We usually insert 2 suggestions for posts to read in each of our articles, but for some time now a text like this has appeared below the suggestion for an posts to read :
2025-02-17 15:54:16 Type: Msg: File: Line:
as you can see on this posts for example https://magazine.pagesjaunes.online/douala-une-femme-perd-la-vie-des-suites-dune-agression/, and also on this screenshot : https://www.transfernow.net/dl/link-newspaper
Please help us remove this text from our posts.
My site URL : https://magazine.pagesjaunes.online/
Hello,
Could you please take a look at my website? There is a lot of empty white space on the right side, and I would like to enlarge everything so that there is no empty space horizontally.
The problem is, if I add content to the right side, it will affect the mobile version, which may cause design issues.
I would like also to modify buttons dimension and make all same size, it looks too bad , I am lost.
site : roqya-coach.com
Hello!
Unfortunately, those shortcodes are available only on single templates.
The shortcodes available for pages are the Author box and authors box, and using a flex block 1, you can display the author and the post date.
Thank you!
Hello!
Please check the filters that you are using there: https://forum.tagdiv.com/flex-block-settings-guide/
You can use this option: https://forum.tagdiv.com/unique-articles/, so you won’t see double posts anymore.
Thank you!