- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewsmagtagDiv Composer Tutorial
- NewsmagWeather Widget
- NewsmagExchange widget
- NewsmagInstagram widget
- NewsmagHow to use the Visual Composer plugin
- NewsmagIntroduction
- NewsmagFooter templates
- NewsmagCustom ad spots
- NewsmagLoading image effects
- NewsmagSmart sidebar
- NewsmagFeatured images
- NewsmagGeneral settings
- Newsmag7 days post sorting
- NewsmagTheme thumbs
- NewsmagExcerpts introduction
- NewsmagTheme colors introduction
- NewsmagtagDiv slider gallery
- NewsmagVideo playlist
Hi,
The Newspaper theme allows you to include flex blocks inside your post content using a single post template.
Simply click on the single post content element and click on the Ads tab. Here, you are able to add the code for the flex block to be displayed inside the post content. An example code to add flex block with a random post can be get from here -> https://pastebin.com/trhbST2j -> https://imgur.com/swFF2As
Example : Flex block with a random post. The sample code added in the field for the article inline ad 1 -> https://imgur.com/809lHPB
To make your own inline blocks, create a new page and set the flex block that you want to use, after you edit it just copy the shortcode for the flex block from the page and set it like in above example -> https://imgur.com/sVBHL49
The code is the one set between the “vc_column” and “/vc_column” shortcodes
-> https://imgur.com/ah9QUig
I hope this will help you!
How can I display the via name and via url fields in a news loop. for example flex block 1
Hi jb,
So you want to disable the categories on modules, for this you can use this option -> https://i.imgur.com/c7ibQFR.png now if the element is a flex block, then you need to edit the page using tagDiv Composer select the element and search for category -> https://i.imgur.com/8jEuYzI.png
I hope this will help you!
The database is not in need of repair – the problem is purely one of a lack of caching – and a lack of forethought by the dev team.
Every single page request is generating a db request because the db won’t rely on the previous returned value in the db cache because it changes after every new pageview. Might not seem like a big deal, but when you get spikes of hundreds of visitors per second, even with a beefed up server, it slows mySQL, and the apache processes stack up waiting for a mySQL response.
It’s not rocket science. If the returned values for the block were set to only refresh every nth minutes, then it wouldn’t generate piles of complex queries – indeed, the query cannot be efficient, because it is checking pageviews across all posts for a given time-frame, which is not indexed – so even our tiny new site, which does 80k+ pageviews/day and has about 2k posts dies despite having an 8-core machine with 32gb of ram running with memcached on litespeed on PHP8.
Turning that filter off dropped average usage to consistently under 5% cpu usage, instead of 200% with 503 errors.
FFS- I can share the queries that are the cause – this isn’t some shot in the dark or loose assertion – the server was killed by this feature and traffic suffered, and we know because we checked, and could see the join queries that were responsible for the snowballing server load.
The category-label on the blocks. see here: https://imgur.com/a/n2QbXxb
(the website is not online now)
Hello,
I would like to link the header widget in the sidebar to a page which shows the weather forecast.
How do I put a link on that whole block (not just the title)
Kind regards,
Bruno
Hi smartoptions,
“On one of our shop pages https://smartoptions.io/shop/universal-crypto-signals/, we offer 6 items of our partner but they a not shown next or undernet each other because of the explanation of the services. Does the theme offer a solution for this because I can’t find it?”
If this is a shop page, then you should be able to use tagDiv Composer to display on a woo block the products you want.
For the part with the mobile ranks, you can try to use the mobile page template ?(this can be used on pages and cloud templates) -> https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/
I hope this will help!
Update: It looks like that Complianz which is activated on our multisite blocked the content from showing and did not display any of the normal messages. We are investigating this further with Complianz directly. You can close this topic. Thanks
This is pressable.com’s answer. I use this template with these plugins for 14 different client pages and 4 different servers. they all use php 8.1 and I have had no problems
————————————————————————————–
I found that the following plugins are causing the issue:
td-composer
td-standard-pack
Error logs shows:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / float in /srv/htdocs/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php:439
Yes please, I prefer Mailpoet to Mailchimp, so need the Newsletter block to offer Mailpoet.
Hi! I want to change basic or disqus comments to VK comments. I have a piece of code
<!– Put this div tag to the place, where the Comments block will be –>
Tell me where I can replace part of the code to display VK comments.
Hi,
I see. What you can do is to set some text using the column text or text with title element, in this way the seo plugin can identify the text that is not part of blocks and the readibility Analysis will be ok.
Thank you!
Hi,
Please check this article, enable the option and see the results: https://forum.tagdiv.com/unique-articles/
This option automatically removes duplicate posts from the page.
You can filter the blocks to display the popular posts -> https://i.imgur.com/lQZdJN0.png -> https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hi,
You need to enable the options from the theme panel, from this section you can display the date and author -> https://i.imgur.com/VwM9Sqg.png and from here you can enable the categories on blocks/modules -> https://i.imgur.com/oSb8exP.png
I hope this will help you!
Hello,
Unfortunately, you can’t add ads in the flex block.
A solution is to use auto ads that will be automatically placed where they fit correctly => https://i.imgur.com/qX36kT0.png -> https://support.google.com/admanager/answer/10452255?hl=en
If the ads are auto ads, then you need to add the code between head tags, this can be set in our theme in Theme Panel -> Analytics/Js Codes. Example: https://prnt.sc/1tju9qf -> https://prnt.sc/10jk7fq, the code needs to be set only once per page -> https://www.wpbeginner.com/beginners-guide/how-to-add-google-adsense-to-your-wordpress-site/
Thank you!
Hello,
Please try to change the text from here https://i.imgur.com/tAN9kZy.jpg
I saw that on some blocks it is translated https://i.imgur.com/tXwa1kw.jpg
Thank you!
Hi!
I have read this topic about the change heading tag. There is a different solution than editing all blocks?
I want delete heading tag <h4> or change to <div> or <p>.
Thanks for support me!
Best regards,
Gilbert Wojaczek-Kubica
I need to add advertisements to flex block 1 with infinite scrolls. How can i do it?
I installed newspaper theme on my new site and im encountering some problems.
1. The homepage of My new site http://www.hitkpop.com shows only html codes. I want to show post title and images but its not showing.
https://imgur.com/a/Vnm48sS
2. add block toggler not working. I can not upload image because any block is not working. (I cleared cache, deactivated all plugins and wordpress is updated)
https://imgur.com/a/vpDi3Gc
Hello
One of Flex block have a block title and more links. I couldn’t find out how to remove it. I can only add text if left blank than default text block title is on. Screenshot https://veriartem.com/screenshot/
Regards
Alex
How do I make the post publication date and the post author appear again on all category pages like this: https://mobilidadecuritiba.com.br/category/ciclismo/
and how do I make the post publication date and post author appear again in the homepage blocks? https://mobilidadecuritiba.com.br/
Hello,
You can edit with tagDiv Composer => https://www.screencast.com/t/FBflrtczp4a, scroll til to that block and select the title/block => https://i.imgur.com/HSDoiBs.jpg and edit it -> https://i.imgur.com/XkqFi7z.jpg
Thank you!
Hello Bruno,
To sort the block for Popular (24h,48h and 7days you need to have added the element SINGLE POST VIEWS => https://i.imgur.com/pLWuoSS.png -> https://i.imgur.com/BbrBmL0.png, also, for Popular you need to have this option enable https://i.imgur.com/grI3bti.png
The sort option will be displayed that popular posts of the last 48 hours, those can be older posts.
Thank you!
I think i have to edit color of td.block?
Hello,
On the homepage we have a block filtering on the last 48 hours.
https://snipboard.io/FWEwdk.jpg
However this is not showing only posts of the last 48 hours and all other things were enabled so that it should work.
I have no clue what is causing this but seems a bug. How to solve this?
Kind regards,
Bruno