- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Using the tagdiv AMP out of the box causes menu logo to stretch to the size of the menu. Causing it to output like this:
It uses the same CSS style as all images on the page.
.i-amphtml-fill-content {
display: block;
height: 0;
max-height: 100%;
max-width: 100%;
min-height: 100%;
min-width: 100%;
width: 0;
margin: auto;
}
Hi,
I am using the Outline Button but having a problem with the colour on hover. The Background becomes the same colour as the text, making a solid block and the text ‘disappears’ whereas I would like the text to show white against the accent colour (only on hover), how can this be achieved? Example here: https://theatreweekly.com/cast-announced-for-mike-bartletts-not-talking-at-arcola-theatre/
Yes , google also tells ON LIVE VERSION AMP TEST .. NO ERROR, BUT it says
Missing embedded videos
Video 1
also says Affected pages 1 which is :- https://www.androidssl.com/gaming/pc/warrock-online-multiplayer-game.html/amp
Is there anything we can do to correct it? or AMP Requires only one Video, not a playlist? or It requires a Full link like https://www.youtube.com/watch?v=K8Mo0W__AQc to validate?
Please help me regarding and please check from your side experimenting or creating a post with youtube videolist and submitting it to google search console if possible for testing and improving your theme Sir.
For our site we have created an abc index for our posts.
We have a taxonomy built called “alphabetical_letter” which houses all the articles, which are on their own again divided into live-review, album-review and so forth.
We are now in the process of making seperate loop files/taxonomy files.
In our example we did this for the letter N for muziekrecensies category, so that this will display only all articles marked with the category muziek-recensies and the taxonomy alphabetical letter N, using the code further below.
The loop has been set for the first 30 posts, only strange thing is that after this the load more function from the theme kicks in, and displays all articles, not just the ones with the keyword N in the alphabetical letter taxonomy, but all the other ones from the category muziekrecensies.
Is there a way to solve this please ?
the page where this is happening can be seen here (posts currently set to -1 for reviewing reasons):
for the loop-albumrecensies.php
<?php
/**
* If you are looking for the loop that's handling the single post page (single.php), check out loop-single.php
**/
// $global_flag_to_hide_no_post_to_display - comes from page-category-big-grid.php and is a flag to hide the 'No posts to display' message if on category page there are between 1 and 5 posts
global $loop_module_id, $loop_sidebar_position, $global_flag_to_hide_no_post_to_display;
///if we are in wordpress loop; used by quotes in blocks to check if the blocks are displayed in blocks or in loop
td_global::$is_wordpress_loop = true;
$td_template_layout = new td_template_layout($loop_sidebar_position);
if (empty($loop_module_id)) { //not sure if we need a default here
$loop_module_id = 1;
}
$td_module_class = td_api_module::_helper_get_module_class_from_loop_id($loop_module_id);
//disable the grid for some of the modules
$td_module = td_api_module::get_by_id($td_module_class);
if ($td_module['uses_columns'] === false) {
$td_template_layout->disable_output();
}
$args = array(
'post_type' => 'post',
'posts_per_page' => '30',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'alphabetical_letter',
'field' => 'term_id',
'terms' => array( '437' ), //this is by id
),
array(
'taxonomy' => 'category',
'field' => 'slug',
'terms' => array( 'muziek-recensies' ), //this is by slug
),
),
);
// The Query
query_posts( $args );
// The Loop
if (have_posts()) {
while ( have_posts() ) : the_post();
echo $td_template_layout->layout_open_element();
if (class_exists($td_module_class)) {
$td_mod = new $td_module_class($post);
echo $td_mod->render();
} else {
td_util::error(__FILE__, 'Missing module: ' . $td_module_class);
}
echo $td_template_layout->layout_close_element();
$td_template_layout->layout_next();
endwhile; //end loop
echo $td_template_layout->close_all_tags();
} else {
/**
* no posts to display. This function generates the __td('No posts to display').
* the text can be overwritten by the themplate using the global @see td_global::$custom_no_posts_message
*/
echo td_page_generator::no_posts();
}
this for the taxonomy-alphabetical_letter-n.php
<?php
/**
* the custom taxonomy template
* This file is loaded by WordPress on custom taxonomies. You can further customize this template
* for specific taxonomies by copying this file to taxonomy-yourTaxonomyName.php
*/
get_header();
global $loop_module_id, $loop_sidebar_position;
// get the current taxonomy object - note that it's note complete
$current_term_obj = get_queried_object();
//read the loop variables for this specific taxonomy
$loop_module_id = td_util::get_taxonomy_option($current_term_obj->taxonomy, 'tds_taxonomy_page_layout');
$loop_sidebar_position = td_util::get_taxonomy_option($current_term_obj->taxonomy, 'tds_taxonomy_sidebar_pos');
if (empty($loop_module_id)) {
$loop_module_id = 1; // module_1 is the default
}
// sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue
$td_sidebar_position = '';
if($loop_sidebar_position == 'sidebar_left') {
$td_sidebar_position = 'td-sidebar-left';
}
?>
<div class="td-main-content-wrap td-container-wrap">
<div class="td-container <?php echo $td_sidebar_position; ?>">
<div class="td-crumb-container">
<?php echo td_page_generator::get_taxonomy_breadcrumbs($current_term_obj); // get the breadcrumbs - /includes/wp_booster/td_page_generator.php ?>
</div>
<!-- content -->
<div class="td-pb-row">
<?php
switch ($loop_sidebar_position) {
default: //default: sidebar right
?>
<div class="td-pb-span8 td-main-content">
<div class="td-ss-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php echo $current_term_obj->name ?></span>
</h1>
</div>
<?php locate_template('loop-albumrecensies.php', true);?>
<?php echo td_page_generator::get_pagination(); ?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case 'sidebar_left':
?>
<div class="td-pb-span8 td-main-content <?php echo $td_sidebar_position ?>-content">
<div class="td-ss-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php echo $current_term_obj->name ?></span>
</h1>
</div>
<?php locate_template('loop-albumrecensies.php', true);?>
<?php echo td_page_generator::get_pagination(); ?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case 'no_sidebar':
?>
<div class="td-pb-span12 td-main-content">
<div class="td-ss-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php echo $current_term_obj->name ?></span>
</h1>
</div>
<?php locate_template('loop-albumrecensies.php', true);?>
<?php echo td_page_generator::get_pagination(); ?>
</div>
</div>
<?php
break;
}
?>
</div> <!-- /.td-pb-row -->
</div> <!-- /.td-container -->
</div> <!-- /.td-main-content-wrap -->
<?php
get_footer();
Hi, Yesterday install “GadGets” demo theme but now I want to use style 7 header menu but when I use it looks like this: https://prnt.sc/jawgcj But I think it does not work properly, because a few days ago I install “Fitness Blog” demo then I use style 7 header menu it looks like different & look awesome. Please check the issue & solve it.
Site: 10bestgear.com
Why am I getting this info box on my admin area?
Revive Old Post requires the following plugin: tagDiv Composer.
Revive Old Post recommends the following plugins: tagDiv AMP and tagDiv Newsletter.
The following recommended plugins are currently inactive: tagDiv Multi-Purpose and tagDiv Social Counter.
Begin installing plugins | Begin activating plugins | Dismiss this notice
Hi, I’m having problems with AMP.
I want to use my menu on AMP but I can’t see it.
My header logo has poor resolution and I want to use on center.
My Adsense codes aren’t working.
I want to translate Leave a comment section.
Last problem is footer logo. My footer logo has poor resolution and wrong color.
Hey,
I faced a lot of problems with advertisements, I faced this problem 7 times out of 10 and my ad impressions gonna down from 3898 to 1745.
My Adsense account is fully verified. Also, I have tested with both Newspaper theme panel ads management & Google Adsense Auto Ads. I have faced a problem with both and this problem comes after updating to the 8.7.3 version. I don’t say that always they don’t show ads. But for sometimes it does not shows any ads.
Please help me out, here I attached a screenshot – http://prntscr.com/jav1e3
my site is – https://www.ytechb.com/10-best-themes-for-android-you-should-try/
Not asking for support for untested plugins. MailPoet is NOT turned on. I only turned off your newsletter because I don’t want to use it. That doesn’t solve the issue of your Instagram block, for example, breaking the site, or blocks with single names breaking the site… those are far bigger issues for me.
The one and only Homepage I ever had is my homepage.
So, should I disable AMP for pages?
Thanks Simion
You are wrong, in the homepage smart sidebar is not working because is a widgetized element, if you scroll down in my website you’ll see the smart sidebar stays on top, while if you go to http://weekenjoy.com/san-marcos-2018-en-clandestino/ per example, you will see the sidebar sticky.
If i use a widgetized sidebar (in pages made with visual or tagdiv composer) the widget stays on top (like the home page http://weekenjoy.com/)
Hi,
I believe that there is a page called homepage that might have been indexed by Google and somehow it tries to display it as an AMP page
– https://www.screencast.com/t/zT0E91tdo
– https://www.screencast.com/t/Q5U7sWKNRUW
Trying to access this page by this link https://www.coupdepoker.com/homepage
redirects to the current homepage – https://www.screencast.com/t/CuxMEntFfh
You can see that if you click on home the mobile theme is displayed
– https://www.screencast.com/t/cgtHTwm5
Maybe you did have a page called homepage and removed it, and then you or a plugin created a redirect for it. You could check if that is the case and try to ask Google to re-crawl the website (this may take a while)
– https://support.google.com/webmasters/answer/6065812?hl=en
Thanks
Hey Catalin,
Thanks for you help… only the template supplied plugins (and WP web statistics) are turned on. I have the newsletter turned off as I will use MailPoet, which is also presently turned off, as is Yoast.
Caches cleared, everything else cleared.
Here’s a sample image…
http://exhaustnotes.com.au/brokesite.png
This is what I get when I use the wrong block, or have a single word title for the block…
Hi,
Just checked my website on Mobile, accessing it through Google Search, and I got this: https://ibb.co/jzk4wx
Never happened before. I usually got the mobile version (https://ibb.co/cKvF3c) or a good looking AMP one.
Any idea why it’s doing that?
Btw, the Mobile Editor section of my Homepage is empty but it has never been an issue before…
Best Regards
Some blocks break the site. For example, the Instagram block when saved, wipes out all the front page content below the main menu. Also, if any block has a single word title, like motoring for example, it causes the same breakage. It works if you change the category and block title to two words but if they are a single word.
Hello,
All I did was just copy the twitter link (facebook) into the wordpress post like normal
For sample: https://twitter.com/frodan/status/916034293679382528?lang=en
I’ve tried both the copy direct link and embeded code from the Twitter/Facebook, they just become like that, which didn’t happen to me before
-
This reply was modified 8 years by
Ninhigan.
Hi,
No what i mean is for me to set up the Titles & Meta on the homepage of the website
Usually (before i change to newspaper template) i can set it up here :
https://www.screencast.com/t/3y1898xCZO
But after changing to Newspaper template the option is gone :
https://www.screencast.com/t/lSEDionY
Hello zeroenigma,
Please notice that our theme uses thumbnails with different sizes and the images will be cropped, according to your thumbnails used by modules/blocks. Please check here -> https://www.screencast.com/t/hCr0N8mnOC I saw that major of your images are made landscape mode and that’s why you bring these results -> https://www.screencast.com/t/Sw3qsxEZ7M We recommend that your images be in portrait mode, as an example.
Thanks for your understanding!
Hi,
No need to provide the license key in the forum, if we require it we will request only by email. I will remove it from your post, note that the forum is public and all users can see the topics.
From what I can see you are using a blog style front page at the moment with module 15 selected. If you want to keep the default WordPress blog (latest articles list) and change the module, you can do that in the Theme panel->Template settings
– https://www.screencast.com/t/i6v0iSglyeZ
Module 15 will display the whole contents of the posts when selected for the blog style homepage.
Alternatively you can build a page with the tagDiv composer (or WPBakery page builder) and set it as homepage
– https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Choose one page builder and deactivate the other, when both are active there could be issues. So if you use the tagDiv composer for example, deactivate the WPBakery plugin.
Thanks
Hello,
Sorry but our theme does not have any functionality that can show the post views on blocks. In order to accomplish this, you will need to alter the theme code.
Here is an example of how it can be done: https://forum.tagdiv.com/topic/how-to-show-postviews-instead-og-commentcount-on-frontpage/
Thank you!
Hi,
The blocks and grids for example will still be displayed on pages, because Visual composer is still active. If you use Visual composer for building pages, please deactivate the tagDiv composer. When both composers are active there could be issues.
The main page builder at the moment is the tagDiv composer, but Visual composer (now WPBakery page builder) is still provided in the theme package as an optional and alternative plugin for users that do not want to use the tagDiv composer.
The Newsletter plugin and also the multi-purpose plugin will work only with the tagDiv composer.
The shortcodes that appear on your homepage at the moment such as the info box element, are multi-purpose, they require the multi-purpose plugin active.
Please decide on a page builder and build pages entirely with it. Do not edit pages with both the composers, this will lead to problems.
Thanks
Hi,
A playlist in the post content should not produce any errors regarding AMP. I have inspected the post page you provided, there are no AMP related errors present from what I can see
– https://www.screencast.com/t/5SFUy2KORAtQ
If there were any issues they would appear in the AMP validator console. I could not say why Google detects an issue if there are none.
thanks for the reply, is there a way to change it per block? like tin the demo (https://demo.tagdiv.com/newspaper/), example:DON’MISS IT (yellow), LIFESTYLE NEWS (green), TECH AND GADGETS (red), etc.
That’s the top bar. You can disable it in theme panel>header>top bar if you don’t use it or change its colour in theme panel>theme colours>top menu>background color to #fff (white) if you use it (to display top menu for example).
Hi Bogdan,
Thank you.
I found this on the official Pinterest website, where do I copy the code in the theme so I can use their hover button on my pictures on the page of my choice?
I pasted this in the CSS of the page but it comes with 15 errors.
Copy and paste this code into your page where you want your add-on to appear:
<script async defer data-pin-hover=”true” data-pin-tall=”true” src=”//assets.pinterest.com/js/pinit.js”></script>
Thanks a lot for your help.
Stefan