- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi – Thanks for the quick reply. Your suggestion did not work. I want to be able to set up a row of images, as Block 16 does (like this screen shot), with the titles below the images. So when I click each image, it goes to a URL that I define (for example, to a page on a different Web site). Your example looks like it should work fine, but it did not.
Instead, I still get this (See this screen shot). I entered the CSS that you gave me, into the Theme Panel Custom CSS (See screen shot), but it shows the resulting layout with the titles still inside the images. Could I have done something wrong?
Thank you
-
This reply was modified 5 years by
steve@tvstrategies.com.
-
This reply was modified 5 years by
steve@tvstrategies.com.
-
This reply was modified 5 years by
steve@tvstrategies.com.
Thanks Calin,
Sorry, I explained this very poorly in my original post. On the *NEW* server, with the Newspaper theme, I had created a bunch of pages. But when we transferred the *OLD* site to this new one, it over-wrote all the new pages I had made.
I saved the shortcode for each in the hope that I could C&P at least the layout, but now I am trying to put the shortcode into a page on the new site and it isn’t working, it is just showing up as the shortcode…
I’m trying to add this code to the file instead of the original comment box, but it’s giving an error.
Which line exactly do I have to replace with this code?
<div id=”disqus_thread”></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = ‘<?php echo get_permalink(); ?>’;
this.page.identifier = ‘<?php echo dsq_identifier_for_post($post); ?>’;
};
*/
(function() { // DON’T EDIT BELOW THIS LINE
var d = document, s = d.createElement(‘script’);
s.src = ‘https://vidaecovegan.disqus.com/embed.js’;
s.setAttribute(‘data-timestamp’, +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
When you view the AMP version of the site fortworthbusiness.com you use to be able to click the mobile menu icon and get the menu, but now you don’t, it looks like it tries to load and if you inspect the code it looks like it is there but you can not click nor does it display? I don’t know if related, but I experimented with the new Mobile Templates from cloud template and decided not to test further and deleted the page, I checked my Mobile settings in the Theme Panel, I tried Mobile+AMP and just AMP, checked the correct menu was selected and changed the menu to test others same result, if you are not logged in the menu doesn’t display. I don’t know if it is leftover from the Mobile Template I tried to import or something else, I am trying to test plugins compatibility, but when I only activate Newspaper theme and its plugins, I am still logged in, and I can use user switching but still logged in, and when you are logged in, the menu appears, it is very weird. It had been working before. Any suggestions? I am limited minus actually disabling all the plugins, which I can’t do on the live site. NOTE: if you just do screen resize and look at the page, which I believe is just the Mobile version, menu works fine, so strictly an AMP issue. Maybe I can disable and remove the AMP mobile plugin and reinstall, but not sure what settings will be lost. Posting in part if others have the same issue and if it was in fact related to testing out the new Cloud Mobile Template.
Hi, I’ve just bought and installed the theme. No third party plugins. Why it’s so slow? Google Page Speed Insights – 55/87. For example, after I install Twenty Twenty – Google Page Speed gives 100/100. You landing page promise people “blazing fast”. Do you understand that you are just cheating?
Do not send me the link to speed optimization instruction. It just doesn’t work. I did it with another customer. Blazing speed is impossible with your theme. I even wanted to pay your guy to optimize a website of my customer who had your theme. But your guy wrote me that the theme is fully speed optimized when it had 30/70 Google Page Speed.
Please, fix it ASAP. Do not decieve people.
I’m having two issue with Global template settings.
1) Is it possible to change pre-existing posts to global setting without going to each page individually?
example: http://prnt.sc/v5ethg
2) Related post section glitching and its becoming imposed in middle of pages.
example:http://prnt.sc/v5eurl
Thanks
Here it is a screenshot – https://prnt.sc/v5e1sy
I tried to add 1 post https://prostobzor.com/garmin-first-start/
edit url – https://prostobzor.com/wp-admin/post.php?post=8481&action=edit
id = 8481
to the filter. When id is added there is no title in the block section
But some posts are shown.
another block with another id – https://prnt.sc/v5ebh3
post it here on the site but it doesnt show in the block by id
Please advise, is it bug of template or what am I doing wrong?
I am using a template header called “Header Template – Medicine Pro” and when I mouse-over a link (e.g. News), it shows one of the links twice. For example, ‘Wall Street Journal’ appears in blue text and then also below in black text. I don’t want the one in blue text. It shouldn’t be there.
Hi aassi, where are you see these notices ?
From Newspaper v10.3.3 was add a better support for WPML plugin -> https://i.imgur.com/vAjt3aG.png now you can set the header, footer, category and single template on each language in them panel, for this you need to use the translate for cloud templates -> https://i.imgur.com/Y99kgbB.png in this way on each language you’ll have only the templates made for that language, for example https://i.imgur.com/UJbzFFp.png -> https://i.imgur.com/TWZLxQZ.png -> https://i.imgur.com/CjsSkAC.png
You can duplicate a cloud template like this -> https://i.imgur.com/BLYyLc4.png after that you can edit it with tagDiv Composer.
In your case you need to do the same for 404 cloud template.
The second method is the classic one using the strings translate, this is more harder -> you need to use the this option -> https://i.imgur.com/59kl17v.png in order to use the string translate, for example for the header -> https://prnt.sc/rumozl and in WPML String -> https://prnt.sc/rumqn5 then you need to set the id of the header you want to be set for that language -> https://i.imgur.com/ghCu54I.png -> https://i.imgur.com/UAgVTC6.png -> https://prnt.sc/rumrbd
What method do you use, also it will help a loot if you cloud provide a screenshot with these notice to see exactly where these appears.
Thank you!
Hello, I’am using AMP not the mobile plugin. But when I scroll the menu appears. But at the first look you don’t see the logo in the menu.
Hi,
I think that for this you are using this guide -> https://www.semrush.com/blog/your-guide-to-understanding-googles-sitelinks-search-box/?kw=&cmp=EE_SRCH_DSA_Blog_SEO_EN&label=dsa_pagefeed&Network=g&Device=c&utm_content=473320212413&kwid=dsa-837871680671&cmpid=9875219915&agpid=103365049634&gclid=CjwKCAjw_sn8BRBrEiwAnUGJDp6UWdfbezqER7Ckd7pr78VbtK_guSzjCPO5f4lI8Xf4YBwOVlCsuxoCc-AQAvD_BwE
Now if I understand correctly you need to hook the theme search function, the file for this are these:
The search from Composer, when you do not use standard pack-> wp-content/plugins/td-composer/legacy/Newspaper/parts/search.php
Standard search from standard pack-> wp-content/plugins/td-standard-pack/Newspaper/search.php
The search from cloud templates-> wp-content/plugins/td-cloud-library/shortcodes/search/tdb_search_form.php
Now I do not know the right implementation of that code, I did not set it before in our theme to know how it need to be set and how it should work, but if you can set it for a default theme it should work with our theme too, but on a standard search not on live search.
Thank you for your understating!
Hi TrueNorth,
If the pages from the old website were made using tagDiv Composer then should be no problems, only if it was use other builder. For the example if the pages were made using visual composer (WP Bakery) then you have a change to still work if you use that builder, but is possible that this to no longer be recognize by WordPress 5.5
Let me know what boulder did you use for old pages.
Thank you!
Hi,
I am trying to install the Fitness Blog Pro Demo. But somehow the demo dont see like the original demo. The fonts are different fpr example. What am I doing wrong?
Please see here http://endlichgesuender.de/
Normaly it should look like https://demo.tagdiv.com/newspaper_fitness_pro/
Hello !
I have tested your pages and as you can see here AMP works perfectly on them: https://www.screencast.com/t/e35Nkg02
Thank you !
Hello !
Please note that you will have to use multiple post templates if you want to have different layouts on different posts. Find out more about it here: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
You can set a global template if you want as you can see here: https://www.youtube.com/watch?v=fa7GenCHcBU&t=2s
Thank you !
We have images throughout our site that we’ve used for third-party ads. We simply insert an image and add a link to it. Suddenly this doesn’t work anymore, and when you click on the ad, it just opens it as an image. Please advise, as these images have become inert across our entire site and we’d like to resolve asap.
For example, you can go to this link and click on the CIO Partners ad at the bottom of the article: https://www.nationalcioreview.com/featured/why-your-board-needs-digital-disruption/
hi dear
all of my posts amp version is affected and have unique error “Referenced AMP URL is not an AMP”.
here is my URLS:
https://moroccotravelway.com/famous-traditional-moroccan-foods-you-must-try/?amp
https://moroccotravelway.com/desert-sahara-of-morocco/?amp
https://moroccotravelway.com/things-to-do-in-essaouira-in-morocco/?amp
https://moroccotravelway.com/what-to-buy-in-morocco/?amp
https://moroccotravelway.com/things-to-do-in-fez-morocco/?amp
https://moroccotravelway.com/chefchaouen-the-blue-city-of-morocco/?amp
https://moroccotravelway.com/things-to-know-about-marrakech-morocco/?amp
please help me fix this problem
best regard
Hi,
Here is how I see your website on my mobile -> https://i.imgur.com/oau5fFw.png this is because you are using the mobile theme plugin.
Using the mobile theme plugin, you’ll gain 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 or shortcodes ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor -> https://i.imgur.com/ho41rUl.png and this content will be display on mobile theme, also the mobile theme will not display any sidebar)
-> https://i.imgur.com/9d0UWLT.png
Also you can show the responsive version on mobile theme (to get the same layout as on desktop on mobile) -> https://i.imgur.com/m0bVB5T.png you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/ or if you want to have the responsive version only, you can use the amp option from mobile theme -> https://i.imgur.com/oofST3D.png (to use the mobile theme template on amp) or you can disable the plugin.
These options are like this:
Mobile -> the mobile theme will apply only on mobile version.
Mobile + amp -> it will apply on both and it will have the same layout.
Amp -> the mobile theme plugin layout will be use only for amp version.
Thank you!
Does the count take into consideration the AMP version of the post?
Hello !
Yes, you can create a post template that can be assigned only to a specific category. First create the post template and add your ads in it: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/ ; https://www.youtube.com/watch?v=fa7GenCHcBU&t=2s
After you have created the post template you can assign it to only one category as you can see here: https://www.screencast.com/t/Ec38yiJ0HikO
Thank you !
Hi,
If you are using the mobile theme plugin with amp, please make sure that you have set on amp this option -> https://i.imgur.com/YvRA4qJ.png
Thank you!
Hello !
For a better understanding of this features please read our documentation here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
Thank you !
Hi,
centumcellae.it uses wp 5.5.1 latest version of newspaper and all plugins are updated. It is an online magazine and has almost 70,000 posts (select count (*) from wp_post returns 69,700 or something like that)
It happens that when you publish, or to be more precise, a few seconds later in particular sometimes for several minutes the site is very slow both in the front end and in the back end and we see that there are from 4 to more than twenty sometimes queries as below
SELECT SQL_CALC_FOUND_ROWS wp_posts. *, wp_sticky.sticky_status
I don’t know if it depends on wp fastest cache (which deletes the cache after i publish a new post) or if it depends on newspaper (maybe it’s too heavy?).
the fact is that we added the code below to the functions.php which gives rise to a critical error of wp. How can I solve? Help! Thank you very much
if ( ! function_exists( ‘wpartisan_set_no_found_rows’ ) ) :
/**
* Sets the ‘no_found_rows’ param to true.
*
* In the WP_Query class this stops the use of SQL_CALC_FOUND_ROWS in the
* MySql query it generates. It’s slow so we’re going to replace it with
* a COUNT(*) instead.
*
* @param WP_Query $wp_query The WP_Query instance. Passed by reference.
* @return void
*/
function wpartisan_set_no_found_rows( \WP_Query $wp_query ) {
$wp_query->set( ‘no_found_rows’, true );
}
endif;
add_filter( ‘pre_get_posts’, ‘wpartisan_set_no_found_rows’, 10, 1 );
if ( ! function_exists( ‘wpartisan_set_found_posts’ ) ) :
/**
* Workout the pagination values.
*
* Uses the query parts to run a custom count(*) query against the database
* then constructs and sets the pagination results for this wp_query.
*
* @param array $clauses Array of clauses that make up the SQL query.
* @param WP_Query $wp_query The WP_Query instance. Passed by reference.
* @return array
*/
function wpartisan_set_found_posts( $clauses, \WP_Query $wp_query ) {
// Don’t proceed if it’s a singular page.
if ( $wp_query->is_singular() ) {
return $clauses;
}
global $wpdb;
// Check if they’re set.
$where = isset( $clauses[ ‘where’ ] ) ? $clauses[ ‘where’ ] : ”;
$join = isset( $clauses[ ‘join’ ] ) ? $clauses[ ‘join’ ] : ”;
$distinct = isset( $clauses[ ‘distinct’ ] ) ? $clauses[ ‘distinct’ ] : ”;
// Construct and run the query. Set the result as the ‘found_posts’
// param on the main query we want to run.
$wp_query->found_posts = $wpdb->get_var( “SELECT $distinct COUNT(*) FROM {$wpdb->posts} $join WHERE 1=1 $where” );
// Work out how many posts per page there should be.
$posts_per_page = ( ! empty( $wp_query->query_vars[‘posts_per_page’] ) ? absint( $wp_query->query_vars[‘posts_per_page’] ) : absint( get_option( ‘posts_per_page’ ) ) );
// Set the max_num_pages.
$wp_query->max_num_pages = ceil( $wp_query->found_posts / $posts_per_page );
// Return the $clauses so the main query can run.
return $clauses;
}
endif;
add_filter( ‘posts_clauses’, ‘wpartisan_set_found_posts’, 10, 2 );
WP 5.5.1
PLUGINS
AddToAny Share Buttons
AdRotate
Advanced Ads
BestWebSoft’s Like & Share
Custom Sidebars
Disable Gutenberg
Duplica pagina
Embed Plus for YouTube – Gallery, Channel, Playlist, Live Stream
Google XML Sitemaps
Jetpack by WordPress.com
ONE SIGNAL
Re-Add Text Justify Button
Really Simple SSL
Responsive Like Box
Restrict Categories
Simple YouTube Responsive
tagDiv Cloud Library
tagDiv Composer
tagDiv Newsletter
tagDiv Social Counter
tagDiv Standard Pack
the_excerpt Reloaded
Widget for Social Page Feeds
Wordfence Security
WP Migrate DB
wp fastest cache
WP-Sticky
YouTube Embed WpDevArt
PHP 7.4
wp 5.5.1
Server info
S.O. Linux webxc302s03.ad.aruba.it 3.10.0-862.2.3.el7.x86_64 # 1 SMP Wed May 9 18:05:47 UTC 2018 x86_64
Apache webserver
Php 7.4.8
MySQL 5.5.62-38.14-log
Catlin,
I decided to use the responsive version to keep it just like my desktop. (Less complicated). I believe I followed the instructions provided e.g.
1. disable the mobile theme plugin,
2. amp disabled,
3. In Mobil settings, do I enable or disable the Mobil Theme? I have it Enabled but my mobil theme does not display correctly. ???? Can U check with my credentials I sent you under jorgevila550@gmail.com
Thanks
Hi,
The articles shown on the big grid flex have the sub-category shown but I want the main category to be shown.
Example:
I have an article in the category “news” and in the subcategory “leagues” because that’s where we post all the league news. But I want the category label to say “news” and not “leagues”.
Can someone help me?