shecky
Forum Replies Created
-
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.
I 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 7 years, 4 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.www.ads-software.com/plugins/contact-form-7/advanced/
Section “Previous versions” ??
Forum: Plugins
In reply to: [Yoast SEO] Include non WordPress categories and pages in main sitemapI 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?
Forum: Plugins
In reply to: [Yoast SEO] Include non WordPress categories and pages in main sitemapThanks 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.
Forum: Plugins
In reply to: [Yoast SEO] Include non WordPress categories and pages in main sitemapThanks 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
Forum: Plugins
In reply to: [Crayon Syntax Highlighter] Not working visual edit and button in WP 3.9Same problem for me ??
My WordPress version is 3.9, Crayon version is 2.6.0Crayon popup open only in textual mode with Firefox 28.0, IE 11, Opera 12.16. IN Opera even the popup buttons “Add” and “Cancel” do not works.
No problem with with Iron 32.0.1750.1 and Safari 5.1.7.
Forum: Plugins
In reply to: [Better bbPress Signature] support for bbpress 2.3?There are some bugs to fix in bbpress-signature.php, so open this file and:
( 1 ) Replace all occurence of /better-bbpress-signatures/ with /better-bbpress-signature/
( 2 ) in function add_b3p_signature() replace$added = add_user_meta( $current_user->ID, 'b3p_signature', $signature_text, true );
with:
$prev_signature = get_user_meta($current_user->ID, 'b3p_signature', true); $added = update_user_meta( $current_user->ID, 'b3p_signature', $signature_text, $prev_signature );
Now plugin works perfectly ??