- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Looks good from what I can see, like this post for example
– https://www.screencast.com/t/pdZrYu0uVRQi
Maybe try more plugins if possible and see which one works best. Some examples
– https://www.wpblog.com/best-wordpress-rss-plugins/
I would recommend one but I really did not test such plugins at all.
Many folks have asked about this.
This is the method I use.
I want to be able to selectively show or hide menu items from the main desktop menu or the mobile menu.
Why?
Sometimes there are many extra buttons a user will need to have access to quickly on a mobile device, but these items dont need to show on the main menu. Often we add supplemental links at the footer of websites for advertising inquires or secondary pages. We dont want them on the main menu, but they are important, yet we dont want mobile users scrolling for miles to find the button either.
or another reason…
The items shown in a drop down or megamenu on the desktop do not look good on mobile.
for example, you may have a button called “help” on the desktop. This button would indclude items like “reset password” or “your account”.
on a desktop it rolls over very nicely, but on mobile it requires an extra tap to the “help button” and then drop the menu down to see the choices.
so to solve this you can selectively hide or show menu items via CSS
They will still load and might be visible for a split second as CSS will only visually hide it wont remove it.
You will often need to create TWO menu items of the same things.
You can show one to the desktop users and show another to the mobile users.
To hide menu items from desktop but show on mobile:
(find the menu item number in the menu section of wordpress, just roll mouse over and look at the link at the bottom of the browser, it will contai your menu item #)
Then add this to the Custom CSS section of your theme panel with your menu numbers
(replace 123 with your menu item number)
@media(min-width:767px){
.menu-item-123, .menu-item-123{
display:none!important;
}
To show items ONLY on desktop and HIDE on mobile try this
It is especially usefull when you dont want drop downs to appear on the mobile menu slideout but still want the items to show in the mobile menu slideout.
@media(max-width:767px){
.menu-item-123, .menu-item-123{
display:none!important;
}}
Admins feel free to correct me.
Hi,
It seems I have a problem.
Google Search Console tells me that “The inline ‘style’ attribute is not allowed in AMP documents. Use ‘style amp-custom’ tag instead”.
I have a blog, and I need my articles to be AMP. Here, I don’t think they are even if I enabled the AMP options for posts + pages…
Link of my website : http://www.downshift.fr
Hi Simon,
I see what you mean, but could you fix the one below so I could
see an example and place them in the custom AMP panel? They all are
responsive ads.
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– UlltimateMarketing –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-6785415464346390″
data-ad-slot=”6645016827″
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Thanks,
Larry Cockerham
Hi,
Unless you have hidden it for all the devices which would have no point, you can view it by changing viewport
– https://www.screencast.com/t/ZzZ20Gxa
So for example if you have hidden it on desktop, switch to a different viewport and you should see it.
Thanks
Hi,
The shortcode can be entered in a text element. This is an example for a contact form with a shortcode
– https://www.screencast.com/t/SA0G6t7iXwY
Be sure to save the page and view it after placing the shortcode
– https://www.screencast.com/t/V8BQp2vC9F
– https://www.screencast.com/t/G2uLHapX
Thanks
Hi,
None of those may work with AMP, also there could be inline style detected by AMP using such methods (inline styles are not permitted). Simply entering the link in the video will work with AMP as well. You could style the video after you enter it like this, if required.
For desktop maybe something like this
– https://www.screencast.com/t/vwmCcjMCipYe
For AMP like this – https://www.screencast.com/t/UWuXsarwl
Custom code may be entered in the AMP plugin like this
– https://forum.tagdiv.com/topic/center-imagen-featured-in-amp/
This could be considered a solution, you could make some tests if you want to.
Thanks
Hi,
@nexxus396647247 It works just fine, from what I can see most if not all of the issues are related to the ads. Note that AMP requires special ads
– https://support.google.com/adsense/answer/7183212?hl=en
Then these ads have to be entered in the theme panel like so
– https://www.screencast.com/t/n8D00gbPx9
Hi,
There is an author widget that will display any author you want, but it will not display the author’s latest posts. Only in the author page there will be a section that displays the author posts. Example of an author page
– https://demo.tagdiv.com/newspaper/author/admin/
The author box will not show the latest posts of an author, it is not supposed to do that. If this is required for you, maybe you can find a plugin that can display such an element and make tests with it. Sorry for any inconvenience.
Thanks
I have tried a number of different options:
OPTION 1:
<div style=”width: 50%; float: left; margin: 0 10px 5px 0;”>
</div>
This results in an embedded video wrapped to the left, text to the right like I want in the normal web page, but the amp page results in a video box with a broken link.
—————————————————————————————-
OPTION 2
<div style=”width: 50%; float: left; margin: 0 10px 5px 0;”>
[video src="https://www.youtube.com/watch?v=tFtjQKLElTQ"]
</div>
This also looks good on a normal webpage but the video <div> box takes up 90% of the width, has a broken video link and covers up the text wrapped to the right side of the post.
—————————————————————————————
OPTION 3:
<div style=”width: 50%; float: left; margin: 0 10px 5px 0;”>
[embed]https://www.youtube.com/watch?v=tFtjQKLElTQ[/embed]
</div>
This also looks good on a standard web page, but the amp page has no embedded video and results in the same “Content Mismatch” error on Google Search Console.
—————————————————————————————-
I am going to disable tagdiv amp plugin and try the automattic one instead. Will return to tagdiv plugin if I don’t come right there or try again later.
Thanks Bogdan B,
Using the oembed option fixes the amp issue.
Unfortunately this seems to mean that I will have to give up all the formatting I was using the <div> and <iframe> for. I was using the <div> to align the video to the left and wrap my text to the right. This embed, even if I use [embed] or [video] ignores any width settings and the video takes up the full width of my post.
Whensover i put the header ad code or sidebar code of medlife a GREY blank portion appears how to solve it ? And the header ad looks proper on desktop but in mobile theme a blank grey portion appears , i am having 5 months support pending and a newbie to wordpress so please help in simple non techy way. check below the screenshots of the grey blank area
https://photos.app.goo.gl/Pjy27XT87MsGzdrm9
here is the medlife affiliate ad which i insert 
Thanks in Advance
Hello,
Sorry but the theme does not handle feeds. They are handled by WP and plugins.
Here is an example: http://www.wpbeginner.com/wp-tutorials/how-to-embed-an-external-rss-feed-in-wordpress-posts-via-shortcode/
Thank you!
Hi, I deleted all of the amp posts, but here is a link to Google’s original
page with all of the articles and documentation of the problem:
https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fultimatemarketing.co%2F&item_key=GgYIBBADGFE&hl=en&sharing_key=MNOSLUS1auOM0eZOxPWlMQ
If this doesn’t work, I’ll send you a screen capture. I’ve deactivated the AMP plugin, but now that I’ve deleted the demo posts, everything may be okay. It may be the Google ads need adjusting. If you click on one of the post links, it highlights the Google ad that is self-adjusting. Maybe this needs changing.
Larry
-
This reply was modified 8 years by
nexxus396647247. Reason: Additional information
Hi, I’m unable to edit any page with the TD Composer, I’m seeing this when I click the button ‘Edit page with TD Composer’:
��l�\�\�G�g[�4��]�m��*��G���uƞ��L�_K�G�-IHBhFG��տ���=�!�ɔzܵ��X�B ݺ�N�9�PP�&�A��� �q�ǚ�����%��P�����L�W��2Oؘ�,iu,�����y’���ܒ�L1���?�t�2\�}�u.=t���+��<���,�[�5�;�U�vg�?�{�,�)�(e:�uai2�y�� �b-x���)���Bi��K C�M=0t�z”JE�D��J�����)�7#�!���e��=|ܵ
(That’s just a part, I can’t attach a photo)
I’m using WordPress 4.9.6, Newspaper 8.8.1, The site is in a server using PHP Version 7.1.16
Thanks for your help.
The site is https://contextoslapalabra.com/
Thanks for your help!
Hi,
I was implying in my previous post that I have already made all necessary changes based on requirements.
However, the ‘Newspaper system status’ still shows that max_execution_time & max_input_vars are not set to the recommended values.
Hi all. I have this prob.
In my site http://www.cignialo.gr not all posts are shown under author page.
Take this an example. This author has 40 posts but nothing seen..
https://cignialo.gr/author/afroditikats/
Good afternoon,
Since a few weeks ago I’ve been having a problem in my website (www.raquetc.com): for some reasons, posts no longer appear in the authors’ page (example: https://raquetc.com/author/miguelseabra). I am an administrator and some of my colleagues are editors and with us it’s all fine, the problem seems to be with everyone that’s an author or “bellow”. This also happens in the backoffice.
A second problem we’re having is that the favicon stopped showing. Do you know what I need to do to solve both problems?
Thank you so much,
Gaspar
Hello!
When i use smart-list
PC
the style is smart-list-2

but
WAP
There will be the other style….

The url also have problem
PC
If i use smart-list-7 on pc
My web’s url will be like ” XXX.com/1 XXX.com/2 XXX.com/3″
WAP
But,on the wap page the url is true ,like “XXX.com/3415 XXX.com/3415/2 XXX.com/3415/3”
ε=(´ο`*)))
What should i do?
please help…
My English not well…Hope you can understand
Thanks O(∩_∩)O
Hi,
1 – With Newspaper, on WooCommerce Pages, how would you suggest changing font families?
By each element?
.woocommerce-product-details__short-description p {
font-family: Verdana, Geneva, sans-serif;
}
Or global?
2 – And can you please show an example for reference?
3 – Do I need to change any code in the WooCommerce files for Google fonts to work? Or just activate them in Newspaper and that should be enough?
Thank you!
Hello,
I would like to ask you how to set up that images are showing in full content table/space. On http://www.bloggersre.com as you can see for exaple on the homepage the images of articles are showing in the original size not in the size for the window. How can we set it up to that it will show normaly for example like here: https://demo.tagdiv.com/newspaper/
Thank you
Upon further investigation, I found that the tagdiv amp plugin is converting my iframe to amp-iframe but because I am using the iframe to embed a youtube video, I need it converted to amp-youtube instead.
Is there any way I can fix this?
Hi,
You could set a sidebar by splitting the row in the template and using a widget sidebar for example in the sidebar
– https://www.screencast.com/t/qegoV2zOWqw
Hi,
The tagDiv composer should work properly for all pages that were created with it. Please provide some examples of pages which have this problem. Links to them would be helpful if possible.
Thanks