shecky
Forum Replies Created
-
It was clear Cristian, but not having in my sites script js to be excluded but having various online sites (including three e-commerce) that no longer worked, I looked for the quickest solution to put everything back online ๐
I’m waiting for a new release of SBP ๐
No news Yakir?
For your information Cristian, I debugged the core.php file inserted in SBP.
In this file I found the various “remove_action” functions but I did not find any reference related to the “add_action” functions for move javascripts from HEAD to FOOTER.I hope this helps you!
Regards.
Davide.Hi Cristian (@machothemes).
The problem has occurred in more than one site.
In these sites I had the following GENERAL options active:
– Move scripts to the footer
– Load JS from Google Libraries
– Remove query strings
– Removes extra Font Awesome stylesNow:
1) I have deselect “Move scripts to the footer”
2) I have insert in my function.php this code:function load_my_custom_scripts() { // ------- Move javascripts from the Head to the Footer ------- remove_action('wp_head', 'wp_print_scripts'); remove_action('wp_head', 'wp_print_head_scripts', 9); remove_action('wp_head', 'wp_enqueue_scripts', 1); add_action('wp_footer', 'wp_print_scripts', 5); add_action('wp_footer', 'wp_enqueue_scripts', 5); add_action('wp_footer', 'wp_print_head_scripts', 5); // ------- Move javascripts from the Head to the Footer ------- ... ... ... ... ... } add_action( 'wp_enqueue_scripts', 'load_my_custom_scripts', 20 );and everything is back to work as before.
I tried before making these changes to reload version 3.6.1 of your plugin and everything worked properly.
So I can tell you (with absolute certainty) that the problem is related only to the new version 3.7.0.
Regards.
Davide.For your information, the Class I use is based on:
https://gist.github.com/robert-kampas/6c1b3240227413581f8b
Regards.
Davide.
Hi Yakir.
I use a Class that creates “Virtual Pages” (that are neither posts nor pages) and this pages use an “illegal” value for the page ID.
This Class create a fake post instance and fill properties of variable $post with everything a page in the database would have.
At the end the Class reset wp_query properties to simulate a found page.
Sharing the code would not be possible as it consists of several lines.
I can understand if you will answer me that this is not a normal use of WordPress, but I am not the only one that use this “Virtual Pages” and up to Elementor version 2.0.0 everything worked regularly.
Regards.
Davide.
I found the problem on class Document (function construct) on line 632.
If post not exist you made an exception.
I have commented the exception and everything returns to work!Please fix it, because I suppose that other WordPress users use fake pages like me!
Regards!
Forum: Plugins
In reply to: [WP Mega Menu] Error on addon gridpostHi Fahim!
I don’t have purchased yet this plugin.
My site is on develop and PHP version is 7.0.10Regards.
Forum: Plugins
In reply to: [Pinpoint Booking System - Version 2] JS error: book button don’t showI fixed Frontend problem, but now i have a Backend problem…
When I try to add a reservation on “/wp-admin/admin.php?page=dopbsp-reservations” after day click, when I click or select a finish hour javascript error compare:TypeError: default_schedule.hours[selectedHours[((selectedHours.length - hoursDiff) - 1)]] is undefined[Ulteriori informazioni] jquery.dop.backend.BSPReservationsAdd.js:2419:1 getAvailability jquery.dop.backend.BSPReservationsAdd.js:2419:1 set jquery.dop.backend.BSPReservationsAdd.js:4533:29 set jquery.dop.backend.BSPReservationsAdd.js:3165:17 $.fn.DOPBSPReservationsAdd/selectMultiple/TypeError: default_schedule.hours[selectedHours[0]] is undefined[Ulteriori informazioni] jquery.dop.backend.BSPReservationsAdd.js:2417:1 getAvailability jquery.dop.backend.BSPReservationsAdd.js:2417:1 set jquery.dop.backend.BSPReservationsAdd.js:4533:29 set jquery.dop.backend.BSPReservationsAdd.js:3165:17 $.fn.DOPBSPReservationsAdd/selectMultiple/so is impossible add a reservation from backend.
Can you help me???
Regards.
- This reply was modified 8 years, 9 months ago by shecky.
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 REST APIWho wants to return to 4.7 version, can download the package from here
https://it.wordpress.org/plugins/contact-form-7/advanced/
Section “Previous versions” ๐
I have another problem.
In Yoast SEO Dashboard there is this notice:
`These files are preventing the proper functioning of your XML sitemaps. Delete them (using the “Edit” button) or disabling the XML sitemapx the Yoast SEO:
– …/product_categories-sitemap.xml
– …/product_groups-sitemap.xml
– …
– … (list of all my custom sitemaps).Any suggestions?
Thanks Saลกa.
Like you suggested I removed the filter “wpseo_enable_xml_sitemap_transient_caching”.
I find your filter on github but I not found it…
In my site use W3TC with Yoast SEO plugin extension: how can I disable caching for sitemap pages?Regards.
Thanks for replies, Saลกa.
I solved the problem adding the filter
add_filter( “wpseo_enable_xml_sitemap_transient_caching”, “__return_false” );Regards!
Forum: Plugins
In reply to: [Advanced Custom Fields: Validated Field] Field name problem with ACF 5.5.0No news???
Forum: Plugins
In reply to: [EU Cookie Law for GDPR/CCPA] Shorttag "cookie-control" don't disable cookiesFor your information, seems that the value ?nocookie=1 does not work
————————————————————————-
Per tua maggiore informazione, sembra che a non funzionare sia il valore ?nocookie=1