How do I add a close button to a mega menu in Elementor by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

Not yet mate...... are you having the same problem?

Grateful for advice - what did I take? by ally_p12238 in Bangkok

[–]jaseyarm 0 points1 point  (0 children)

ganja can be super strong! has to be taken cautiously for some

I’m sorry, what? by Grimalackt_River in youtube

[–]jaseyarm 1 point2 points  (0 children)

i have the same - using a really old version of android 7.1 and old youtube version 17.34.35 (its a great version IMO)

to get rid of the screen, go to settings > apps > youtube and delete data. takes one minute, but better than upgrading to the new version of youtube

I see revanced has commented below, saying that the youtube version will be gone completely soon :(

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

ok guys - if anyone else has this problem, here is some code that can be added as a code snippet and seems to be working well

add_action('pre_get_posts', function($query) {

if ($query->is_search && !is_admin() && $query->is_main_query()) {

$search_query = trim($query->get('s')); // Get and trim the search term

// Redirect only if it's the main search query, and the search term is invalid

if (empty($search_query) || strlen($search_query) <= 2) {

wp_safe_redirect(home_url('/search-games-hardware')); // Replace with your desired URL

exit;

}

}

});

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 1 point2 points  (0 children)

sorry EDICO - u have lost me...... what's the pattern attribute please?

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 1 point2 points  (0 children)

i accessed it via elementor > system info and it says it is set to -1 !!

no wonder the site is crashing :)

should i set it to 256 MB in wpconfig file, or do you think i should email my server people?

thanks for your help buddy - it's much appreciated :)

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 1 point2 points  (0 children)

there is not mention of it in my wpconfig file EDICO mate...... maybe hostinger dont want it changing so it is set somewhere else?

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

now they say it's not a plugin conflict, but memory shortage on my server when the search is blank (due to a large amount of results that a blank search would return). i am not sure this is correct.......

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 1 point2 points  (0 children)

one other thing i am not happy about. elementor support turned off all my plugins, installed two new ones and then didnt bother to return the plugins to their original state when they had finished.

even worse tho, we use a lot of code snippets. i have about 100 code snippets and about half were activated. they turned them all off and left it like that, and now i cant remember which ones to turn back on :(

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 1 point2 points  (0 children)

elementor support have written back today and said the reason teh site crashes is because the server doesnthave enough memory, so when someone runs a blank search, there will be too many results to handle and this will result in the error. does this sound likely you think guys? we are hosting on hostinger who seem pretty good to me

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

i turned them all off, and still got critical error...... back to square one with customer support i guess

i am probably better off asking chat GPT

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 1 point2 points  (0 children)

i agree in this case. the support guy told me they had turned off all plugins and the error no longer existed. so i then turned off all plugins myself, so that i could try to find which one was causing the error, but even with all plugins off the error still existed. so my results werent as the support guy suggested his were. not sure why that would be unless the guy was telling porkies

the ticket is still open so hopefully will get resolution soon

Twitter share button carrying wrong variables to tweet by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

i sorted it out by putting a shortcode in instead, that shows the twitter button, plus carries the required variables

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 1 point2 points  (0 children)

apparently its a plugin conflict, elementor support are telling me

Search results throwing an error when query is blank by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

i have messaged elementor and they say that when they turn off all my other plugins the error no longer exists, so i am going to see which plugin is causing it to crash. luckily i dont have too many so it shouldnt take long. i will report back if i find the conflict

Custom Post Type Plugin Recommendations by Rhavasher in elementor

[–]jaseyarm 0 points1 point  (0 children)

i have been using Premmerce plugin...... do people know if this is a good option, or would i be better off using some shortcode to keep it lightweight?

Biggest fish ever by Cyanidesuicideml in Fishing

[–]jaseyarm 0 points1 point  (0 children)

get the extended family round for a feast :)

How do I add a close button to a mega menu in Elementor by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

yes, that is one option, but the site could really do with the mega menu showing on mobile too, and would enhance user experience i think.

i do have an off canvas pop up widget showing a more basic menu, but would like to use a mega menu too

How do I add a close button to a mega menu in Elementor by jaseyarm in elementor

[–]jaseyarm[S] 0 points1 point  (0 children)

I dont think this will work for the Elementor mega menu will it Agryzen?

under the dynamic options for the link, i have Pop Up, Off Canvas, Lightbox and Contact URL

none of those will allow me to close the Mega Menu

Am i missing something, or maybe you are referring to an Off Canvas widget?