- NewsmagUsing other ads
- NewsmagSidebar ads
- NewsmagImport / Export theme settings
- NewsmagRequirements for Newsmag
- NewsmagNewsmag documentation
- NewsmagHow to update the theme
- NewsmagBlock settings tutorial
- NewsmagIntroduction
- NewsmagPage Menu
- NewsmagMega menu
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagTheme thumbs
- NewsmagBackground introduction
- NewsmagVideo playlist
Hi,
I saw that, but I tested with other amp validator and with that your post pass -> https://www.screencast.com/t/h6DHLbi1
Amp requires a special type of ad as mentioned in this guide:
https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
https://support.google.com/adsense/answer/7183212?hl=en
Thank you for your understanding!
i would like to provide a place for my clients to change the AD which is in Theme Panel -> ADS
however, I don’t want them to change other settings.
is there any way to do so?
Thank you
Hi,
In Theme Panel under “Social Networks,” I see no option for Goodreads. Is this something that can be added manually, so that a Goodreads icon appears with the other social icons? If not, is this an social network option that will be coming in the future?
Thanks,
Daniel
Hi Bogdan, I would like to renew this topic.
I just realized that a few of my posts, the Video format is not selected and cannot be played, because its format changed to standard. In this page: https://forum.tagdiv.com/featured-image-or-video/ you can see what format I mean.
https://forum.tagdiv.com/wp-content/uploads/2015/05/2015-06-16_18-52-38.png
On the picture there is a Select Video from Format.
Is any way to check that all post when the Featured video field is not empty I can select the Video format, to be able to play it, otherwise the play button is missing from it.
Thanks.
Hey guys,
OK, I have created the following .php page which “reads” the 5 best articles form another portal via JSON.
I don’t to mess up with extra CSS code and using iframe so I thought it would be a good idea to create a block which will show these articles. I want the block’s layout to be exactly the same as Block 1.
So, I copied all the HTML code for Block 1 and I ended up with the following:
<?php
$carStr = file_get_contents('http://www.caranddriver.gr/xml/json/getjson.asp?platform=web&ret=cu&method=oPublicationJSON.getCategoryPublications(41547,1,5)');
//Now decode the JSON using json_decode():
$carJson = json_decode($carStr, true);
// decode the JSON into an associative array
$i = 1;
?>
<?php
function trunc($phrase, $max_words) {
$phrase_array = explode(' ',$phrase);
if(count($phrase_array) > $max_words && $max_words > 0)
$phrase = implode(' ',array_slice($phrase_array, 0, $max_words)).'...';
return $phrase;
}
?>
<?php
echo '<div id=car>';
echo '<div class="td-block-row">
<div class="td-block-span6">
<div class="td_module_4 td_module_wrap td-animation-stack td-meta-info-hide">
<div class="td-module-image">
<div class="td-module-thumb">';
$counter = 1;
foreach ($carJson['publications'] as $row) {
$srcid = $row['src_id'];
$imgid = $row['photos'][0]['img_id'];
$img_type_small = 14000;
if($counter == 1) {
$img_type = 14001;
echo '';
echo '</div></div>';
echo '<h3 class="entry-title td-module-title">' . $row['art_title'] .'</h3>';
echo '<div class="td-module-meta-info"></div>';
echo '<div class="td-excerpt">' . $row['art_summary'] . '</div></div></div> <!-- ./td-block-span6 -->';
} //end if
else {
$img_type = 14001;
echo '<div class="td-block-span6"><div class="td_module_6 td_module_wrap td-animation-stack td-meta-info-hide"><div class="td-module-thumb">';
echo '';
echo '</div></div>';
echo '<div class="item-details"><h3 class="entry-title td-module-title">';
echo '' . $row['art_title'].'</h3>';
echo '<div class="td-module-meta-info"></div>
</div>
</div>
</div> <!-- ./td-block-span6 -->';
}//end else
$i++;
$counter++;
};// end foreach
echo '</div></div>';
?>
I went to Developer Info and read the instructions of creating a new block using a shortcode.
However, the example is simple. It doesn’t help me a lot.
Can anyone guide me to a more relative tutorial which will help me make this code to a block same as Block 1?
Thank you in advance.
Hi,
I made a single post template with the tagdiv composer and I noticed the related articles block loads the thumbnails in full size, regardless of image size selected in the dropdown menu (see screenshot: https://imgur.com/a/NXp92s9). I would like to add a smaller size to be loaded here.
I cannot find the related posts block settings in td_config.php. Where can I add this custom image size to the dropdown menu? Or what other file do I need to edit to make this block load other thumbnail sizes?
Hi TagDiv Team!
Today I added another list menu to my mega menu. It shows up when loading the webpage but when I try to edit any page that loads that menu I get a strange error “Error at zones: 5(models) : 6(dom). The model does not match the content” (have a look at the images below). I circled the menu I added which causes the problem. I tried rebuilding the mega menu, removing the header from the template, renaming the menu in wordpress – but none of these did work and the error persists. Do you know what might cause that problem?
Thanks for your help,
Andreas


Hello
The Mobile menu is not working. Even when the page loads completely we cannot make it work.
Tried disabling the plugins that does not help.
Followed the steps on string
https://forum.tagdiv.com/topic/responsivemobile-menu-not-working/
The theme is setup good with everything in green on the system status.
http://prntscr.com/mqbhps
We are not using any background images etc. Please advise
Also another weird problem when we add a H2 in the post it does not show 🙁 On changing the color it does? Any ideas?
Regards
Ashutosh
Yes callin,I followed the description and set the ad accordingly .You can see on my attached image link I can able to see when I am making changes via Appearance – customize but the same is not appearing on my home page.
Everytime whenever I am reading a request I am getting an answer please disable other plugins instead of a proper solution.Disabling plugin is not resolving the issue .Some other problem is causing the issue.Is there any other way I can add ads like Using text block or custom HTML ?
Hi,
Did you set the ads like in this documentation https://forum.tagdiv.com/using-other-ads-non-adsense-ads/ ???
Also please check if your ads are approved.
One possibility can be a plugin conflict, please deactivate all non theme plugins, clear all cache and try again.
If the problem is still there, please try with a default theme of WordPress, to see if the problem is still there.
Thank you!
Hi,
Sucuri recommends the following ( info available on their site as well in their wordpress plugin that offers an option to do these ) :
block php executions in /wp-includes/ and /wp-content/uploads/ folders
it is done using htaccess in those folders, something like this
# Backdoor Protection Apache 2.2
<Files *.php>
deny from all
</Files>
# Backdoor Protection Apache 2.4
<FilesMatch “.+\.php$”>
Require all denied
</FilesMatch>
Will these options interfere with your theme ? Does your theme need to run php in those locations at certain times?
Another recommendation would be to disable the wordpress editor
define(‘DISALLOW_FILE_EDIT’, true);
As well, will this interfere with your theme ?
Thank you
Claudiu
Hello~
I want to make ranking post for product reivew.
So I want to show the review section of produt post like below.
1) reviw overview image : https://papacurator.com/wp-content/uploads/2019/02/review-function.gif
2) example post : https://papacurator.com/pilotreviewsummary/
Is there any shortcode for review overview inserting or php coding method in template?
Hi team,
I am not able to see my media.net ads on my header but when I am clicking on Appearance ->customize then I am able to see.
I followed other post but no one has covered it >
Without the Ads: https://photos.app.goo.gl/ffAS5bWai1NimQuX7
With ads when using Widgets but not showing on normal desktop version :https://photos.app.goo.gl/Z3henXXX9B2SDTgi8
Hi,
Please check our documentation for ads -> https://forum.tagdiv.com/using-other-ads-non-adsense-ads/ , also please make sure that the ads that you are using is approved.
If there is still a problem please provide a link wee I can inspect this problem!
Thank you!
Hi,
At the moment there is no option for in-feed ads in the theme. It could only be done by modifying the theme files, but that may not be so easy.
Another way that you could try, would be to search for an ad inserting plugin that might have an option for this.
You could try the solution mentioned in this similar topic
– https://forum.tagdiv.com/topic/ads-on-category-pages/
So you are referring to the ads that are displayed inside the post loop ( “LATEST ARTICLE” )? By itself the theme cannot do that, there are various code solutions in the forum you could try if you want to do something similar
– https://forum.tagdiv.com/topic/how-to-insert-ads-between-posts-on-the-main-categories-and-in-the-archives/
– https://forum.tagdiv.com/topic/in-feed-adsense/
– https://forum.tagdiv.com/topic/how-to-add-adsense-ad-after-5-10-articles-on-main-page/
– https://forum.tagdiv.com/topic/adsense-infeed/
Thanks
Hi,
Is the ad code responsive? if it has fixed dimensions like width and height, it will always be the same regardless of device. If you use Adsense there are options to choose a size per device – http://prntscr.com/moj749
If you do not use Adsense you can enter multiple ad codes and use the provided containers
– https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
Thanks
Hi,
Seems something is adding another amp-ad extension in the AMP version. The theme will load it once when you set adsense ads.
But in your case it is loaded again by something – http://prntscr.com/mnkclv
If you use a plugin to implement the AMP ads, maybe this has a setting to not add this script in the AMP header. Having two of them will be an issue as the validator states, but the validation still passes – http://prntscr.com/mnkeur
Thanks
I found a very odd phenomenon about the speed of website.
I have set up several websites base on Newspaper theme.
One is the web https://nzlifenz.com/ which uses dedicated hosting from Bluehost with hight performance(4 Cores, 8 Threads,Speed 3.3GHz,RAM 16G,)
Another is web http://eaglevisiontimes.nz/ which only based on share hosting from Bluehost.
But I found the speed of eaglevisiontimes.nz always is faster than nzlifenz.com.
I have try my best to improve the speed of nzlifenz.com,according to https://forum.tagdiv.com/how-to-make-the-site-faster/
I have used the plugin WP Super Cache.
I have tried SpeedBooster plugin but it have no improvement so I disactived it.
I don’t know what is the main reason.They both use Newspaper theme.their difference is only that nzlifenz.com uses Newspaper V9.1 but eaglevisiontimes.nz uses Newspaper V8.5.1.
So I wonder if it’s because of the version of the theme.
I dare not update the theme anymore now.
Can anybody check it for me ?
Thank you very much.
How can I change the “Blog Grid 3” layout settings?
For other elements like “Flex Block 1” there’s an additional “Layout” tab with useful settings such as image height (percent), that I cannot find in “Blog Grid 3”.

Somehow I failed no notice that. Maybe with a plugin that would be possible. I made a quick test with this plugin – https://wordpress.org/plugins/infinite-ajax-scrolling-for-woocommerce/
Free version seems to work with the product category pages, although it loads the products in a weird number, sometimes only one is loaded it seems
– https://www.screencast.com/t/GZo3NgLxyd7e
I only changed the next selector in it’s default configuration, seems to work
– http://prntscr.com/mn5i7b
Haven’t tried any other plugins unfortunately, so there isn’t much I can say about getting this to work with other plugins.
1- How can I disable the full width page view. I want to use a compact and bordered layout. All I can see is the full width page with white background all over the screen.
2- Besides I cannot see the background pattern and/or custom background colour. I set up the pattern and colour. I know background pattern and bg colour is somewhere overthere and it loads. But instantly it is covered by a white bg colour.
3- Is there an alternative to use menu icons without an obligation to download third party font awesome plug in?
4- My featured image width is smaller than the content area. I imported site content from other domain. Can I make it fit the content area automatically.
What image size have you selected for the flex block modules?
– http://prntscr.com/mkvurf
From what I can see the full size is selected, so for example this image
– http://vietnamaustraliatrade.net/wp-content/uploads/2019/02/Chu%CC%89-ti%CC%A3ch-Thu%CC%9Bo%CC%9B%CC%A3ng-vie%CC%A3%CC%82n-U%CC%81c.jpg
Will be displayed in full in the flex block modules and will provide a more quality result by loading the full image size but this will increase page size.
The predefined blocks will always make thumbnails by cropping the original image
– http://vietnamaustraliatrade.net/wp-content/uploads/2019/02/Chu%CC%89-ti%CC%A3ch-Thu%CC%9Bo%CC%9B%CC%A3ng-vie%CC%A3%CC%82n-U%CC%81c-100×70.jpg
This is the result in my case with an image from your website, flex block vs predefined block
– http://prntscr.com/mkvym3
So it is expected to be some differences in this situation. We do indeed recommend using flex blocks instead of predefined blocks, these are way more flexible.
Other than this I fail to see what the problem could be.
Hi! Is there any way to make mega menu sub-categories appear in a user-defined order, other than alphabetical? Tried looking at the old threads, can’t find what I’m looking for. TIA!
Hi,
Unfortunately our tagDiv AMP plugin do not have eny option for menu, sorry; if you want to have menu in AMP you can chose others AMP plugins.
Ad codes for AMP will have to be entered in the dedicated AMP section, be sure to use the proper codes, for example for Adsense
– https://support.google.com/adsense/answer/7183212?hl=en
– https://www.screencast.com/t/vc3VzKSIEHTi
If you want to use another brand of Ads other than AdSense, notice that you need to access the header section of AMP and add the code of your Ad provider.
The amp header is found here: https://www.screencast.com/t/eSsRZ3cItk7u
AMP will work properly for pages created with the default WordPress editor if you want to use it for pages, not with page builder content. The main purpose of AMP is speed, not loading heavy pages with blocks and grids.
Of course, our plugin is optional, you can use other AMP plugins if needed. We will try however to improve it and add more options for it in future updates. Let me know if you have more questions.
Thank you for your understanding!
Ok, thanks Catalin.
Will this be added in future theme updates?
A lot of people use iPads to view the site so would be handy. Makes the site looks broken otherwise.