- 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
Hi,
There is no need to use a plugin to have Adsense ads on your website. You just have to insert your ad codes in the sections you want in the theme panel
– https://www.screencast.com/t/3xecqEUagq71
More information about using ads in the theme here
– https://forum.tagdiv.com/header-ads-adsense/
– https://www.screencast.com/t/CkM1SzC6onC
The head tags are found in the header.php file found in the main theme folder
– https://www.screencast.com/t/2Is3ZyBwdGLO
You can use any text editor to edit the file insert the required code between those tags.
If you want to use different ads then Adsense you just need to enter your ad code in the section you desire, and the theme will render it without any modifications
– https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
Thanks
Hello gntvls,
1)There seems to be an issue with the access token in the current version of the social counter.
Please download this version: http://cdn.tagdiv.com/wp-content/uploads/2017/03/td-social-counter.zip
And very important: clear all your caching including the browser cache. Example for chrome: https://www.screencast.com/t/f9Q66lPx1fY
Now the access token should work as before.
2)If you want to use the same widgets for your sidebar on the homepage and the other pages, like post pages and category pages, you should create your own sidebar in Newspaper Default Widgets, for example, and for the homepage, you can add it to Widgetised Sidebar. This thing can be done using the Visual Composer builder plugin.
For more information about how you can use the Visual Composer, please consult here -> https://forum.tagdiv.com/how-to-use-visual-composer/
Thanks for your understanding!
Hi
I plan to use adsense and was wondering the best method and easiest.
I see there are plug ins avaliable for WordPress and Adsense.
1 – Do i need to install one of these plug ins for adsense to work on my website (if so which best)
2 – If i do not use Adsense and use another is it a very technical and long winded method to manually add the scripts?
Sorry i am new to adsense and would appreciate help and advise
regards
stu
Hi, I’m trying to use Block 14 as a placement for sponsor ads/information. I have a number of questions
1. Is it possoble to make this block to autorotate?
2. Please take a look at the screenshot: http://imgur.com/a/VAd68
The moment I add posts to this block, they apear at the same time in the latest posts as indicated with arrows. Is there any way to exclude them from Latest Posts?
3. Currently there are posts displayed at once. Is there a way to display 4 posts (kinda 4 columns?)
4. If you have some other modules more suted for ads display (with functionality mentioned in items 1, 2, 3) plese let me know.
Hello,
Please first test your ads on a post. Place the ad code inside the post content and see if it works. Then if it works from inside the post content try using this method of implementation: https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
As an alternative you can use the adrotate plugin to bypass the theme ad system.
Thank you!
This is the width of other themes I use:
https://smallcaps.com.au/wp-content/uploads/2017/04/HTB.jpg
This is the width (half page) I get on NewsMag:
https://smallcaps.com.au/wp-content/uploads/2017/04/SC.jpg
Is there a reason it is so narrow?
How can I make the width of the visual editor in new posts to be full width and not half page?
Thanks in advance
Hello Wagner29,
I cannot access your website because it seems to be in maintenance mode, right? Do you have read our documentation regarding on using other ads? -> https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
If you need more assistance in this regard, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further inspect it closer your setup page. Provide there the link of this topic so we can quickly identify you.
Thanks for the message!
Thanks for your reply.
1) Am after something like this: https://ps.w.org/widgetize-navigation-menu/assets/screenshot-3.jpg
So people can search by clicking a magnifying glass icon or search box in the main menu.
Or even in the top menu like my other site where there is a search box up top: http://www.hangthebankers.com
Is there an option or code that allows it? Or do you know of a plugin that would work?
2) towards the bottom of the home page: https://smallcaps.com.au/
In the interview section.
This image is from my home page:
https://smallcaps.com.au/wp-content/uploads/2017/04/Grey-lines-remove.png
Thanks
Hi everyone. I have two separate questions…
1) Install Error message – I just bought the Newspaper theme and followed all instructions to extract and install the newspaper.zip file to my wordpress dashboard, but keep getting the same error that reads: “Are you sure you want to do that? Please try again.” Followed suggestions for clearing cache and cookies and still not working.
The second question leads into this above, as the other suggestion was to disable plugins currently working.
2) My site is rather large and has been up and running for a little over 2 years. Is it true that I am not able to design the new site with the newspaper theme offline?? Can’t find the answer to this question directly. I just found someone else stating that in order to fully customize this theme, I have to activate it. So, does that mean my original site will be completely gone while I design and then implement the new one??
Thanks so much for any help on this!
Hi,
The text in this particular widget showing as 13px not 14px:
https://smallcaps.com.au/wp-content/uploads/2017/04/14xp-not-13px.png
How can we make it show up as 14px?
Other widgets in sidebar show 14px such as the “Recent Posts” widget.
The widget box in the sidebar that is showing text at 13px:
https://smallcaps.com.au/wp-content/uploads/2017/04/Widget-box-of-text-showing-as-13px-not-14px.jpg
Regards,
https://smallcaps.com.au/
Hello Wagner29,
Please notice that you will use our classes for using other ads, the theme will cut the images from your ads to fit the container for desktop, tablet, and mobile, as you can see here -> https://www.screencast.com/t/NRlJDydcVc3I Clear all your caches and check the results.
Thanks for your understanding!
Thank you for sharing this solution. I;lm sure it will help other users as well.
We will look into the ads problem from the other topic as well.
Thanks!
Hi Bogdan,
After searching a lot on the internet and trying out many things. Here is the code I am sharing for others to use which worked for me.
To add Adsense or any kind of ad codes at after multiple paragraphs. Simply copy this code at the end of functions.php
//Insert ads after second and fifth paragraph of single post content and after the post content. Provided by Bloggingdude.com:
add_filter( 'the_content', 'prefix_insert_post_ads' );
function prefix_insert_post_ads( $content ) {
$ad_code = '<div> Adsense/Ad code goes here</div>';
if ( is_single() && ! is_admin() ) {
return prefix_insert_after_paragraph( $ad_code, 2, $content );
}
return $content;
}
add_filter( 'the_content', 'prefix_insert_post_adsNew' );
function prefix_insert_post_adsNew( $content ) {
$ad_codenew = '<div> Adsense/Ad code goes here</div>';
if ( is_single() && ! is_admin() ) {
return prefix_insert_after_paragraph( $ad_codenew, 5, $content );
}
return $content;
}
// Parent Function that makes the magic happen
function prefix_insert_after_paragraph( $insertion, $paragraph_id, $content ) {
$closing_p = '</p>';
$paragraphs = explode( $closing_p, $content );
foreach ($paragraphs as $index => $paragraph) {
if ( trim( $paragraph ) ) {
$paragraphs[$index] .= $closing_p;
}
if ( $paragraph_id == $index + 1 ) {
$paragraphs[$index] .= $insertion;
}
}
return implode( '', $paragraphs );
}
// Add signature or ad after post content. Provided by Bloggingdude.com:
function custom_content_after_post($content){
if (is_single()) {
$content .= '<div> Adsense/Ad code goes here</div>';
}
return $content;
}
add_filter( "the_content", "custom_content_after_post" );
Simply change the text ‘Adsense/Ad code goes here’ with your own Adsense/ad codes and it will start displaying ads after paragraph-2, 5 and after the post content.
You can change the paragraph number 2 and 5 to your own desired paragraphs.
The only problem I am having with any of the methods I use to insert inline ads is that it is compatible with TagDiv Speed booster plugin. No, I am not talking about only the method I wrote above, but no matter how you include inline responsive ads after multiple paragraphs, it breaks when activating speed booster plugin.
I have raised this issue in detail here: https://forum.tagdiv.com/topic/conflict-between-speed-booster-and-inline-ads-what-can-be-done/ . See if there is any possibility to resolve it.
Thank you 🙂
Here is the issue,
I have tried 3-4 different method to insert inline ads after several paragraphs under post content ( both using plugins and without plugins) . It works perfectly.
But I noticed that when we use it with speed booster plugin, it has one weird issue.
First of all, based on info available here- https://forum.tagdiv.com/how-to-make-the-site-faster/ , I delete this code from speed booster file to make it work with other plugins:
// disable the plugins if there are incompatible plugins
$active_plugins = get_option('active_plugins');
//print_r($active_plugins);
//die;
foreach ($active_plugins as $active_plugin) {
if (!in_array($active_plugin, $this->allowed_plugins)) {
define('TD_SPEED_BOOSTER_INCOMPATIBLE' , $active_plugin);
return;
}
}
and then move the JS and css file to footer using file ID. It works very well with all other plugins installed on my website. But for this example- let’s consider that I don’t move any other files.
before activating speed booster. Here is how ad looks on my site: https://s30.postimg.org/6gjkrz7cx/ads-1.jpg
you can see that the ad after pragraph-1 is properly aligned to center within post content.
After activating speed booster, here is how it looks- https://s12.postimg.org/8lqlmqmp9/ads-2.jpg
You can notice that the ad leaves the post content and probably get aligned to the center of whole website, not just post content.
On further checking, I noticed that the issue is caused by the following line:
$this->move_style_to_footer_queue('td-theme');
When I delete this line from speed booster, the ads start displaying correctly. But then a new issue arises, the homepage gets broken like this: https://s11.postimg.org/6tk42duer/2017-04-13_14-14-13.jpg
So, either I can run these ads properly but then homepage gets broken or display homepage correctly, then ads gets misaligned.
I do want to use speed booster for optimisation purpose. So, please look into the issue and see if anything can be done.
Thank you.
Hi,
The theme has these requirements – https://forum.tagdiv.com/requirements-for-newspaper/ and modifications to be made according to this guide if it is necessary – https://forum.tagdiv.com/system-status-parameters-guide/
You can try to reinstall the theme using this method – https://forum.tagdiv.com/install-via-ftp/ and use only the plugins provided with the theme package, clear any caching installed and try again.
I see that you have many errors and warnings present on your website
– https://www.screencast.com/t/vRGaXW5G4cLn
This indicates that the transition to https was not done properly, please check these few leads that have proved to be useful to other users in this situation
– http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
– https://css-tricks.com/moving-to-https-on-wordpress/
– https://yoast.com/dev-blog/move-website-https-ssl/
You can also check our forum for some insight on this matter
– https://forum.tagdiv.com/topic/moving-to-ssl/
Thanks
Hello,
Yesterday I asked a question https://forum.tagdiv.com/topic/google-fonts-not-working-on-mobile-theme/ and Simion C. redirected me to a link. The solution actually worked and now I am able to use my own uploaded fonts to the mobile theme.
But now when I know that, I only use few selected fonts like Poppins, Open Sans, Georgia, and Merriweather. Is there any need to load Google fonts on the desktop or anywhere? What I understood that mobile theme does not load google fonts so we need to upload and define new fonts under style.css to use it. But the same is not the case with the desktop version. So, here are few confusions/questions of mine. Please help me understand/resolve it:
1. When I download Poppins font from https://www.fontsquirrel.com/fonts/poppins , it has 4-5 TIFF files which I further converted into .WOFF to use it. But do we need to upload all these files which had different font-weight?
Can’s we upload just one normal font-weight Poppins theme and then define different font-weight under style.css like this:
font-family: 'poppins-bold', sans-serif;
font-size: 12px;
font-weight: 600;
Or do we have to upload all kinds of fonts with different font-weight and then there simply write the name of font-family under style.css and then there is no need to separately write font-weight? Please help me understand this.
2. To upload multiple font files, do I need to write this code again and again under style.css
@font-face {
font-family: 'add your font family here';
src: url('add the source url for the font. insert the path that leads to the font') format("opentype");
font-weight: normal;
font-style: normal;
}
If we have already defined font-weight while loading the font ( font-weight: normal;) as shown in the above code, can we change the font-weight again after specifying font-weight while using it under style.css or under custom style.css?
3. Since I use only 4 fonts throughout the site. Can we simply upload it and then remove loading all another kind of fonts including google fonts to increase the site speed? If yes, how can I remove it?
4. Our default font is roboto and open sans. Is the only way to change it with desired one is by replacing these fonts-family name or do we need to delete is from somewhere?
5. Does site loads all the uploaded fonts every time user visits a page or does it call only the used fonts on that specific page?
I know these questions are silly, but will help me a lot making my site faster.
Thank you.
Hi. Same thing again. I wanted to change the FB App to another one, created it, entered ID and Secret key, The token does not pick up again.
I have newest Newspaper Installed (7.8.1) with newest Social Counter plugin provided.
I tried to use the other one: http://cdn.tagdiv.com/wp-content/uploads/2017/03/td-social-counter.zip – but this time not even this one helped.
Any ideas?
Also had same issue – installed new plug in and key accepted fast but still showing 0
need help
and i have other 2 problem, my ads show black, sometime is normal but sometime blanc
and i dont want to use mobile theme, so i want to use the standart newspaper theme, but i want to know how to change the menu color , if i want to show the web site in mobile and tablet the color still black.
thanks
Hello. Yah I saw those. What theme files should I edit so I can make the other ads visible? I’m using the smart list 8 and 7.
I am having the same problem. As you can see it works fine on the other grids.
https://brandinginasia.com/wp-content/uploads/2017/04/Screen-Shot-2017-04-10-at-10.34.21-PM.jpg
Also similar problem here
https://brandinginasia.com/wp-content/uploads/2017/04/Screen-Shot-2017-04-10-at-10.40.39-PM.jpg
-
This reply was modified 9 years by
bobbymc. Reason: additional problem
Ok, this is my website in progress: http://e50.4da.myftpupload.com
This is a screenshot of my website when I use Logo style 7: http://e50.4da.myftpupload.com/wp-content/uploads/2017/04/Logo-style-7.jpg
This is a screenshot of my website when I use Logo style 8: http://e50.4da.myftpupload.com/wp-content/uploads/2017/04/Logo-style-8.png You can see that the date, logo, and main menu are not left aligned with each other.
Secondly, the sizes for the logo images that I am using in both examples above are: Logo 331×51, Retina Logo 497×78. You can see that Logo Style 8 is compressing the logo…it is legible but too small and there is too much surrounding white space. Conversely, Logo Style 7 is not compressing the logo image, it is not legible, and it is too wide which forces the main menu down creating too much white space.
Also, in Logo 7, I would like to remove the fade below the menu and replace it with a grey line (as is possible in Logo 1). Question: Where can I chose the color for the lower in line in Logo Style 1?
Thanks so much for your help!
Dear Sir
I changed the color of the theme from the default blue color, to orange color.
PROBLEM:-
1) Whenever i open the website, it loads the Blue Color first, then changes to the orange color.
2) The problem is caused due to the tagdiv Speedbooster plugin. When disabled, this problem dissapears completely.
3) Maybe we need to clear the cache generated by the plugin, please suggest a way to do so.
Read this topic on the forum, other people are facing the same problem.
Best regards
Vishesh
There is another plugin that adds this functionality:
Auto Load Next Post
But it also requieres a similar configuration:

I havent been successful with this since I think NEWS THEME doesnt have a nav tag in its code.
See: https://codex.wordpress.org/Next_and_Previous_Links
In this thread someone explains it but I not very techincal so I get lost when they get into functions…
Here is a video explaining how to set up:
https://youtu.be/6KNXNBy5PGY?t=116
I hope someone in support can help us
Hi,
There you must enter the Adsense ad code. Or if you are not using Google Adsense just paste an ad code in the required section and the theme will detect this non Adsense code, and it will render the code on the front end unmodified
– https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
Thanks


