livetrue
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast Duplicate Post] Duplicate content issue of the posts on frontend onlyRESOLVED!
To attempt to resolve the ‘Content area not found’ error produced by Elementor, I was advised to insert the string
the_content();
just aboveget_footer();
in the single post template (single.php) which is used by WordPress to render a single post. As soon as the line was commented, the problem of duplicating content in the frontend literally disappeared from all 200 posts.I apologize for the improvisation, but until a few hours ago I did not know how to solve. If it can be useful, to find this problem of mine, the following plugin has helped me a lot: Which Template Am I
Happy CODING everyone!
RESOLVED!
- This reply was modified 2 years, 6 months ago by livetrue.
Finally a sigh of relief!
Thanks to Jory Hogeveen (@keraweb) for giving me the “cue” to look for the problem in the list of my active WordPress plugins, and … BINGOOO!
The blocking of some features (in my opinion referring to lines of JS code) of the theme, which however seem to be fundamental for the correct functioning of the navbar, of the navigation menu in mobile version, and finally of the search icon on the right, were caused from a Slider Revolution Add-On (here the screenshot: https://miopiccolofiore.it/wp-content/uploads/2022/09/2022-09-02-200931.jpg) I would never have thought that!
In fact, by deactivating and reactivating this plugin, the JS features listed above of the web page, named in the> Title of the topic, worked and immediately no longer worked, even without clearing the cache, all this is nothing short of incredible, right?
It took a while, because first I had to deactivate all the plugins, and immediately the page worked as it should, so one at a time I deactivated and reactivated them to check which plugin was blocking the JS of the CPT page in question.
Anyway, all is well that ends well!
Thanks Jory for the support, good job everyone.
Lorenzo
Resolved!
Soon I’ll explain where the problem was and how I managed to solve it…
The problem was present even before I installed Hummingbird, however now I have disabled it, no caching tools in use.
I cleared the browser cache and with reloading the website nothing has changed, unfortunately!
I also contacted the developers of the theme, but they couldn’t tell me why this problem occurs.
In the documentation of the theme (https://documentation.cmsmasters.net/my-religion/#!/blog_setup) I found a paragraph that is suspicious to say the least! In the post format type box (see screenshot: https://miopiccolofiore.it/wp-content/uploads/2022/09/2022-09-02-191827.jpg) only “standard format” is written. Could this be the “probable” limitation to the functioning of JS with a CPTs?
- This reply was modified 2 years, 6 months ago by livetrue.
Hi Jory and thank you for replying to the topic.
In fact the problem persists even after installing Hummingbird, unfortunately. At this point I suppose it is a limitation of the Theme, especially JavaScript (as you also asserted) responsible for the “actions” on the navbar (the “hotdog icon” menu in mobile version does not work and also the lens icon for the search for desktop and mobile frontend). I no longer know what to do, whether to radically change the theme, as (after checking in the settings) a “behavior” in the presence of the CPTs is not listed, or to somehow manage, through “help” to overcome this problem, which is insurmountable for me, because I know relatively little of JavaScript and don’t even know where and how to start.
Greetings
Lorenzo