- NewsmagUsing the theme translations together with WPML
- NewsmagHow to update a plugin
- NewsmagCustom Post Type Support
- NewsmagAbove footer ads
- NewsmagWeather Widget
- NewsmagHow to update the theme
- NewsmagIntroduction
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagCustom ad spots
- NewsmagArticle ads
- NewsmagSidebar ads
- NewsmagHeader ads
- NewsmagLoading image effects
- NewsmagCategory top post styles
- NewsmagSmart Lists
- NewsmagGeneral settings
- NewsmagTheme thumbs
- NewsmagtagDiv slider gallery
Ah ok. I was actually hoping to put them in the Menu area at the bottom where the side panel pops out. Here is an example.
How could I do this?
I have a wordpress site with 4.4.2 and Newsmag theme 2.2
I want to add a sidebar ad unit to show the ads only on desktop devices, and not on mobile devices.
I’m using td-visible-desktop but still the ad appears on mobile devices as well (towards bottom of the page).
Note : I’m using Google’s new GPT ad tags.
There are two things which we tried to fix the problem:
1. We updated to the new theme v2.3.5 on a test environment and used the GPT ad tags, it worked perfectly fine. Here’s a test site link where it works as expected on mobile and desktop devices : http://work.koimoi.com/box-office/celebrity-battle/shah-rukh-khan-vs-aamir-khan-highest-lifetime-collection/
2. On theme v2.2, we used Google’s old ad (GAM) tags, and the problem got fixed.
We need a solution where we can use GPT tags, on theme v2.2 wherein the sidebar ads are only visible on mobile devices or desktop, basis the class we use i.e. td-visible-desktop or td-visible-phone
Here is a URL for you to refer to as an example : http://www.koimoi.com/bollywood-news/pratyusha-banerjee-suicide-case-court-rejects-rahuls-bail-plea/
On the URL, you will see 4 ads on the sidebar. The second and third ads are coming through Google’s old GAM tags, whereas the fourth ad is coming through Google’s GPT tags.
The second and third ads are not visible on mobile devices when we use td-visible-desktop, but the fourth ad is visible on mobile devices as well, even though we’ve used td-visible-desktop class.
Hello
I tried to add child theme for Newspaper but it doesn’t properly load the parents css and js
Even tried with this plugin Child Theme Wizard, but still the same
Instead of the side bar i get 2 blue headers with
Slider HTML
Jquery-Slider script
The example child theme does the same
functions.php
<?php /*
This file is part of a child theme called Newspapper Child.
Functions in this file will be loaded before the parent theme’s functions.
For more information, please read https://codex.wordpress.org/Child_Themes.*/
// this code loads the parent’s stylesheet (leave it in place unless you know what you’re doing)
function theme_enqueue_styles() {
wp_enqueue_style(‘parent-style’, get_template_directory_uri() . ‘/style.css’);
wp_enqueue_style(‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array($parent_style));
}
add_action(‘wp_enqueue_scripts’, ‘theme_enqueue_styles’);/* Add your own functions below this line.
======================================== */
and style.css
/*
Theme Name: Newspapper Child
Theme URI:
Description: A child theme of Newspapper 6
Author: admin
Author URI: http://vrn-dev.local
Template: Newspaper
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html/* == Add your own styles below this line ==
——————————————–*/
unable to add more than 1 menu in Top Header Menu, Header Menu (main), & Footer Menu
By applying this code social counter and text both are hiding looks like this <f like>.
If i dont apply this code it looks like this <f 87 myFacebookText like>.
What i want to achieve is <f myFacebookText like> means without counter number like 87 in this example.
Found it, I putted the code bellow in header.php to activate the Facebook Page Plugin. Is that anyway to do this without this error?
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.5&appId=1661209074153492”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
Hi,
Unfortunately there is no easy solution to this as it’s added with css, but you can inspect pull quote center paragraph for example and see how it was designed – http://screencast.com/t/pwnaeAeGi – http://screencast.com/t/UknMTzAHXGas and modify the default blockquote. You will have to add :before and :after to blockquote paragraph to add double qoutes and you can change the font from the theme panel: http://screencast.com/t/Vg3S0mefEt
Thanks!
Hi,
We provided the mega-menu example but any further customization will have to be made by yourself as we cannot offer customization services at the moment. The top post class extends the td_category_top_post_style class that can be found here: http://screencast.com/t/h9YbfMis
If you cannot adapt the code yourself you will have to hire some help from sites like studio.envato.com
Thank you for your understanding.
Hello,
Thank your for the answer. Here is what I made :
$count = get_post_meta($postID, self::$post_view_counter_key, true);
if ($count == ”){
update_post_meta($postID, self::$post_view_counter_key, 1);
} else {
$count = ($count*2);
update_post_meta($postID, self::$post_view_counter_key, $count);
}
But, in this case If the article is read 4 times for example, it automatically gets to 8. I just want each read to be counted for 2.
Thank you!
Dear Tagdiv-Team,
I’m really happy with what my website & header looks like right now, thanks to your great theme. However, when I reload the page or click on another article, the header always flashes in black before turning green. Is there a way to stop that from happening? I’m using the ‘full dark menu with Logo’ setting.
Thanks a lot in advance!
What is the use of this script?
/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=6.6.5
Hi
Thanks for the quick reply. I tried your code but without any luck. I have two images to illustrate what I am trying to accomplisch.Perhaps showing it helps you better understand or give me a hint on what I am doing wrong with your code.
The site has several Categories with Subcategories. One of those Categories is ‘Nieuws’ (Dutch for News). The category id for this category is 23. Nieuws has several subcategories, such as ‘File’ (Dutch for traffic jam). The category id for this category is 87.
I tried accomplishing what I want with this code:
if (get_class($this) == 'td_block_mega_menu' && $this->atts['category_id'] == 23) {
$this->atts['category_ids'] = "23, -87";
}
However, the result is still the same. The articles from the category File keep popping up in the mega menu and on the category page in the big grid.


Hope you can assist me further.
Hello Albert,
Please try to set your blocks by the following example and check the results.
-block 18 ->> filtered by category X with offset 1
-block 2 ->> filtered by category X with offset 2
-block 2 ->> filtered by category X with no offset
-block 2 ->> filtered by category Y with offset 2
-block 1 ->> filtered by category Y with no offset
-> and then you have to set for each block how many posts you want to be displayed on the block.
Hope this helps!
If is not what you mean, please provide more details about your desired changes so I will be able to provide a more accurate response.
Thank you for the message!
How can I remove/change theme name in script area?
var td_viewport_interval_list=[{“limitBottom”:767,”sidebarWidth”:251},{“limitBottom”:1023,”sidebarWidth”:339}];
var td_animation_stack_effect=”type0″;
var tds_animation_stack=true;
var td_animation_stack_specific_selectors=”.entry-thumb, img”;
var td_animation_stack_general_selectors=”.td-animation-stack img, .post img”;
var tds_general_modal_image=”yes”;
var td_ajax_url=”http:\/\/flyon.co\/ajax?td_theme_name=Newsmag&v=2.3.5″;
var td_get_template_directory_uri=”http:\/\/flyon.co\/skin”;
var tds_snap_menu=””;
var tds_logo_on_sticky=”show”;
var tds_header_style=”9″;
var td_please_wait=”Please wait…”;
var td_email_user_pass_incorrect=”User or password incorrect!”;
var td_email_user_incorrect=”Email or username incorrect!”;
var td_email_incorrect=”Email incorrect!”;
var tds_more_articles_on_post_enable=””;
var tds_more_articles_on_post_time_to_wait=””;
var tds_more_articles_on_post_pages_distance_from_top=0;
var tds_theme_color_site_wide=”#0091f9″;
var tds_smart_sidebar=”enabled”;
var tdThemeName=”Newsmag“;
var td_magnific_popup_translation_tPrev=”Previous (Left arrow key)”;
var td_magnific_popup_translation_tNext=”Next (Right arrow key)”;
var td_magnific_popup_translation_tCounter=”%curr% of %total%”;
var td_magnific_popup_translation_ajax_tError=”The content from %url% could not be loaded.”;
var td_magnific_popup_translation_image_tError=”The image #%curr% could not be loaded.”;
var td_ad_background_click_link=””;
var td_ad_background_click_target=””;
Hi,
We added Adsense to our website (bottom of the page – just below the Comments section), we see that adsense is loaded on the page but the add is not displayed.
Here is a link to check: https://www.zopini.com/blog/lg-home-4-0-menawarkan-pilihan-untuk-menampilkan-app-drawer-pada-ponsel-g5/
Thank you for your help.
My site is quite old and has about 100,000 pages which I am not goint to export into NewsPaper6, because most of them are already well positioned. However, I would like to embed the new content generated with NewsPaper6 into the home pages of the different categories.
For example, the last 10 articles uploaded to NewsPaper6 in the “Sports / Soccer” section should appear embedded on my old shtml page, so that any visitor to that old page sees the new content there.
Is this possible? How?
Hello TagDiv,
The main source of income with my Adsense account are the Link ads. I use 3 small (200×90) link ads at the beginning of each article, and would like to do this with my new site. I tried inserting a table with 3 columns, each of them with the 200×90 adsense links code just like I have it on my current site and this didn’t work. How to I do this?
I wanted to send you a screenshot but didn’t find a way to attach it so here’s an example page:
http://www.deguate.com/artman/publish/cultura-musica-guatemala/primer-album-solista-de-zayn.shtml
Please look at the three 200×90 small link ads boxes that appear just before the article’s content.
Hi! This is my page (http://zeta.com.ve/) I have some problems to adapt the Media Grid to the page width. Here I leave an example of how I would like to stay. (http://vimainteriorismo.com/ in the section “Nuestro Espacio”) Please I need your help, Thanks =)
Hello there 🙂
I got a problem with my theme. I’m using the Big Grid 2 from the Visual Composer. There I want to change the design settings = margin. For example I use 10px on the right AND on the left side. But it just apply to the left side. What’s the problem?
Also can I change the size of the big grid pictures? They are way to big for me.
Thank you!
Hello TagDiv support,
Before buying your product, I asked if it was possible to create subcategories menus to be shown in the top of the page (below the main menu) so that if a user for example clicks on the “Sports” he can then choose the different sports covered (soccer, basketball, swimming, karate, etc…). Your staff replied that this was possible to do “using a standard wp custom menu widget”.
So I am now configuring my site and would like to do this, could you please tell me how to do the subcategories menu.
Thank you.
Hi – sorry but you dont understand what im asking for!!!
Please – reproduce
1. Create a new category for example “test”
2. create antoher 3 new categories and set the “test” category created before as parent category for these 3 new categories. So the 3 Cats became child categories of the “test” category.
3. use the Category template Style 8 (http://demo.tagdiv.com/newspaper/category/template-style-8/ for the “test” category.
3. View the “test” category (with the Category template style 8) in the frontend.
4. As you can see – the empty categories are showing up below the title!!!
Question:
HOW CAN I HIDE THIS EMPTY CATEGORIES?????
This makes no sense to display emty categories – in my opinion a bug
thx
1- example: https://www.dropbox.com/s/5f52lra0g84l380/incorporare-twitter.JPG?dl=0
2- example: https://www.dropbox.com/s/67xoejhk3o4mw2o/incorpora2-twitter.JPG?dl=0
3- example: https://www.dropbox.com/s/d428ob5fv52txlv/incorp-facebook.JPG?dl=0
4- example: https://www.dropbox.com/s/6ktrv9qywjw4egs/incorp-facebook2.JPG?dl=0
5- result on another theme: https://www.dropbox.com/s/rdruzjzrh592ssb/result.JPG?dl=0
Hello waqas,
I am not aware of your play wire embed video, sorry. I suppose that is the plugin and we have no idea about the behaviour of the theme with this kind of untested plugin. Please notice that we cannot provide support for untested plugins and also, we cannot provide customization services at the moment, sorry! Above, I gave you an example to how you can add the video, only from Youtube to be displayed in Tabs with the existing elements in the theme.
Thank you for your understanding!
Hello,
just a fast question. I want on the posts i create and i choose video when someone visits the posts the video to start autoplay on load. I tried to add the link on the featured video field with ?autoplay=1 or &autoplay=1 but didnt work.
Any ideas or suggestions?
Looking forwar,
Atsouf
When I use the Newspaper theme search function, any page that was created with visual composer shows some crazy results.
It shows all of the shortcodes and gibberish used to create the VC pages.
Example:
http://i.imgur.com/GMsVrK1.jpg>
Posts return normally, it’s only for visual composer pages, which we have a lot of in our site.
How can I prevent this from happening?
Here’s the staging site if you want to try for yourself.
http://dev-seedbed-blog.pantheon.io/