- ApiUsing the Theme API in plugins
- 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
error 1:
Access to font at ‘http://www.ignouassignmentguru.com/wp-content/themes/guruji_v10.2/images/icons/newspaper.woff?17’ from origin ‘http://ignouassignmentguru.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
see here : https://prnt.sc/qe7sdp
error 2:
error in amp https://prnt.sc/q4d9i7 see this help me out
error 3:
sometimes on desktop mobile view is open
Hi,
So you are using the mobile theme plugin -> https://i.imgur.com/xab6OJ3.png this will display the posts/content different from the desktop, maybe that’s the problem, also if you post an article and you have already open the homepage, in order to see the last post you’ll need to reload the page to update it.
If this is not what you mean, please provide some more details and some screenshots.
Hope this will help!
Thank you!
Hi,
The mobile version is look like that because you have the mobile theme plugin that provide you a better speed then responsive version of theme, but in order to achieve that speed you’ll need to create a new content for pages because in the most of cases those were made with builders ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor and this content will be display on mobile theme)
-> https://www.screencast.com/t/ebUIzt4se
Since Newspaper v9.7.4 you can show the responsive version on mobile theme -> http://prntscr.com/oh6r2s you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/
Thank you!
P.S. I deactivated the mobile theme and now I see all my details from the desktop on mobile devices, sorry for the noobish question #2.
Now all I have to do is to manage the sub-categories for my main categories in the flex block grid and fix the links.
Thank you in advance!
Hello !
You have to disable the mobile theme plugin. And edit the page with tagDiv Composer: https://www.screencast.com/t/gsoqCvPbpnA ; https://www.screencast.com/t/gsoqCvPbpnA
I hope this was helpful !
Thank you !
Hi etinos,
Using the amp with the mobile theme plugin, you’ll have the same design on amp version as in mobile version regardless of the option that you select -> https://i.imgur.com/SK8xMhQ.png
Thank you for your understanding!
Hi,
On the first image, there is the Template live preview. The Flex block Headline is “Don’t Miss” (1), the links does not working after I add it to the headline. With 2 I marked the other subcategories on “Don’t Miss” which look I want to place on my website
Here is how it looks on my website so is there any tutorial or can You please tell me how to add these right next to the main category name?
My next concern is how to fix my homepage on mobile devices to look like the template
Here is how I want to be:
and here is how it looks on my website:
Hi,
how can i customize my homepage (using Mobile Plugin) to display my personal CPT ?
I kept on looking in your plugin files but I didn’t find anything useful related to post_type …
Thanks,
Hello !
This player renders well on your mobile theme as you can see it here: https://www.screencast.com/t/WkR3ha5h00wQ Unfortunately on the mobile theme you can’t do much about it.
Thank you for your understanding !
Additional Information: The default Ads for mobile device that are setup through the theme appear well aligned with the content (for example: the header and footer Ad), however the ones we have added within the content using the editor do not appear to align with the content.
Hello,
I need some help for my website and more specific the mobile theme. When I open my website from a mobile device, there are just my latest posts showing, without any blocks or grids. When I pick any category from the menu, there is a block showing so categories are fine. The problem is only at my homepage. Any ideas how to fix this? The website is http://www.allraps.com
I’m continuing to have major issues with AMP and the mobile theme, this is a separate issue. I have a disclosure that appears on every post which I set up using cloud templates (I’m not sure if cloud templates even work with AMP) but I will see if that comes up when customer support actually gives me an answer to my other ticket.
The disclosure I set up on the desktop template is mandatory for all affiliate marketing especially amazon so I need a solution to make that disclosure actually appear on my mobile version posts as well. “This article may contain affiliate links. This means that clicking on or purchasing products we recommend through a link may earn us a small commission. For more information read our disclaimer here.”
This disclosure needs to show up under the featured image in the posts for desktop, mobile, tablet posts on my site.
Hi, Thanks for your response.
I am using a mobile theme and I have chosen Mobile + AMP option in the newspaper theme.
I can see many crawling issues with this setting. As I mentioned in my first message I am getting errors.
Kindly suggest the solution. Pls, visit the site once via mobile as well as desktop before sharing the solution.
Hello !
On mobile theme you will have to insert the ads code in here: https://www.screencast.com/t/MCvXpHVpJ
I hope this was helpful !
Thank you !
Hello !
Unfortunately this option is not possible with Mobile Theme.
We are sorry for the inconvenience !
Thank you !
Thank you very much Calin for your answer
I’ve deactivated all my cache plugins and non theme plugins, but the issue persists in mobile version (in desktop version there isn’t any problem and it loads correctly.
Regards
Ramon
Hello !
Please note that on Newspaper runs best with AMP And Mobile theme plugin. If you’re using the Mobile plugin the best would be Mobile + Amp.
You can find more information in our documentation here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
Thank you !
Hello – I’ve enabled mobile ads in theme panel – mobile theme by pasting my ad code in general ads – footer ad as well as article ads – article bottom ads and I’m not seeing the ads appear on my post in the mobile theme. Here’s an example of one I’m looking at – https://www.pinkluggageabroad.com/maldives-luxury/.
Please let me know if there’s something else I need to do? Thank you.
Hello – is there any way to display either my Instagram feed or a link to my instagram (besides on the main menu) in the mobile theme? Thank you.
Ok I have deactivated almost all my plugins now and put the theme back to mobile + AMP – this is still an issue? I can’t leave my site broken like this for a long time – do you have a more immediate fix for this vs me waiting over 24 hours for a response?
In a child theme we’ve added new template parts for the following files in order to select a different menu based on category.
child-theme/parts/menu-mobile.php
<?php
if (is_category(array(433,1738)))
{
wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class'=> 'td-mobile-main-menu',
'fallback_cb' => 'td_wp_no_mobile_menu',
'link_after' => '<i class="td-icon-menu-right td-element-after"></i>',
'walker' => new td_walker_mobile_menu()
));
}
elseif ( is_category(array(8704,17723,17717,17718,17724,17721,17720,17719,18809,18810,28327)) || in_category(array(8704,17723,17717,17718,17724,17721,17720,17719,18809,18810,28327)) || is_page(array(92484,92558,96207)) )
{
wp_nav_menu(array(
'theme_location' => 'header-menu-mobile-CUSTOM',
'menu_class'=> 'td-mobile-main-menu',
'fallback_cb' => 'td_wp_no_mobile_menu',
'link_after' => '<i class="td-icon-menu-right td-element-after"></i>',
'walker' => new td_walker_mobile_menu()
));
}
else
{
wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class'=> 'td-mobile-main-menu',
'fallback_cb' => 'td_wp_no_mobile_menu',
'link_after' => '<i class="td-icon-menu-right td-element-after"></i>',
'walker' => new td_walker_mobile_menu()
));
}
//if no menu
function td_wp_no_mobile_menu() {
//this is the default menu
echo '<ul class="">';
echo '<li class="menu-item-first">Click here - to use the wp menu builder';
echo '';
}
?>
and
child-theme/parts/header/header-menu.php
<?php
if (is_category(array(433,1738)))
{
wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class'=> 'sf-menu',
'fallback_cb' => 'td_wp_page_menu',
'walker' => new td_tagdiv_walker_nav_menu()
));
}
elseif ( is_category(array(8704,17723,17717,17718,17724,17721,17720,17719,18809,18810,28327)) || in_category(array(8704,17723,17717,17718,17724,17721,17720,17719,18809,18810,28327)) || is_page(array(92484,92558,96207)) )
{
wp_nav_menu(array(
'theme_location' => 'header-menu-mcn',
'menu_class'=> 'sf-menu',
'fallback_cb' => 'td_wp_page_menu',
'walker' => new td_tagdiv_walker_nav_menu()
));
}
else
{
wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class'=> 'sf-menu',
'fallback_cb' => 'td_wp_page_menu',
'walker' => new td_tagdiv_walker_nav_menu()
));
}
//if no menu
function td_wp_page_menu() {
//this is the default menu
echo '<ul class="sf-menu">';
echo '<li class="menu-item-first">Click here - to select or create a menu';
echo '';
}
?>
All that we’ve changed is the ‘theme_location’ in both files to load a different wp_nav_menu.
Everything works fine except for the css, drop down menu’s have no style and the height of links isn’t the full navigation bar height. Does the theme_location have any influence on the styling of the menu items?
Thanks
Matt
Thanks Vlad appreciate the reply. I think this would be a valuable asset to create for relative newbies who just purchase a theme such as tagDiv Newspaper. Would make customisation alot easier. Personally when using a mobile device I really appreciate the text being on the larger size, but want the H1 H2 H3 H4 etc to be in proportion.
Maybe a question for another post but is there an easy way to make the general text a specific color eg #222222 instead of relying on light heavy etc?.
Once again appreciate your replies!!!
Hi,
I think that the mobile version is look like that because you have the mobile theme plugin that provide you a better speed then responsive version of theme, but in order to achieve that speed you’ll need to create a new content for pages because in the most of cases those were made with builders ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor and this content will be display on mobile theme)
-> https://www.screencast.com/t/ebUIzt4se
Since Newspaper v9.7.4 you can show the responsive version on mobile theme -> http://prntscr.com/oh6r2s you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/
If there is still a problem, please provide me a link where I can inspect it.
Thank you!
Hi,
Please notice that we can not test/investigate if this is a theme plugin problem or not, this can be tested only if you deactivate all non theme and untested plugins, all I can do with out deactivate these is to try to provide a custom css for that problem, but for this you’ll need to reactivate the mobile theme plugin.
Thank you for your understanding!