Forum Replies Created
-
Author
-
RoclaParticipant
I know the option to import the options from within WordPress GUI. I would like to automatize it.
RoclaParticipantI also had to patch in kleo/kleo-framework/metaboxes/init.php
define( 'KLEO_META_BOX_URL', kleo_Meta_Box::get_meta_box_url() );
->define( 'KLEO_META_BOX_URL', str_replace("/bitnami/wordpress", "",kleo_Meta_Box::get_meta_box_url()) );
RoclaParticipantIt works.
plugins_url()
-> http://IP/wp-content/plugins
get_template_directory_uri()
-> http://IP/wp-content/themes/kleoYou can easily make a relative path by splitting the urls with “/”
RoclaParticipantWell, it means that it is not working on universal environments, and like in my case with symlinks.
It also means that I will have to grep and replace to fix the problem that have the Redux Framework with the path generation at each update of the theme 🙁
A solution could be to use the “plugins_url()” maybe?RoclaParticipantThank you for your answer, I tried that option also, however I cannot add a background color in that case, or at least I didn’t find it. (grey with a 50% transparency)
I found the overly option (with the mouse), my question is, would it be possible to have this effect always activate?RoclaParticipantso… my quick fix was to replace the string
ReduxFramework::$_url
withstr_replace("/bitnami/wordpress/wp-content/", "",ReduxFramework::$_url)
but that’s definitely just a patch up specific to my environment… -
AuthorPosts