- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi,
I am having an error at my site with
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_10 is not set.
/home/adexasia/public_html/main/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
Display backtrace
wp_booster error:
td_api_base::get_key : a component with the ID: single_template_10 Key: show_featured_image_on_all_pages is not set.
/home/adexasia/public_html/main/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
Display backtrace
As far as I know I don’t have the plugin td composer and wp booster. How can I fix the error? Here are the example of the error https://www.adex.asia/speaker/erika-miura-adej-japan-2024/#
Thank you
Hello,
First of all, we no longer recommend AMP because it is deprecated https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp
The w3 validator unfortunately does not provide accurate results anymore.We have stopped trusting it altogether. Please use google’s structure data testing tool You can test any major site you can think about and you will see the w3c validator providing errors for each one.
Please check with the tagDiv Composer and disable the H1. For example, H1 from logo(header, footer, mobile, sticky): https://forum.tagdiv.com/topic/6-h1-tags-on-front-page-bing-have-deindexed-my-site/
Thank you!
Hello,
Can you please provide some examples of what you want to achieve? Screenshots will help a lot.
Thank you!
Hi,
I am getting the following error on few pages:
There has been a critical error on this website.
WP debug logs give the following output:
[02-Oct-2024 19:18:24 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_post_type_archive() on string in /var/www/example.com/wp-content/plugins/td-cloud-library/td-cloud-library.php:184
Stack trace:
#0 /var/www/example.com/wp-includes/class-wp-hook.php(324): tdb_add_js_variables()
#1 /var/www/example.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /var/www/example.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/example.com/wp-includes/general-template.php(3065): do_action()
#4 /var/www/example.com/wp-content/plugins/td-standard-pack/Newspaper/header.php(11): wp_head()
#5 /var/www/example.com/wp-content/plugins/td-composer/td-composer.php(254): require_once('...')
#6 /var/www/example.com/wp-includes/class-wp-hook.php(324): {closure}()
#7 /var/www/example.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#8 /var/www/example.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#9 /var/www/example.com/wp-content/themes/Newspaper/header.php(2): do_action()
#10 /var/www/example.com/wp-includes/template.php(810): require_once('...')
#11 /var/www/example.com/wp-includes/template.php(745): load_template()
#12 /var/www/example.com/wp-includes/general-template.php(48): locate_template()
#13 /var/www/example.com/wp-content/plugins/td-standard-pack/Newspaper/404.php(18): get_header()
#14 /var/www/example.com/wp-includes/template-loader.php(106): include('...')
#15 /var/www/example.com/wp-blog-header.php(19): require_once('...')
#16 /var/www/example.com/index.php(17): require('...')
#17 {main}
I have some custom pages which load from a separate directory under WordPress, but with any version of the NewsMag theme beyond 5.4.1 I get error messages on those pages, caused by the TagDiv Composer plugin.
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: td_res_context is not set.
C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_api.php
I am happy to adjust my code in those directories to avoid the error, if you could please suggest what might be causing it or how to avoid it.
Thanks.
Hello everyone,
I’m experiencing some issues with HTML validation on my website. Specifically, I’m seeing errors related to duplicated tags, such as the <head> tag appearing multiple times on certain pages. Additionally, there are multiple <h1> tags within the same page, which I understand is not recommended for SEO or accessibility.
After running a check, the WordPress Happiness Engineers suggested that this could be an issue with the theme I am using. I’ve tried to fix the code manually, but without success.
Here are some details:
Issue encountered: Duplicated <head> and <h1> tags, along with AMP validation errors.
Theme in use: Newspaper
Steps taken so far: I have validated the code using the W3C Validator and AMP tools, both of which flagged these duplicate tags as errors.
I’m seeking help on how to resolve this problem. Should I consider switching to a different theme, or is there a way to fix the current one?
Thanks in advance for your assistance!
Hello – is there a way to get column text to flow across multiple columns in a row? For example, if I create a 3-column row, can I get text entered in a column text element in column 1 to continue, to overflow, into columns 2 and 3? (As one might see in a newspaper…)
Thanks
Mark
Hi
Here are the images from the load elements. When I upload an image, it loads as a thumb size instead of the larger size.
-
This reply was modified 1 year by
raheem092.
I must have misspoken : I created a sample post with the “formation” slug and which have “categories” and “tags”. And I’d like to display the filters with the categories and tags of this CPT.
Hello,
You have malware on the website. Please update to the latest version 12.6.8
If you want to update the theme, you should download the latest version of it from the Theme Forest account and download it.
I recommend that you update the theme manually https://forum.tagdiv.com/how-to-update-the-theme-2/ via FTP/cPanel/File Manager, also if possible disable extra plugins during the theme update to avoid any problems that may arise and make sure that you have activated the tagDiv Standard pack plugin to keep the website’s look. You can try to update the theme on a staging website.
After you update the theme, you need to update the theme plugins too.
In the worst cases, the settings in the theme panel may be lost (there have been isolated cases), in these cases, after the theme plugins that were previously used are activated, you will have to use a backup for the theme panel -> https://forum.tagdiv.com/import-export-theme-settings/
You could consider reinstalling the WordPress version, and checking for this plugin wp-zexit.php. It might be wise to inspect via FTP if it doesn’t appear in the WordPress -> Plugins. Additionally, using Wordfence to scan the website and remove unknown users would be prudent.
Change admin passwords and delete admin accounts you are not familiar with;
– Delete any weird/unknown plugins;
– Delete the weird/unknown themes;
– Clean unfamiliar Theme Panel injected code (example – https://i.imgur.com/4q70kCv.png);
– Clean WordPress files (example – https://i.imgur.com/stJCqiK.png)
Please block /wp-json/tdw/save_css
If an attacker wants to target this URL /wp-json/tdw/save_css they can do so. Even if the website uses a different theme, the attacker can still try that URL. We could add an option to be able to enable/disable the Live CSS, it will be considered. But for now in order to remove it this can only be done with a modification to the composer plugin. I think that all that removing it requires is to comment this line of code – https://prnt.sc/RtwvL5Nc4ikR -> https://prnt.sc/ymZmhdUfp57U But as I mentioned, the attacker can still try to access the URL.
Thank you!
Hello,
Please disable the amp plugin because this is deprecated https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp , so we no longer recommend it.
Thank you!
skip Amp…google abandoned it almost 2 years ago
I have Amp activated but there is nothing in the sidebar on my site that says “Amp” for me to set up. When I use Amp for mobil it shuts down my affilite ads. Any suggestions? My site is the industry.biz
You can see it at: https://ebizlatam.com/santex-acuerda-con-el-gobierno-argentino-ofrecer-cursos-de-xacademy-en-la-plataforma-capacitar/
————————————————–
Hi, I want to show the excrept at the single post template adding this to functions.txt
add_shortcode( ‘output_post_excerpt’, ‘get_the_excerpt’ );
And this to the template in a Single External Shortcode:
[output_post_excerpt]
But the excrept shows only the first 30 word.
How can I change the lenght to (by example) 100 words?
Thansk in advance,
José.
Hello, good day
I have a post that has a shortcode at the end to promote other articles.
The shortcode is:
[td_block_16 custom_title=”RELATED” category_id=”” sort=”” limit=”3″ td_ajax_filter_type=”” td_ajax_filter_ids=”” no_pagination=”load_more” tag_slug=”vitamina” header_text_color=”#3b0e47″]
The problem is that I have not been able to apply a filter where the posts of only a specific author are shown, for example, the author of the article you are reading.
Could you help me modify the shortcode to achieve that?
Thanks!
Eduardo Oyarse
Hello,
For each category, on the flex block there is a special filter for the current category, which dynamically displays the posts from that category within each category.
The Posts Loop automatically filters the posts depending on the cloud template you set (for example, on the category page, there will be posted posts from that category) https://forum.tagdiv.com/posts-loop/
If there is an offset set, please check the block with “No posts” and delete it. Leave it empty with no space or value: https://app.screencast.com/Gh9jDf6t0XtLS
You can find the documentation here: https://forum.tagdiv.com/offset-feature/
Thank you!
Hello,
Please follow the next steps. Normally, you should not lose your settings.
Please update to the latest version 12.6.8
If you want to update the theme, you should download the latest version of it from the Theme Forest account and download it.
I recommend that you update the theme manually https://forum.tagdiv.com/how-to-update-the-theme-2/ via FTP/cPanel/File Manager, also if possible disable extra plugins during the theme update to avoid any problems that may arise and make sure that you have activated the tagDiv Standard pack plugin to keep the website’s look. You can try to update the theme on a staging website.
After you update the theme, you need to update the theme plugins too.
In the worst cases, the settings in the theme panel may be lost (there have been isolated cases), in these cases, after the theme plugins that were previously used are activated, you will have to use a backup for the theme panel -> https://forum.tagdiv.com/import-export-theme-settings/
You could consider reinstalling the WordPress version, and checking for this plugin wp-zexit.php. It might be wise to inspect via FTP if it doesn’t appear in the WordPress -> Plugins. Additionally, using Wordfence to scan the website and remove unknown users would be prudent.
Change admin passwords and delete admin accounts you are not familiar with;
– Delete any weird/unknown plugins;
– Delete the weird/unknown themes;
– Clean unfamiliar Theme Panel injected code (example – https://i.imgur.com/4q70kCv.png);
– Clean WordPress files (example – https://i.imgur.com/stJCqiK.png)
Please block /wp-json/tdw/save_css
If an attacker wants to target this URL /wp-json/tdw/save_css they can do so. Even if the website uses a different theme, the attacker can still try that URL. We could add an option to be able to enable/disable the Live CSS, it will be considered. But for now in order to remove it this can only be done with a modification to the composer plugin. I think that all that removing it requires is to comment this line of code – https://prnt.sc/RtwvL5Nc4ikR -> https://prnt.sc/ymZmhdUfp57U But as I mentioned, the attacker can still try to access the URL.
Thank you!
Hi,
Usually the “Invalid reply from server endpoint error” is caused by insufficient WP_Memory_limit, if you’ll set it to 256M, and is still not working, please double it and check the rest of the settings from our guide -> https://forum.tagdiv.com/requirements-for-newspaper/ also make sure that you are using SSL and you have a good bandwidth, the one from our server is 1GB/s and the one that I use at home is 500MB/s, if you have low bandwidth, then you can access parts of the cloud, this can be done from the frontend, for example, if you are on a post -> https://i.imgur.com/4G74M7F.jpg or from tagDiv Composer -> https://i.imgur.com/2F6MhfI.png or from backend -> https://www.screencast.com/t/wekHmc7kJ8J
Thank you!
In Newspaper/Ads, is it possible to adjust the vertical spacing between sidebar ads? For example, as in sidebar here:
https://jazzjournal.co.uk/2024/09/25/digdogdo-evolution/
The spacing between sidebar ads is huge. I’ve looked in Appearance/Widgets but can’t see any padding options.
Thanks
Mark
Thanks. First thing, I am not getting alerts when you guys respond to my queries even though I subscribe for alerts.
You can not use flex blocks without the plugin or theme
I dont understand this, I already have installed Newspaper theme and it has installed the required plugins.
The elements from the tagdiv Composer can not be used in the default templates.
Ok, I got this.
Check the settings of the flex blocks: https://forum.tagdiv.com/flex-block-settings-guide/
There are special filters as well and the block knows to filter by the current category for example. You can also copy-paste the block or save it as element and use it in another cloud page
I need more clarity on this, I have used tagdiv composer and used few blocks and created pages. Are you saying I can create a my own elements to be used on Tagdiv composer by using a block, change the settings and save as my own element template for further using on pages?
So you are confirming that there is no provision provided by Newspaper theme/plugins to embed the blocks or posts of specific category or filters on Posts by embedding short codes?
I saw reference to embedding blocks @ https://forum.tagdiv.com/set-block-inside-post-content/ ?
[td_flex_block_1 modules_on_row="" limit="1" hide_audio="yes" show_btn="none" show_excerpt="none" show_review="none" show_com="none" show_date="none" show_author="none" image_floated="float_left" sort="random_posts" image_width="200px" meta_padding="25px 0 0 25px" modules_category="above" modules_category_margin="0 0 10px 0" tdc_css="eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJib3JkZXItYm90dG9tLXdpZHRoIjoiMSIsInBhZGRpbmctdG9wIjoiMTIiLCJwYWRkaW5nLWJvdHRvbSI6IjgiLCJib3JkZXItY29sb3IiOiIjZWFlYWVhIiwiZGlzcGxheSI6IiJ9fQ=="]
-
This reply was modified 1 year by
thiru.
I have used the license on my two domain
but my url is with http://www.example.com and license is showing only on site example.com. now i am unable to assign it to the correct domain name which is with http://www.example.com
I have deactivated all the plugins and only happens when I activate tagdiv plugins, here is an example https://ruth-ellen.com/do-i-have-rejection-sensitivity/
Hello, we are facing a strange issue with the thumbnails in our site. In our homepage (only in mobiles and only in the homepage) the thumbnails for each article are (very often) wrong, meaning that, the picture is different from the one in the article.
Inside the article the picture is ok and, as said, in laptop/pc they are ok too – this only happens in mobiles (both android and iphone).
This started after the previous update and you can see an example in the picture below (on the left the wrong thumbnail and on the right the full post with the correct image).
Note: this is corrected when we use the Clear Used CSS option from wp-rocket plugin. Thank you!
Kind regards,