- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsOffset Feature
- TutorialsSystem status parameters guide
- TutorialsWhat is Ajax preloading?
- TutorialsHow to Update the WPBakery Page Builder plugin
- TutorialsHow to Install bbPress forum
Nice read. I notice your AMP page doesn’t have ads. Is that due to the Plugin? I saw other websites using AMP and they have ads in theres.
Hello craigmc,
This is the functionality for our Articles Inline Ads. The Ads will be displayed depending on what number of paragraphs is set, otherwise, the ad will not be showed as you can see in our documentation here -> https://forum.tagdiv.com/article-ads/ I have tested on my side and everything seems to work as expected.
Thank you for the message!
Hello @nicolaslavado and @Waqas
If you want to add more ads, it is necessary to create another custom ad (custom ad 6, custom ad 7, etc). Please follow the steps in the topic to create another custom ad: https://forum.tagdiv.com/topic/create-additional-custom-ads/
Hope this helps and let us know how it goes!
Thank you for the message!
SHOULD YOU DO IT OR NOT?
Note that adding AMP support is *not* necessary, required, and might not even be the best solution to add to your site for mobile, if you already have a well optimized mobile post setup, want to retain certain plugins, social links and ads, which might not translate well to the AMP format.
For example, initially you might have poor ad support, so if revenue is your main metric, this is something you’ll want to play with, or wait until it is more mature.
Google will start support on Feb. 24, 2016.
AMP IS NOT SUPPORTED BY MANY YET, GOOGLE AND ONE OTHER VENDOR I KNOW OF.
So, for example if your main audience were on Apple iOS, primarily using Safari, might not make sense to worry about this just yet! 🙂
Well, the CSS and Java in the page helps it load faster by NOT having to load external sources and helps to deal with the above the fold loading, and mobile loading. Some things work better inline than external these days.
In other words, some CSS and JS “inline” loads faster for above the fold (render blocking …) vs waiting for the entire separate file to load, hence why this is now donw, which was crazy talk in olden days.
“Critical CSS” should be loaded with the page itself, then supported elements “later.”
Tricky!
I’ve stopped using some plugins due to the extra CSS crap included and no way to disable, or allow the plugin to “inherent” theme CSS (e.g., <LI> and <UL> stuff).
I also hacked one plugin to remove their CSS and just put it at bottom of the style.css and shazam.
I feel your pain; actually dealing with this right now on another project which is NOT using TagDiv themes due to a long boring story.
I really hate the form scripts which load the FORM CSS on every page and not just the actual FORM page. Requires creating custom page called “form” and then manually putting the CSS for plugin on THAT page vs having stupid if/then on every site page to NOT load it conditionally which is also dumb for resource queries.
AUGH!!!!! (damn kite eating tree!)
Hello Again Andrei
I checked the header style used and it’s correct (In my case I am using Header Style 7) So I am asuming this style won’t suddenly change between posts so there is no need to modify any other header style, is that correct?
I tried what you told me, but it’s not working either, (actually If I use the category names instead of the category slug, the script doesnt work in any case) I tried using the category names, the category slugs, changed the order and still it shows the default header banner but in the category pages I modified before the script works…
The Files I have modified are “ads.php”, “header-style-7.php”, “td-config” & “td-panel-ads” (the last ones to add more custom ad spaces) is there any other file (or files) that I need to modify in this case?
By the way, I am modifying the Newspaper Theme not the Newsmag.
Thanks.
Hello,
Please provide an example of this ad that is not displaying and how you are implementing it. Basically if it’s adsense you can simply place the ad in the field. If it’s not then you need to use this method: https://forum.tagdiv.com/using-other-ads/
The ads should have nothing to do with your previous theme.
You can also try to disable all plugins except visual composer and clear cache.
Let us know how it goes.
Thank you!
Hello 12sea,
If you want to have a new impression for each ad/slide, you have to use the latest’s smart lists, like this -> http://screencast.com/t/kfcZQfag8QqJ These are the latest our smart lists and were designed to request a new impression for each slide. Other smart lists do not have this feature for the ads.
Hope this helps!
Thank you for the message!
Hi
The theme was designed to display only images as background ads. Changing this implementation is not an easy task and involve many customizations in theme’s files.
The code which generate the ad spots it’s located in td_panel_ads.php and th one for background ad is this: http://screencast.com/t/JbgnwXdE You can try to change that implementation with a similar one as for other ad-spots.
Please consider that this is a complex task which require advanced coding skills, also many customization and tests. If you can’t do this by yourself my advice is to look for someone which can help you with this or hire a freelancer to do it for you as we can’t offer any type of custom work at the moment.
Thanks!
Hi,
I managed to create and insert a new menu for the mobile view.
It shows up in the admin panel and loads the elements in the front-end perfectly, but somehow it’s breaking the code of the submenus (both standard and mega menus) that I have in the main menu.
Let’s see if I can make it more clear:
If I open ‘menu-mobile.php’ and switch back to using ‘header-menu’ everything gets back to normal (submenus in the desktop view appear as they should) but when using my new ‘mobile-menu’ they just show a list of subcategories, unstyled and without images.
I tried using other menus in my ‘menu-mobile.php’, or even deleting all the code related to loading one, but the same keeps happening. It somehow seems to need ‘header-menu’ to be loaded in there.
Do you have any clue of how to solve this issue?
[Note]
Just to see if the problem was coming from my new menu I tried to use both at the same time.
In this scenario everything works as it should, but well, It’s not ideal to have both menus in the mobile view, isn’t it? 🙂
Hello stuartmasson,
Unfortunately, if you want to have the sidebar to your posts, the recommended size for your Ads is 696px wide, otherwise, the ad will look like -> http://screencast.com/t/mqaT919sRTH In this case, you should change the width and we do not recommend this because you can break the layout of the site. For a better result, is required a lot of additional customizations and we cannot do this because we do not provide custom services at the moment, sorry!
If you want to display more levels in this regard and you are not aware the steps, please consider hiring a freelancer/developer to implement this for you!
Thank you for your understanding!
Best theme ever. Really.
After I used newspaper theme on other site, I decided to get newsmag also for the main project I have. Tweaked a little with support help and about result, what can I say? Nice, nice, nice! Is also as fast as possible, even if I have many plugins.
Why better than newspaper? Because the design and width are smaller, making ads have more impact then on a wider post. Closer sidebar, closer ads to text. And if you have small images look better than on wider newspaper. These 3 reasons are enough for me 😉
Thanks for making it, I wish you best.
@Chris S, thank you for your response, and as I understood from your reply that the adsense script is loaded only once and other instance is taken from cache, then there is no need to worry about that. I thought the script will load multiple times to slow down the website.
@Bogdan B, Thank you for your response. My query was not about how many ads I will place on website. My query was, google allows the adsense script to be placed only once in a page, so there is no need to add the script on every ad in newspaper ad management setting. But when I do not add that script, the newspaper is unable to make it responsive as per settings. Thats all.
Hi bros,
I used code of StumbleUp Badge
code here
<su:badge layout=”6″></su:badge>
<script type=”text/javascript”>
(function() {
var li = document.createElement(“script”); li.type = “text/javascript”; li.async = true;
li.src = (“https:” == document.location.protocol ? “https:” : “http:”) + “//platform.stumbleupon.com/1/widgets.js”;
var s = document.getElementsByTagName(“script”)[0]; s.parentNode.insertBefore(li, s);
})();
</script>
, but it not synchronized with others icon, see here:
I need css for square of StumbleUpon.?
Can you guide me? Thank you!
Hi bros,
I used code of StumbleUp Badge
code here
<su:badge layout=”6″></su:badge>
<script type=”text/javascript”>
(function() {
var li = document.createElement(“script”); li.type = “text/javascript”; li.async = true;
li.src = (“https:” == document.location.protocol ? “https:” : “http:”) + “//platform.stumbleupon.com/1/widgets.js”;
var s = document.getElementsByTagName(“script”)[0]; s.parentNode.insertBefore(li, s);
})();
</script>
, but it not synchronized with others icon, see here:
I need css for square of StumbleUpon.?
Can you guide me? Thank you!
Hi bros,
I used code of StumbleUp Badge
code here
<su:badge layout=”6″></su:badge>
<script type=”text/javascript”>
(function() {
var li = document.createElement(“script”); li.type = “text/javascript”; li.async = true;
li.src = (“https:” == document.location.protocol ? “https:” : “http:”) + “//platform.stumbleupon.com/1/widgets.js”;
var s = document.getElementsByTagName(“script”)[0]; s.parentNode.insertBefore(li, s);
})();
</script>
, but it not synchronized with others icon, see here:
I need css for square of StumbleUpon.?
Can you guide me? Thank you!
Hi,
Google allows to load its adsense script pagead2.googlesyndication.com/pagead/js/adsbygoogle.js only once in a page. All other adsense code uses this script to load.
In Newspaper theme, unless this script is added to every ad, the ads can not be configured.
I want to know how to enable newspaper theme to use this script only once in a page? Or how does newspaper theme detects google ads vs other ads and which file has that detection code so that I can edit it?
I want to edit Smart list 6’s PHP file to show ads on two different place but I am unable to find the php file for smart lists. Can you please tell me which PHP file is of Smart List 6?
Also, Is there any other way to change ad placement in Smart lists because I don’t want to edit PHP files every time I update the theme.
Thank You.
Hello,
Your template is really good! Very good optimization, interesting appearance and good solutions. However, we have more than 500k unique users per month. So I think on some additional solutions:
1. Which plugin to rating comments you recommend? Now we use Rating-Widget: Star Review System.
2. Can you recommend any cache plugin? (working with your theme ofc)
3. Can you recommend any “security plugin”, eg: plugin changing wp-admin/wp-login.php links? Or any other plugin?
And two additional questions:
4. We have problem with Article inline ad. We dont know why this ad display under “Article top ad”, so we have than two ads one after the other.
5. We dont want display sidebar widgets on homepage. Any idea how to hide it? We dont want install any plugin. CSS will be enough for us. It is the best solution?
Thanks again, Bogdan.
I’ve had my client create a .gif that is 640X80px, and it appears to fit without issue because the words don’t appear squeezed or clipped.
//www.moodlenews.com/wp-content/uploads/AspirEDU.com-Advertisement-640×80.gif
However, we’re still experiencing the same animation problems where the logo and border flashes for an instant and then disappears while the words animate on screen. I’ve kept the 640X80 graphic on the page so you can see it in real time.
Any other thoughts?
Hello Christina,
The DoubleClick ads aren’t recognized by theme’s ad system and the code is rendered as it is. The theme only works using google Adsense ad codes: https://forum.tagdiv.com/ads/ ..for other type of ads you can either use wp text widget or a plugin like Simple Ads Manager or AdRotate to render the code then use theme’s ad spots. For more references about this regard, you can consult this topic -> https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/
Thanks.
Hi
1 To display a different header ad for categories pages please check this topic: https://forum.tagdiv.com/topic/different-header-ads-according-to-category/
2 To ad a title for ads you can use this method: https://forum.tagdiv.com/topic/inline-ad-titles/ Note that depending by ad type it may require others customizations.
3 You can use the do_shortcode function in the file which generate each page. For example a page which use pagebuilder + latest as post template require this file to be modified: http://screencast.com/t/Nc8kqxbkFZIs For the category page you can add the code here: http://screencast.com/t/vNFnf6KZ9m3 – http://screencast.com/t/TkfBOExjw The same line of code can be used in tag,php, search.php etc.
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]')?>
Please note that all this customization require custom work and for the moment we can’t offer any custom services. The above solutions contains code which can be adapted such that to obtain the desired result but there are many situations and conditions which must be implemented in order to have all your requests achieved.
If you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Just to clarify:
1) This is in reference to the header leaderboard ad and a custom leaderboard ad I have set to the footer. The theme settings only permit 1 global header ad throughout the entire site but I instead need different ad code for the homepage vs the header on category, tag and post templates.
2) When ads are set through the theme settings they lack the label “advertisement”
3) There does not seem to be a theme setting to replicate the homepage footer ad styling to all other templates like category, tag, etc. What template edit must I make to get the homepage footer ad style to apply to the category template like this screenshot from dev.iraqinews.com:
Correct layout:
<!– copy and paste. Modify height and width if desired. –>
Current layout (incorrect):
<!– copy and paste. Modify height and width if desired. –>
I tried this code, it seems to work on my computer, but it doesn’t seem to work on my iPhone. Does the mobile version need another css custom code ? Thanks.
Hi, this only hides the sharing button i guess – i mean the other one. The ohter twitter buttons ads a lot of requests to my site and i dont need the button! As i mentioned before – the TOP ARTICLE LIKE/TWEET and BOTTOM ARTICLE LIKE/TWEET are not the on you are mentioning…
thx