- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
I have a custom post type ‘my-custom-post-type’. When I go to mydomainname.com/my-custom-post-type, the archive page shows up, but the posts on the page are incorrect.
In Newspaper functions.php, I tried two solutions:
1) https://thomasgriffin.com/how-to-include-custom-post-types-in-wordpress-archive-pages/
2) function custom_post_type_archive( $query ) {
if ( $query->is_category() && $query->is_main_query() ) {
$query->set( ‘post_type’, array( ‘post’, ‘my-custom-post-type’ ) );
}
}
add_action( ‘pre_get_posts’, ‘custom_post_type_archive’ );
Do you have any pointers/suggestions on how I can see the correct posts on the archive page? Thank you
Hello,
On one of my site pages, I have created tabs using Page Ids.
https://www.mysite.in/pagename/?name-of-tab
My ‘Tab’ features “Page ABC” has an anchor link : mysite.in/pageabc/#heading.
When PageABC is viewed from the tab, and I click on the url of the anchor text (#heading)…Clicking on it takes me to the actual Page ABC & the particular Heading, but I would like to stay in the Tab.
How can I achieve this?
Thank you in advance!
Hi @simchris
My site is hosted at namecheap that uses Nginx so there is no .htaccess file. In that case what to do?
I read 1 tutorial where someone told to do this:
regex
^/(.*?)/amp/$
In Source URL
/$1/
In Target URL
IS IT OK?
Don’t know why it is showing that amp plugins are enabled. Previously, I deleted AMP Plugin but I am using tagDiv Mobile Theme. What do you suggest? Do I need to delete that as well?
If I delete tagDiv Mobile Theme then how to show mobile version to my mobile users?
My site is hosted at namecheap that uses Nginx so there is no .htaccess file. So I can’t follow his advice mentioned here: https://forum.tagdiv.com/topic/amp-end-of-line/
What to do then?
Good day sir/ma, please text in 2 Columns on Mobile are overlapping instead of staying in the loop/box. An example is at https://hiideemedia.com/contact/
Preview at https://prnt.sc/WkjRQu9VkGJU
Please, how can I fix this? I expect the text to fit into each box with the respective padding set for it.
Note: I didn’t set text size for the text. So I leave it to be auto.
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!
-
This reply was modified 2 years by
secureblitz.
hello, I found a very nice Prebuilt Website. when looking at the demo, for example, 3. 4.he lists the news as he scrolls through the pages . but I’m uploading the demo to my own site in the same way as the old 3. 4. 5. when browsing the pages, it shows the old pages in a very small section all the way to the bottom, as if I were still on the homepage. please help me!
Hi,
We don’t recommend to using amp, because it is deprecated -> https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp
For mobile theme + Amp the content need to be added in Mobile Editor -> https://www.screencast.com/t/xbgZG8kH
Please check this topic where I explained each mobile version -> https://forum.tagdiv.com/topic/mobile-version-not-working-properly-2/ -> https://forum.tagdiv.com/topic/amp-pages-not-working-well-with-this-theme/ and choose what mobile version you want.
Also, it depends on the resolution of your phone.
Thank you!
Hello, I have an issue with my mobile page. When you see the page holding your phone regularly the page appears as it is intended to, but when you turn it sideways into landscape mode the look of the mobile page is gone and you get a broken version of the desktop view.
I use the mobile theme for amp and i like the look of it i don’t wanna change it to mobile but i wanna solve this issue. Any ideas?
Hi Bettina,
Thank you for the quick reply.
If you look at a review like this one, you can see that there is an ad in the post (afther 3rd paragraph).
If you look at any other posttype, like a news article, you can see that ads are not loading.
I have entered the ad-code via the ‘Ads’ menu of the Newspaper-theme (Article inline ad). I added the code that is necessary for ‘non-google-ads’.
Hello,
It seems that you still have the tagdiv mobile theme and amp plugins enabled -> https://i.imgur.com/DM2DrgG.png. Please disable them and check the topic to set redirects for links https://forum.tagdiv.com/topic/amp-end-of-line/
Thank you!
I just updated to the newest version of the Newspaper Theme, and my posts no longer have the og:title, og:image, etc. properties set.
Here is an example page:
https://lenaweevoice.com/2024/07/02/adrian-armory-kicks-off-centennial-celebration-with-open-house/
If you view source, you can see that there are no og properties defined, and if you plug it into the Facebook Open Graph Debugger at https://developers.facebook.com/tools/debug you get an error message saying that an og:image property needs to be defined.
At first I thought this might be happening because I deactivated the Yoast plugin as part of an attempt to figure out a different issue, but I reactivated it and the og properties are still missing.
Any idea what could be happening?
Can anyone check? After removing AMP Plugin, in some cases it is still showing mobile version in Desktop/laptop:
https://www.hospitality-school.com/
Also I am seeing ERR_TOO_MANY_REDIRECTS while trying to access whereas I put proper codes in wp-config.php and FUNCTIONS.PHP file
What else can I do?
-
This reply was modified 2 years by
hospitality-school.
We are currently developing the change from newspaper 8 to 12 and we found several errors that we have not been able to solve for example: wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_3 is not set.
/var/www/vhosts/digitalbizmagazine.com/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
The first is that it does not find some particular tags:
We cannot find how to change the background of the footer and finally when trying to edit the header menu as we had it on the original page
Hello @themastrem!
I recommend you use the responsive version and not the mobile theme + AMP, or only the mobile theme if you like the layout, but there are no more settings to customize it.
Thank you!
Hello,
I don’t recommend to using amp, because it is deprecated -> https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp -> https://forum.tagdiv.com/topic/kiss-amp-goodbye/
Thank you!
After implementing mobile theme with AMP instead of redirecting my mobile visitors to here:
https://www.hospitality-school.com/?amp=1
From Mobile Visitors to Google Crawlers, all are redirecting automatically to this page:
https://www.hospitality-school.com/=1
Please let me know how to fix this
Hello @themastrem!
1. Yes. There is a known issue, and it is still on the waiting list.
The feedback from our clients about AMP was negative and it is not used anymore, that’s why we didn’t add more customization options. We no longer recommend using AMP because it is deprecated https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp
2. This is a problem from their plugin. So, please address this issue to them.
Thank you for understanding!
Hi,
I think that you have malware on the website.
If you want to update the theme, you should download the latest version of it from 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.
If you want, you can contact our custom work team here, and they can help you update the theme safely: https://tagdiv.com/premium-customization-services/
Thank you!
Hello,
1. I have a problem with the registration of article views in the article panel, namely this registration is not done when the mobile theme module and AMP are enabled and set. In the tutorials found from you about the mobile theme the article setting appears at some point but in the actual newspaper panel it doesn’t appear. Can a change be made or is there a workaround so that these article views are also recorded when the site offers AMP pages?
2. Also AMP is telling me that it cannot scan my site, I have tried and searched for solutions for this but have not found any.
Note* I will keep the mobile theme disabled until you can offer a solution.
The site is http://www.ziarulincomod.ro
Thanks.
Hello
I created a template for the Shop page:
https://www.virtualmagie.com/boutique/
and of course I want to use the same for a category because it is the same thing.
Example : https://www.virtualmagie.com/etiquette-produit/mentalisme
In the setup, how I can use the same template I already created for Woo shop base templates?
I already one named Boutique VM – test and I want to use it for Woo categories archive templates, Woo archive tag templates and Woo archive attribute templates.

I didn’t find how to use my template on other pages templates.
Hi Rasinski1986, if the amp plugin is used with the mobile theme plugin then for pages you’ll need to create a separate content in mobile editor section at the bottom of the page – https://forum.tagdiv.com/mobile-theme-introduction/ – https://i.imgur.com/S83kxsC.png
For footer you just need to check in the theme panel footer section if you have set a footer that contains elements or you have a empty footer that use widgets that needs to be set in the appearance > widgets in footer 1, 2 and 3
Thank you!
Hi,
I have 3 questions.
– How do i create/activate an widget with recently visited products (View History)?
– How can i create more filters with TD composer? Such as: product rating, product price, in stock/out of stock
– Also, i can see that the price filter does not show on category page: if i set it as a widget in the default sidebar, it works. But i want it to make it work from the newspaper theme not woocommerce default.
woocommerce version: 8.9.2
newspaper version: 12.6.6
Thank you very much.
Hello,
I am very happy with your theme.
I tried to move the subtitles of the old theme to the subtitle area of your theme by querying the database.
I succeeded in this too.
My problem is that the subtitle byte account does not appear in the panel because it is wrong.
a:1:{s:11: “td_subtitle”;s:8: “subtitle”;}
As in the example above, the data that writes as “s:8” always writes the wrong byte length. This causes it not to be visible in the panel.
The site is in Turkish. I think the byte account in Turkish characters creates the problem. There are 55,000 news belonging to the old theme. It’s a 14 year old site and I don’t see any other care than moving them this way.
database uses utf8mb4.
I request your information and assistance in this regard.
