Mega Menu / Search bar issues

Posted in: Newspaper
Post count: 162

Hi,

I was recently optimizing our website and noticed that the Mega Menu isn’t working; even the search bar has shrinked. The other theme-blocks that use Ajax (first block) work perfectly IF I disable the “combine JS”.

Please let me know if you have any suggestions / work arounds?

PS: I am using the Siteground Optimizer.

Post count: 27744

Hello,

If you use this plugin, then this interferes with the theme. Now I verified and seems to work -> https://i.imgur.com/br8xRcG.png -> https://i.imgur.com/9SfnvPr.png

Thank you!

Post count: 162

Dear Anamaria,

As a user of this theme, I really love it – but many time, just like this one, the responses from you and your team (barring Calin) can be very frustrating.

Firstly, you are sending me a screenshot of a menu that is NOT a MEGA MENU. If you click on the first menu item, MUSEUMS, you will find it is not working.

Secondly, you have not realized that clicking the search icon on the header does not expand it with an input field like earlier.

So honestly, your response is meaningless to me. Please, take your time, but make an effort at least to understand the problem.

PS: Thanks for sharing that the Siteground plugin doesn’t work with Newspaper – I understood that from other discussions in the forum.

Edited to add: Disabled the plugin, so it all works now and you can probably see the difference.

Post count: 10

I’m sorry to intervene, but I don’t think it’s right to make the support team feel inferior, because they will do their best to help each of us, regardless of whether we have an active support period or not. The majority have not extended the support period and still ask for support. It would be nice to have a filter and have access only to those who have the active support period, not everyone who pays once 60$ and that’s it, they don’t contribute anymore.
The theme has many options and functionalities, which are not present in other themes, where you may have to pay for plugins, which are recurring payments.

Post count: 162

Hi @big,

I appreciate your response here, and as a user of this theme for very long, I have expressed my love for it in almost every support-request — so yes, I understand where you’re coming from.

However, it is not always possible to remain polite while struggling with an issue — I don’t have qualms waiting for it to be resolved, but it does irk me to explain the same thing over and over again when it could be read a little more carefully by Support.

That said, the intention is certainly not to make ANYBODY feel inferior, so my sincere apologies to Anamaria and anyone who might have felt offended.

And yeah, it is indeed rich, suggesting putting support behind a paywall. The fact that it makes users feel like a “community” certainly shouldn’t matter.

I feel before jumping in and adding such comments, it would be nice to practice the “filter”.

Post count: 162

Hi @Anamaria

Bumping this up to ask if you recommend any particular optimizer plugins. I’ve been through the links shared in this forum earlier, but not sure they are updated to go with 12.3.1 and the 2023 updates.

Post count: 27744

Hello,


@big
, Thank you for your kind words.


@theheritagelab
,
The plugin tested for the cache is WP Super Cache, some users use WP Rocket -> https://www.andraware.com/wp-rocket-for-newspaper-theme/
So, if the plugin is disabled the menu works, please check if the Site Ground has the option to exclude files, you can try to exclude the follow -> /jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray

Thank you!

Post count: 162

” if the Site Ground has the option to exclude files, you can try to exclude the follow -> /jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray”

Yes, indeed it had these options – this is what I had meant by asking “if you have any work arounds / suggestions”.

I will give this a try with Siteground and see.

Post count: 35449

Hi,
If it works please tell us, maybe there are other users who want to use the Siteground cache.
Thank you!

Post count: 162

Hi Calin,

So I tested the page speed and Siteground’s Optimization by excluding different components. I tested multiple pages for speed (posts with the Table of Contents; posts with galleries, etc)

The best result so far :

HomePage = 61 [mobile] / 79 [desktop]
Posts (average) = 62-64 [mobile] 89-91 [desktop]

Pages definitely load faster (1-1.3 seconds on desktop) & 4 seconds or more on mobile. >>> I am not using any mobile theme / AMP, so it could be because of that.

Nothing breaks if I exclude:

plugins/td-composer/legacy/Newspaper/assets/css/td_legacy_main.css
themes/Newspaper/style.css (not excluding this causes the Mega menu to not load and the Search bar on the header doesn’t expand).

Note: I had to exclude it from “CSS minification”, “CSS combination” both. It didn’t work if I excluded it from only the minification / combination.

Excluded from JS minification

/plugins/td-composer/css-live/assets/external/ace/ext-searchbox.js
wp-includes/js/jquery/jquery.min.js
/wp-includes/js/jquery/jquery.min.js
plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js

I also used another plugin, recommend it too : WP Meteor .. it eliminates render-blocking Javascript. I found that it not only works on top of SG optimisation, it works standalone too, without any “exclusion” scripts. Yet to test what happens if we add exclusions to it and eliminate the use of SG’s plugin.

Will appreciate any inputs you / other users have.

Have a good day!

Post count: 35449

Hi,
If you want to try some settings from our guide, it may help you – https://forum.tagdiv.com/how-to-make-the-site-faster/ maybe you can find some settings that will help you (indeed, on the mobile version if the mobile theme plugin is used, the results should be much better).
Thank you!

Viewing 11 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic.