Hi,
Currently the AMP plugin is not added in the exception list of the speed booster plugin. The list looks like this at the moment
– http://prntscr.com/ocg9nd
This should be corrected in the next update.
If there are other plugins active and they are not part of that list, the speed booster will not be active.
If you want it to be active regardless of what plugins are active, try what is suggested in this topic by Bogdan – https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/
Then it will be active at all times.
Thanks
Hey Rene,
+1, I have exactly the same issue since the update to 9.7.3.
Cloud header are broken, no sidebar…
Thanks for your help support !
Cheers
Hi,
I came across Error at zones: 5(models) : 0(dom) every time I edit a webpage with Tagdiv Composer. The only plugin i install is Indeed Ultimate Membership Pro and I have deactivate it. The rest of the plugins are come with the themes which I installed and activate.
I need urgent help and support on this error cause I could not update any webpages for my tight deadline project. I appreciate your help and support to resolve the error I encountered as soon as you possibly can. Many thanks.
Regards,
Danny
Hey,
1. After updating the theme to 9.7.3 version, all the changes which I make in single-loop.php file for single posts template don’t apply from some reasons, it doesn’t matter if I change the child theme or the parent. Can you explain me which template file should I edit?
2. How to change the text “Modified Date” to “Updated on” here for example: https://www.screencast.com/t/7yqSSx1bL
Hi,
I have Newspaper 9.7.2 installed and have tried to follow this, https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/ to create a new version of block 9 in which I have custom code (for the purposes of the learning exercise i have called it block and module 77 as per the exercise).
The php for the shortcode is,
<?php
class td_block_77 extends td_block {
static function cssMedia( $res_ctx ) {
// fonts
$res_ctx->load_font_settings( ‘f_header’ );
$res_ctx->load_font_settings( ‘f_ajax’ );
$res_ctx->load_font_settings( ‘f_more’ );
// module 77 fonts
$res_ctx->load_font_settings( ‘m77f_title’ );
$res_ctx->load_font_settings( ‘m77f_cat’ );
$res_ctx->load_font_settings( ‘m77f_meta’ );
}
public function get_custom_css() {
// $unique_block_class – the unique class that is on the block. use this to target the specific instance via css
$unique_block_class = $this->block_uid . ‘_rand’;
$compiled_css = ”;
$raw_css =
“<style>
/* @f_header */
.$unique_block_class .td-block-title a,
.$unique_block_class .td-block-title span {
@f_header
}
/* @f_ajax */
.$unique_block_class .td-subcat-list a,
.$unique_block_class .td-subcat-dropdown span,
.$unique_block_class .td-subcat-dropdown a {
@f_ajax
}
/* @f_more */
.$unique_block_class .td-load-more-wrap a {
@f_more
}
/* @m77f_title */
.$unique_block_class .td_module_77 .entry-title {
@m77f_title
}
/* @m77f_cat */
.$unique_block_class .td_module_77 .td-post-category {
@m77f_cat
}
/* @m77f_meta */
.$unique_block_class .td_module_77 .td-module-meta-info,
.$unique_block_class .td_module_7 7.td-module-comments a {
@m77f_meta
}
</style>”;
$td_css_res_compiler = new td_css_res_compiler( $raw_css );
$td_css_res_compiler->load_settings( __CLASS__ . ‘::cssMedia’, $this->get_all_atts() );
$compiled_css .= $td_css_res_compiler->compile_css();
return $compiled_css;
}
function render($atts, $content = null) {
parent::render($atts); // sets the live atts, $this->atts, $this->block_uid, $this->td_query (it runs the query)
if (empty($td_column_number)) {
$td_column_number = td_global::vc_get_column_number(); // get the column width of the block from the page builder API
}
$buffy = ”; //output buffer
$buffy .= ‘<div class=”‘ . $this->get_block_classes() . ‘ td-column-‘ . $td_column_number . ‘ td_block_padding td_block_bot_line” ‘ . $this->get_block_html_atts() . ‘>’;
//get the block js
$buffy .= $this->get_block_css();
//get the js for this block
$buffy .= $this->get_block_js();
// block title wrap
$buffy .= ‘<div class=”td-block-title-wrap”>’;
$buffy .= $this->get_block_title(); //get the block title
$buffy .= $this->get_pull_down_filter(); //get the sub category filter for this block
$buffy .= ‘</div>’;
$buffy .= ‘<div id=’ . $this->block_uid . ‘ class=”td_block_inner”>’;
$buffy .= $this->inner($this->td_query->posts); //inner content of the block
$buffy .= ‘</div>’;
//get the ajax pagination for this block
$buffy .= $this->get_block_pagination();
$buffy .= ‘</div> <!– ./block –>’;
return $buffy;
}
function inner($posts, $td_column_number = ”) {
$buffy = ”;
$td_block_layout = new td_block_layout();
if (empty($td_column_number)) {
$td_column_number = td_global::vc_get_column_number(); // get the column width of the block from the page builder API
}
$td_post_count = 0; // the number of posts rendered
$td_current_column = 1; //the current column
if (!empty($posts)) {
foreach ($posts as $post) {
$td_module_77 = new td_module_77($post, $this->get_all_atts());
switch ($td_column_number) {
case ‘1’: //one column layout
$buffy .= $td_block_layout->open12(); //added in 010 theme – span 12 doesn’t use rows
$buffy .= $td_module_77->render($post);
$buffy .= $td_block_layout->close12();
break;
case ‘2’: //two column layout
$buffy .= $td_block_layout->open_row();
$buffy .= $td_block_layout->open6(); //added in 010 theme – span 12 doesn’t use rows
$buffy .= $td_module_77->render($post);
$buffy .= $td_block_layout->close6();
if ($td_current_column == 2) {
$buffy .= $td_block_layout->close_row();
}
break;
case ‘3’: //three column layout
$buffy .= $td_block_layout->open_row();
$buffy .= $td_block_layout->open4();
$buffy .= $td_module_777->render($post);
$buffy .= $td_block_layout->close4();
if ($td_current_column == 3) {
$buffy .= $td_block_layout->close_row();
}
break;
}
//current column
if ($td_current_column == $td_column_number) {
$td_current_column = 1;
} else {
$td_current_column++;
}
$td_post_count++;
}
}
$buffy .= $td_block_layout->close_all_tags();
return $buffy;
}
}
And the php for the module is,
<?php
class td_module_77 extends td_module {
function __construct($post, $module_atts = array()) {
//run the parrent constructor
parent::__construct($post, $module_atts);
}
function render() {
ob_start();
$title_length = $this->get_shortcode_att(‘m77_tl’);
$modified_date = $this->get_shortcode_att(‘show_modified_date’);
///print_r($this->post->ID);
$choosen_post_functionality = get_field( “choose_post_functionality”, $this->post->ID );
// For Element One
$title_lo = get_field( “title_lo”, $this->post->ID );
$title_link_lo = get_field( “title_link_lo”, $this->post->ID );
$media_name_lo = get_field( “media_name_lo”, $this->post->ID );
$media_link_lo = get_field( “media_link_lo”, $this->post->ID );
$publish_date_lo = get_field( “publish_date_lo”, $this->post->ID );
//$abstract_excerpt_lo = get_field( “abstract_excerpt_lo”, $this->post->ID );
$abstract_excerpt = get_post_field(‘post_content’, $this->post->ID);
// For Element Two
$title_lt = get_field( “title_lt”, $this->post->ID );
$title_link_lt = get_field( “title_link_lt”, $this->post->ID );
$author_name_lt = get_field( “author_name_lt”, $this->post->ID );
$media_name_lt = get_field( “media_name_lt”, $this->post->ID );
$publish_date_lt = get_field( “publish_date_lt”, $this->post->ID );
$citations_title_lt = get_field( “citations_title_lt”, $this->post->ID );
$citations_link_lt = get_field( “citations_link_lt”, $this->post->ID );
//$abstract_excerpt_lt = get_field( “abstract_excerpt_lt”, $this->post->ID );
?>
<div class=”<?php echo $this->get_module_classes();?>”>
<?php if($choosen_post_functionality == “ext_lo_one”) { ?>
<div class=”item-details”>
<?php //echo $this->get_title($title_length);?>
<h3 class=”entry-title td-module-title”>” rel=”bookmark” title=”<?php echo get_the_title( $this->post->ID );//$title_lo; ?>”><?php echo get_the_title( $this->post->ID ); //$title_lo; ?></h3>
<div class=”td-module-meta-info”>
<?php //if (td_util::get_option(‘tds_category_module_77’) == ‘yes’) { echo $this->get_category(); }?>
<?php //echo $this->get_author();?>
<div class=”media_date” style=”margin-top:5px;”>
<span class=”td-post-author-name”>“><?php echo $media_name_lo; ?> <span>-</span> </span>
<?php //echo $this->get_date($modified_date);?>
<span class=”td-post-date”><time class=”entry-date updated td-module-date”><?php echo $publish_date_lo; ?></time></span>
</div>
<div class=”td-post-content” style=” margin-top: 5px; padding: 0; “><?php echo $abstract_excerpt; //$abstract_excerpt_lo; ?> </div>
<?php //echo $this->get_comments();?>
</div>
</div>
<?php } elseif($choosen_post_functionality == “ext_lo_two”) { ?>
<div class=”item-details”>
<?php //echo $this->get_title($title_length);?>
<h3 class=”entry-title td-module-title”>” rel=”bookmark” title=”<?php echo get_the_title( $this->post->ID ); ?>”><?php echo get_the_title( $this->post->ID ); ?></h3>
<div class=”td-module-meta-info”>
<?php //if (td_util::get_option(‘tds_category_module_77’) == ‘yes’) { echo $this->get_category(); }?>
<?php //echo $this->get_author();?>
<div style=”margin-top: 5px;”>
<span class=”td-post-author-name”><?php echo $author_name_lt; ?> </span>
</div>
<div class=”media_date” style=”margin-top:5px;”>
<span class=”td-post-author-name”><?php echo $media_name_lt; ?> </span>
<?php //echo $this->get_date($modified_date);?>
<span class=”td-post-date”><time class=”entry-date updated td-module-date”><?php echo $publish_date_lt; ?></time></span>
</div>
<span style=” display: block; margin-top:5px;” class=”td-post-author-name”>“><?php echo $citations_title_lt; ?> </span>
<div class=”td-post-content” style=” margin-top:5px; padding: 0;”><?php echo $abstract_excerpt; ?> </div>
<?php //echo $this->get_comments();?>
</div>
</div>
<?php }else { ?>
<div class=”item-details”>
<?php echo $this->get_title($title_length);?>
<div class=”td-module-meta-info”>
<?php if (td_util::get_option(‘tds_category_module_77’) == ‘yes’) { echo $this->get_category(); }?>
<?php echo $this->get_author();?>
<?php echo $this->get_date($modified_date);?>
<?php echo $this->get_comments();?>
</div>
</div>
<?php } ?>
<?php echo $this->get_quotes_on_blocks();?>
</div>
<?php return ob_get_clean();
}
}
I have set up the folders as per the tutorial but am not sure where to pull the two CSS files needed that set out the style for Block 9.
NOTE: I also wish to create custom block versions for the Flex Blocks.
Please can you advise as to where these are located and if any additional considerations need to be made in view of the Envato-required changes.
Finally, another question. Given the change to follow Envato rules when I come to update to a new release version will this overwrite any custom blocks?
Thanks.
Best
Gary
Hi Calin, thanks for your response (I’ve already read it in another thread). But I didn’t fully understand it.
Do you mean that one solution is I have to totally desactivate WPBakery. Gasp! I mean some of my page’s contents are build with WPBakery, some not! I try to take the best of each other.
The other solution would be a bit techy and could be, I assumed, nulled in a next Newspaper update. No ? And well… how do I get “tdc_map.php from the previous version of Newspaper theme”?
I can fully understand that developping a theme is terribly complex… but on the user side… seing a part of our site disappear when upgrading it (without any warning, I’m affraid… or I missed it)… is a bit harsh…
I have attempted to update twice from V9.7.2 to V9.7.3, both times failing with incorrect layout post update. Can you point me into the right direction. I have updated many times before so I know the Newspaper plugins also need to be updated. Here are some screenshots:
before: https://www.screencast.com/t/zzjIY37k
after: https://www.screencast.com/t/QMYiu43c
Plugins updated: https://www.screencast.com/t/RUSRllOjJs
website: http://www.FlowerBuzz.org
thanks,
Rene
Hi there,
the following demo is running on a website that I am currently building:
https://demo.tagdiv.com/newspaper_craft_ideas/
When trying to update the theme from 9.7.2 to 9.7.3 the site completely collapses and I have to restore it from backup. I already tried to disable and enable the installed plugins but it does not help to resolve the problem. I am just before launching the website and would appreciate of you could have a look at it.
Thanks in advance,
Hi,
Unfortunately our theme do not have this option for menu slide on mobile, sorry! maybe this option will be add in coming updates.
Thank you for your understanding!
Hello,
The number of the related articles can be set from the Theme panel -> https://www.screencast.com/t/5lhNNIjP
Unfortunately, for the moment the number of the grids from the mobile theme, from the homepage can not be change, maybe in coming updates.
Thank you!
Hi,
Don’t know if we can add a new option there, I believe only Envato can do this if they want to. One of the options is to download the full theme package, the other is to download just the theme (this includes the updated theme plugins).
So if you download and install this package – http://prntscr.com/obyzbg it will include the theme plugins, which you can simply update from the theme plugin panel
– http://prntscr.com/obz03b
If you have more questions, let us know.
Thanks
Hello,
I just downloaded and installed this theme onto wordpress. I followed all of the instructions but it will not update the composer, cloud library, or social counter. I have deleted it and reinstalled it through the newspaper theme plugin section as well as attempted to install and update from the newpaper theme one click and still nothing.
Hi there, since a few months the Instagram footer line to preview latest posts stopped working under FIREFOX browser. Images are shown as broken, but links still working. I am having this issue on two websites (different domains and servers) since the last wordpress update. Never touched the settings since I installed the Newspaper Theme around March 2019 – Please check https://Konzertfotos.app – any idea how to solve it? Thanks in advance.
Hello,
I purchased Newspaper V 9.7.3 theme. As uploaded and enabled the theme vital elements like the “Activate theme” option or most importantly the “Theme panel” do not work. That means that I see all the options but they are freezed … I can’t select anything or save or even activate the product.
Please help!
“System status” results are in very good condition (all green). Accessing via Firefox and/or Chrome. WP verison is 5.2.2.
I see a similar topic entitled “I updated to 9.7.3 and now cannot make any changes to the theme” by user
topclimb… it seems to be related somehow.
I am currently am running version 9.7.3. I recently added SSL and a firewall to the website and now I cannot make any changes to the theme. It just freezes when I try. Any suggestions?
My site http://www.easternherald.com
please check as AMP plugin giving problem now since the last update of WordPress. I tried everything.
Please give me the fix
Hello,
Thank you for your reply. I have tried everything you said and it ended up with the update released of one of the plugins that I use (Private Content). After I installed this update everything became fine again.
Thanks again,
Svitlana
Can you guys please provide an option to download “plugins only” in themeforest downloads panel? It would be great if we could just download plugins only that come with the theme instead of downloading all files just to update one or two plugins.
https://prnt.sc/obdcps
Thanks
Edit the template using td composer and add subtitle block and update.
Just got with my managed hosting support and had them check all permissions. Somehow, I’m getting these messages no matter if I’m trying to update the TD Cloud Library or the TD Composer in the theme or with the child theme activated. Also, same thing if I try to auto update or manually click on “Update” in the plugin panel.
BTW, my child theme made it through the jump to the 9 series just fine. The hold up is this update from 9.7.2 to 9.7.3.
“Download failed. Unauthorized.”
Hi,
That is how the mobile theme works. The mobile version of pages will not be the same as the desktop version. This is explained in the guide – https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
So while the desktop page can be built with the composer, and contain blocks, grids etc. the mobile version is limited to the mobile editor – http://prntscr.com/o8vbaq
If a page contains no content in the mobile editor, on phones it will be empty when the mobile theme is active.
The homepage on mobile displays a top grid with featured posts
– https://forum.tagdiv.com/featured-posts-2/
Then there will be a latest articles section. If you enter content in the mobile editor for the homepage, it will be displayed between those 2 sections.
If you want to see see how the mobile theme looks and works, please check this demo with a phone, it has the plugin active – https://demo.tagdiv.com/newspaper_local_news/
I should note that in coming updates there will be more options added for the mobile theme, like for example the option to disable it for specific pages and many others.
The plugin is optional, if you want the same content from desktop to be displayed on phones, you can disable the mobile theme plugin.
Please let us know if you have more questions.
Thanks
So the structured data like entry-title, updated, author?
These are in the file mentioned above – http://prntscr.com/ob0g5m
– http://prntscr.com/ob0gfc – http://prntscr.com/ob0hx2
Those are required from what I know – http://prntscr.com/ob0fso there may be problems if they are removed.
The rest of the structured data is in that same file. The post schema is loaded from there.
If I still misunderstand please correct me.
Hello !
If you are using the child theme this option will not work due to our new update of the core as you can see here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/
Now you can be able to edit your page using a single post template from cloud library and there you can add raw html elements in order to insert your shortcodes: https://tagdiv.com/customize-articles-with-single-post-templates/
I hope this was helpfull !
Thank you !
Maybe the shortcode method would work, in a column text element
– https://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/
But you would have to edit each page and add the column text with the shortcode in it, manually.
Also manually, maybe it could work using a plugin that provides a widget that supports PHP code, for example – https://wordpress.org/plugins/safe-php-code-widget/
– https://wordpress.org/plugins/code-widget/
Then place the widget in a sidebar and add a widget sidebar element in the composer, and select the respective sidebar.
Or ultimately modify the theme files in those locations, but after a theme update the modifications will be lost.
I have this requirement: I have to insert an html block in the superior part of each article (above the title this is the code: <?php include(‘boxbooking.php’); ?>) before the update I modified the single.php and single_template_5.php file and it worked, now I modify my file but it doesn’t show me anything. Am I modifying the wrong file?
thanks