colas31
Forum Replies Created
-
Hey,
I get the same problem with the theme I use “Awaken”
I read all the given thread.I make lot of tests, there the order to load libs that works in my case :
– jQuery
– jQuery migrate
– Bootstrap
– All jquery lib
– photonicSo if I change this line :
wp_enqueue_script('photonic', plugins_url('include/scripts/photonic.js', __FILE__), $photonic_dependencies, $this->version, true);
To indicate to load this library in footer, all works fine on my website.And it’s better to load javascript file in footer.
Maybe to could add an option to allow user to charge JS in footer ?
And it will be interesting de load all dependancies only on needed page 🙂Thanks
Forum: Plugins
In reply to: [Polylang] Categories URL changeSuper you confirm what I found.
I try to understand why calling the function wp_list_categories earlier breaks all the rewrites system.
Thanks to a debug I found this in the function get_extra_permastruct:
When I let the call in my theme, the variable
$this->extra_permastructs[$name] is null (with $name is ‘category’)If I remove the call this variable exists and the key ‘struc’ is ‘/category/%category%’
Forum: Plugins
In reply to: [Polylang] Categories URL changeHi,
I’m so stupid, I testes with an other custom theme but not with the default WP theme.
With Twenty Sixteen all works nice.Can I consider this problem as a bug in the theme I use (Point) ? Or to fix the problem can I rewritte a function ? If so which one ?
Thanks