- 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
Hello,
I used the following code to hide the excerpt on the home page
.home .td-excerpt{
display: none;
}
but this created white space for this i asked for help and got to know the following code which helped on the desktop
.td_block_12 .td-module-title {
position: relative;
top: 50px;
}
But on mobile devices, it displaced the titles and pushed them down as you can see in the following screenshot
http://prntscr.com/kayrxd
How can we fix this on mobile devices?
Also How can I show the Top Menu on Mobile Devices.
Please help
I have very important navigation elements on top navigation. But on mobiles top navigation is disabled. How can I enable the top navigation on mobiles.
My site: govtjobmela.com
Thanks & Regards
I have used the TagDiv Images Gallery. The problem is that the TD Gallery is not showing the thumbnails of images in mobile devices. It shows only in desktop devices.
Hello,
can someone tell me if it makes sense to upload the image in the size that would be optimal for Mobile?
For example:
<![]()
For Mobile the image is 726x358px.
Looks that way:
<![]()
If I upload the image to 324x160px, is it blurry on mobile devices?
Translated with http://www.DeepL.com/Translator
The menu and the search field open when I touch them, but the page goes to the top. I’ve tested on many browsers and mobile phones
Does not that happen to you?
Polish – Witam, ostatnio kupiĹ‚em Newspaper, zainstalowaĹ‚em i mam kĹ‚opot.
1) ZainstalowaĹ‚em Default Demo (InfoPowiat.pl) i widzÄ™, ĹĽe moja wersja mobilna różni siÄ™ od wersji z paĹ„stwa demo – gdzie mogÄ™ to zmienić? Przy kaĹĽdej zmianie wyglÄ…du strony głównej TD Composer zmienia siÄ™ tylko wersja deskopowa. W edytorze strony w “Mobile Editor” nie ma nic, po skopiowaniu kodu wersji deskopowej strona mobilnie siÄ™ nie Ĺ‚aduje.
2) Gdzie mogę zmienić wygląd stron głównych/list poszczególnych kategorii? Poszczególne kategorie mają różne style, więc gdzieś na pewno można to zmienić (http://infopowiat.pl/kategoria/fashion/new-look-2015/; http://infopowiat.pl/kategoria/fashion/street-fashion/; http://infopowiat.pl/kategoria/fashion/style-hunter/; http://infopowiat.pl/kategoria/fashion/vogue/).
English by Google Translate – Hello, I recently bought a newspaper, installed and I have a problem.
1) I installed Default Demo (InfoPowiat.pl) and I see that my mobile version is different from the demo version – what can I change? It is useful to change the TD Composer site only the desktop version changes. In the editor of the pages in the “Mobile Editor” there is nothing, after copying the code version of the mobile page is not loading.
2) What is the larger resolution of the main category? The different categories have different styles, so you can change (http://infopowiat.pl/kategoria/fashion/new-look-2015/; http://infopowiat.pl/kategoria/fashion/street-fashion/; http: //infopowiat.pl/kategoria/fashion/style-hunter/; http://infopowiat.pl/kategoria/fashion/vogue/).
Hello,
Sorry to get back so late on this following code
.td_block_12 .td-module-title {
position: relative;
top: 50px;
}
When i use this CSS, it works fine on the desktop but on the mobile device it pushes the titles at the bottom. Seems like there should be a restriction for the CSS not to execute on the mobile phones or limit it to execute only on the desktops.
http://prntscr.com/kayrxd
@simon More than half of my readers are mobile-based. I need a solution to this ASAP, please!

-
This reply was modified 8 years by
nicomaramckay.
Hi,
We require a custom menu for mobile view so installed the mobile theme plugin. However, the mobile menu still seems to be displaying the main desktop menu, even though it’s assigned to a newly made custom ‘mobile menu’ in the theme panel and also assigned in the appearance > menus page. No caching plugins installed. I expect there’s a switch somewhere I’ve missed!
Thankyou
Um, ranking impacts traffic; traffic impacts visitors; visitors impact ad views and clicks. Sorry for trying to help. Adsense revenue is dependent on how many visitors actually click ads, less deductions for robots or self-clicks, not on “the theme” or the layout. Generally, you can check your Adsense account for notifications of problems.
And, again, suggest you check your site for “performance” and “best practices” in Lighthouse, as Google will show your site to fewer people if the user experience and page loading for mobile is not up to speed. This impacts visitors, and then revenue.
Good luck!
(I don’t work here; just 23 year webdev and have been using AdSense since it was in BETA.)
dear sir
site http://www.nexthope.fr,
it’s OK with computer view
but with smartphone android and ios , I have the html code view
[vc_row][vc_column etc…
@simon I tried that, but when I reactivated things, I received this error again, and my entire website wouldn’t work:
Fatal error: Cannot declare class Mobile_Detect, because the name is already in use in /home/plutopsyche/htdocs/wp-content/plugins/td-mobile-plugin/Mobile_Detect.php on line 28
Hi,
For me they seem to appear on both desktop and mobile at the moment
– http://prntscr.com/kauhpk
– http://prntscr.com/kauij6
I tested with the Chrome browser. Check with the browser inspector when the problem happens, maybe there are errors in the console.
Hello!
I’m trying to insert a tag for video advertising on the right place but it always changes the layout of the website.
According to the company who takes care about the advertising on my website, I should insert the tag inside the <body> and the result should be a video advertising on the bottom right corner of the website (on desktop) and a video advertising on the bottom of the smartphone screen (on mobile).
After I insert the ad tag right before closing the <body>, this is what happens:
Desktop: sometimes it shows the video advertising, but most of times shows a banner after the footer who changes the website layout.
Mobile: video advertising never appears.
My question is: where should I insert the ad tag so everything works according to expected, both in desktop and mobile?
The website is: http://www.vortexmag.net
Thank You for your help!
Hello,
I had made two custom modules, editing the td config file directly. Upon updating the theme I quickly found out I should have used the theme api plugin to avoid having everything erased. However I can’t get it to work.
I followed the tutorial offered on the site, creating the td-api-plugin folder and php file.
The php file includes following text, do I need to alter the $this->plugin_url and $this->plugin_path ?
If so how would I need to do this.
I am working with a newspaper-child theme and the address of the site is currently v2.enola.be,
which will change in the future to http://www.enola.be so I want to be prepared for that too.
thanks for your kind assistance
Nick
<?php
/*
Plugin Name: td-api-plugin
Plugin URI: http://tagdiv.com
Description: tagDiv API plugin
Author: tagDiv
Version: 1.0
Author URI: http://tagdiv.com
*/
class td_api_plugin {
var $plugin_url = '';
var $plugin_path = '';
function __construct()
{
$this->plugin_url = plugins_url('', __FILE__); // path used for elements like images, css, etc which are available on end user
$this->plugin_path = dirname(__FILE__); // used for internal (server side) files
add_action('td_global_after', array($this, 'hook_td_global_after')); // hook used to add or modify items via Api
}
function hook_td_global_after() {
//Add new modules
td_api_module::add('td_module_20',
array(
'file' => $this->plugin_path . "/includes/modules/td_module_20.php",
'text' => 'Module 20',
'img' => $this->plugin_url . '/images/panel/modules/td_module_20.png',
'used_on_blocks' => array('td_block_25'),
'excerpt_title' => 30,
'excerpt_content' => 50,
'enabled_on_more_articles_box' => false,
'enabled_on_loops' => true,
'uses_columns' => true, // if the module uses columns on the page template + loop
'category_label' => true,
'class' => 'td_module_wrap td-animation-stack',
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
td_api_module::add('td_module_21',
array(
'file' => $this->plugin_path . "/includes/modules/td_module_21.php",
'text' => 'Module 21',
'img' => $this->plugin_url . '/images/panel/modules/td_module_21.png',
'used_on_blocks' => array('td_block_21'),
'excerpt_title' => 15,
'excerpt_content' => '',
'enabled_on_more_articles_box' => true,
'enabled_on_loops' => true,
'uses_columns' => true, // if the module uses columns on the page template + loop
'category_label' => true,
'class' => 'td_module_wrap',
'group' => '' // '' - main theme, 'mob' - mobile theme, 'woo' - woo theme
)
);
}
}
new td_api_plugin();
Hello leanjucas,
I have tested your website on mobile and the menu and search functionality seems to work as expected. Where is the problem? Try to clear all of your caches, purge CND files and check the results.
Thanks for your understanding!
Hi,
@nicomaramckay If you encountered the same issue, deactivate all other non-theme plugins, then install and active the mobile theme plugin. That seems to work for users with this problem.
Hello dk,
I have inspected your menu on mobile and I saw that it’s not working. Please try to disable all of your untested plugins, clear all the caches and check the results. Check your system status parameters to be increased according to our documentation from here
-> https://forum.tagdiv.com/requirements-for-newspaper/ If the problem is still there, try to make a new install to another subdomain for testing via FTP way and check the results.
Hope this helps!
Thanks for your understanding!
Good morning to you,
I am coming to you because I am currently experiencing three technical problems: ( sorry for my English I use DeepL)
My Website : https://exoportail.com/
1) My logo on the AMP pages is not displayed even though I saved it in the mobile logos. Moreover and it is strange when I move the mouse pointer to the place where should be the Amp Logo I can see that the URL of my site is displayed at the bottom left as shown in this image :

2) I tried to put a background Theme and the same thing in mobile version but it only appears on my browser where I am connected with my wordpress admin account. Indeed when I use another browser or a visitor goes to my site, the background theme is not displayed.
3) My last problem is that all my images are suddenly automatically left aligned and this even old images. I specify that this only affects my browser where I am logged in with my wordpress admin account and that just like concern number 2, visitors are not affected.
Thank you very much in advance for the help you can give me and congratulations again for the theme newspaper 8 which I like very much 🙂
My website: https://techlandia.com.br/
Trying to edit which social networks display in the header for desktop and mobile. Im adding my networks but the icons don’t appear on the desktop view and they are wrong on the mobile view. Help.
Site: trigearguru.com
Theme: Newspaper
Thx
My menu on mobile doesnt work anymore, when I click to access the menu in mobile it does nothing. Also the drop down menu use to automatically drop down when you hover over each category on the homepage on desktop. It does not drop down anymore, instead I can only click to enter each category then the drop down works but not on home page.
Hello,
My main menu is working fine on all desktops and laptops but when comes the mobiles devices it doesn’t seem to work fine for me.
my website url: https://mafista.com/
Please help as I am losing dollars per hour because of that which leaves a negative impact on the customer
Thanks,
DK