- ApiPractical example – How to add a new Block and Module
- ApiAPI – Smart Lists – Introduction
- ApiAPI – Category top section style – Introduction
- ApiAPI – Category top section template – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
Salut,
Am inspectat website-ul si din cate vad codul este prezent in structura paginii
– https://www.screencast.com/t/L78Ug5WhpfU
Cand dimensiunea paginii ajunge la limita de mobile, clasa care il face vizibile se aplica
– https://www.screencast.com/t/VJGt5VKUnG
Observ si niste erori in consola ce ar putea fi legate de aceasta situatie
– https://www.screencast.com/t/ow16piaEaFpK
Multumesc!
Hi,
The logo in mobile view shows at right and more big, and I don’t know how to fix it. In Header > Logo for mobile I have a logo in 140 x 48px and in retina logo mobile I have the size in 280 x 96px. You can see it in mobile: http://chilecientifico.com
Thanks,
The mobile Theme looks pretty cool! Is there a easy way to use the mobile theme and put it in a app for IOS and android?
When I open my site (https://smallcaps.com.au) on a mobile (android) and click on the Menu -> Media -> Podcast.
Rather than open up the podcast page it asks whether to open the podcast app on my phone or the internet.
All other items in the menu load the mobile web page as normal.
Why is it having the issue with? https://smallcaps.com.au/podcast/
Thanks
Thank you for the update to Newspaper 8. Like a lot of users there are some teething troubles as we settle in.
One is the view on mobile devices. More often than not it doesn’t render the CSS correctly, giving us this view:
Welcome any ideas to put it right!
Thanks. u r right. the url doesn’t allow image loaded on mobile!
thanks again!
Perhaps the other site you’re loading image from doesn’t allow that image loaded on mobile?
If the URL is in the post, check the URL to image works on a mobile device.
Hallo, guys
Questions about image
I copy paste text and image from other websites, the image can be only seen from PC.
When i use mobile and tablet, the image is broken or not appear.
Is there any solution?
Thanks
HI Marius
I have placed the code to optimize the images
I have placed it at the end of “function.php”
I want to know if it’s right where I put it
Here is what I did
<?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”>BUY NEWSPAPER NOW!</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”>” class=”td-set-theme-style-link td-popup td-popup-<?php echo $td_demo_names[$stack_params[‘text’]] ?>” data-img-url=”http://demo.tagdiv.com/demos_popup/newspaper/large/<?php echo $demo_id; ?>.jpg”></div>
<?php } ?>
<div class=”td-set-theme-style-empty”></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”></div>
<div class=”td-screen-demo” data-width-preview=”380″></div>
<div class=”td-screen-demo-extend”></div>
</div>
<?php
}
}
//print_r(td_global::$all_theme_panels_list);add_filter( ‘jpeg_quality’, create_function(”, ‘return 50;’ ) );
Hello, how to set up to appear popular posts in the mobile theme footer?
Hi guys,
How can I stop breadcrumbs from loading on mobile devices?
FYI: We don’t use the tagDiv mobile theme. We use a child theme.
Thanks!
Please find a way to fix this.
The responsiveness of the theme is terrible.
How can I solve the problem in the image below?
The menu breaks when I’m with layout in header style 6.
One solution would be to be able to display the mobile menu for the resolution that I set.
Si se activan plugins para optimizar javascript, ccs o cache el theme funciona correctamente y ademas actualiza la velocidad de carga en pc, pero no deja entrar en el menu de navegacion desde el movil. Como puedo solventar que tenga rapidez de carga pero ademas funciones la web bien en responsive?
The main menu of the mobile theme is not working, on clicking it there is no response and sometimes the mobile theme doesn’t working until I deactivate the tagdiv mobile theme plugin and reactivate it. What is the cause of this and how can I resolve this.
Îmi cer scuze, dar revin cu o mențiune referitoare la reclame.
Codul folosit pentru mobil este același cu cel folosit în Mobile Theme (și diferit de cel pentru desktop). Am urmat pașii de aici și am introdus codurile sub forma:
<div class="td-visible-desktop"> <!-- Your NON AdSense code here - this ad will show only on desktops --> </div>
<div class="td-visible-tablet-landscape"> <!-- Your NON AdSense code here - this ad will show only on tablets in landscape orientation --> </div>
<div class="td-visible-tablet-portrait"> <!-- Your NON AdSense code here - this ad will show only on tablets in portrait orientation --> </div>
<div class="td-visible-phone"> <!-- Your NON AdSense code here - this ad will show only on phones --> </div>
Ideea este că primele două au codul de desktop și ultimele au codul de mobil, care, repet, funcționează în tema mobilă, dar nu și aici.
Codul meu arată cam așa:
<div class="td-visible-desktop">
<div id="adcode1"></div>
<script type="text/javascript">
***cod reclamă
</script>
</div>
<div class="td-visible-tablet-landscape">
<div id="adcode1"></div>
<script type="text/javascript">
***cod reclamă
</script>
</div>
<div class="td-visible-tablet-portrait">
<div id="adcode2"></div>
<script type="text/javascript">
***cod reclamă
</script>
</div>
<div class="td-visible-phone">
<div id="adcode2"></div>
<script type="text/javascript">
***cod reclamă
</script>
</div>
Hi,
Please check in the theme panel background settings mobile menu section
– https://www.screencast.com/t/Ap5I79kTkSB
Also check the Sign in/Join background
– https://www.screencast.com/t/yC89MuVI0
Thanks
Hi,
Everytime I upload an image for the background of the mobile menu, it comes out blurry.
Can you please specify what is the best size for the mobile menu background, so the image shows perfectly?
Thank you,
Emily
Hello,
The theme does not remove settings. You are probably using the mobile theme plugin. Please read this guide to learn the plugin features: https://forum.tagdiv.com/the-mobile-theme/
Thank you!
Salut,
1) Din pacate reclama pe care o foloseti in sine este dezactivata pe mobile. Tema isi face treaba in a arata reclama acum: https://www.screencast.com/t/aKyp480o9z5 dar ea nu este activa pe mobile din alt loc, nu din cauza temei.
7) Te rog ofera mai multe informatii deoarece nu inteleg exact problema.
Pentru restul problemelor vom trimite un replay pe mail imediat ce gasim rezolvarea lor dupa investigatii.
Multumesc.
Here is my actived plugin list
Plugin Statuses
Theme Name Newsmag Child theme
Theme Version 1.1
Active Plugins
Number of Active Plugins 59
360° Panoramic Viewer 1.1.4
Accelerated Mobile Pages 0.9.50
Ad Blocker Notify Lite 2.2.1
Advanced Ads 1.7.25
Advanced AMP ADS 1.6
Advanced Excerpt 4.2.3
Akismet Anti-Spam 3.3.2
AMP 0.4.2
Animated Gif Resize 1.0
Better Analytics 1.2.3
Connects – Mailchimp Addon 2.0.3.3
ConvertPlug 2.4.0
Crayon Syntax Highlighter 2.8.4
Disqus Conditional Load 10.2.3
EWWW Image Optimizer 3.4.0
Fast Velocity Minify 2.0.8
Google Adsense Adblock Tracker 1.0.0
Jetpack by WordPress.com 4.9
Media Cleaner 4.0.2
Multipage Plugin 1.3.6
NextScripts: SNAP Pro Upgrade Helper 1.3.9
NextScripts: Social Networks Auto-Poster 3.8.2
Nginx Helper 1.9.10
NinjaFirewall (WP Edition) 3.5
OneSignal Push Notifications 1.14.3
Purge Cache for CloudFlare 1.2
Redis Object Cache 1.3.5
Regenerate Thumbnails 2.2.6
Search & Replace 3.1.2
Social Warfare 2.2.3
Social Warfare – Pro 2.2.3
Table of Contents Plus 1601
tagDiv Social Counter 4.1
tagDiv Speed Booster 4.8
TinyMCE Advanced 4.5.6
VaultPress 1.8.9
WPBakery Visual Composer 5.1.1
WP Crontrol 1.5
WP Google Maps 6.4.03
WP Links Page Pro (Personal Version) 3.3
WP Time Capsule 1.9.3
XML Sitemap & Google News feeds 4.7.5
Yoast SEO Premium 4.8
Here is my custom CSS
/* center the ads */
.td-a-rec-id-content_inline {
text-align: center;
}
.td-a-rec {
text-align: center;
}
/* disable more articles in mobile */
@media (max-width: 767px) { .td-more-articles-box{ display:none;} }
.alignnone img, .aligncenter img {
/* width: 100%; */
}
/*force line break in mobile*/
html { -ms-word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
@media(max-width: 768px){ code { white-space: normal !important; } }
I tried disable all plugins except WPBakery Visual Composer, and clear all custom css, but it doesn’t help
Do you need any other information?
After Installing the Sound Radar demo on my site. I noticed a performance decrease of more than 60 seconds load time.
After debugging my site with firefox I found the problem an image file trying to load from this link
(http://192.168.0.208/wp_011_sound_radar/wp-content/uploads/2017/04/mobile-menu.jpg) was timing out. I have looked for it but have not found it. Please can Someone help me out.
Thanks
@neotrope That actually seems genuine since TD Composer and VC have almost same style. Apart from the buttons, you will have to recreate them for sure. There’s a shortcode for buttons though in format.
I don’t know but i have really not seen any great difference between TD Composer and VC. They look alot alike but the plugin of VC seems to be heavy abit.
Stay with VC for sure. Disable TD, it would be total mess re-creating all posts now. As for VC you should know, you can’t properly use mobile theme with it. Try not to use VC in posts for now.
-
This reply was modified 9 years by
drvarun5179.
Good afternoon, what should be removed, so that the topic will not adapt to mobile and tablets? Which of the @media
Why does the theme can lose settings in mobile resolution? How can I fix it?
So having used the theme for two years with no problems – purchased it having researched it – it now moves to a proprietary page builder instead of the widely used VC – causing untold problems for lots of people.
Tagdiv should concentrate on what ‘news’ websites are doing – not ‘improve’ something that is already excellent.
I have 7,000+ posts – 20 new each day, I run a business
Firstly it was the ‘super fast’ mobile theme that can’t take ads from the desktop version – ads are how we make money
Now updates will only be issued for the new page builder in the future – not VC – that’s not what we paid for
People have paid for this product – there should be updates for both options and the chance to stay the same.
Do you ever research what news websites are doing now? Newspaper isn’t that much better than many other options anymore.
But now it’s more difficult than ever to use, content is disappearing, people are confused, and developers aren’t improving the features that other news sites are adopting, and so it will probably falling behind.
Plus – my site loads in under 2 seconds with the right settings, I fail to see how any improvement in using the TagDiv Composer is worth any speed improvement it may give
I think you’ve made a mistake with 8 – and have to look elsewhere now which is a shame – look through available themes that are bestsellers for news – they all use VC – and everyone is happy – this improvement isn’t worth the hassle