Forum Replies Created
-
In reply to: move Bp scripts (js) to footer
okey thanks in fact i will use the wonderfull plugin : BWP Minify 😉
In reply to: move Bp scripts (js) to footerOkey like others scripts of wp core but do you know the handle of bp scripts ?
In reply to: New tab + it’s content from a wp page ..?Okey so simply ? in the function that is call on tab click i use Get_post or else to grab only the content of a page i want ?
Thanks i will try that and get back here 😉
In reply to: New tab + it’s content from a wp page ..?Thanks i will try that with but with your solution i cant call the content, but simply echo somthing ?
If i have a wp page that use the default template the slug of this page is /invitation/ i can grab only the content of that page to load it in the new tab in bp profile ?
In reply to: New tab + it’s content from a wp page ..?I found how to redirect to the page using screen_function but i want to load the content in the tab :p
Tx a lot anyone who help !
In reply to: Scripts to footerThanks,
anyone know where i can have the handles of the bp scripts ?
with that i can dequeu them and enqueu again to put them in the footer@Henrywright :
For jquery is loaded by default in the footer but if it detect a script in wp_head() he print it in the head that way there is never a bug.bp put his script to the head or it’s not define at all where to put them, so wp prin at first jquery then the bp scripts
In reply to: Scripts to footerhi thanks for the rapid response,
so i’m a god dev on wp but i start to bp ant in wp i can put simply the script to the footer with the handlethen what i want to do is to minify and concatenate all js css then gzip it for cache and put all the string in deferer (js)
i have made it in an other web site : http://preuves-par-images.fr/
but now in an other i have buddypress who put his scripts not to the footer (wtf ??) coding dummy put the css in head and js to footer… so my simple question is hos can i put them in the footer ??
thanks in advance ! 🙂