Another feature request ??
I’m sure this is already on your radar, but I’d loooooove to be able to target when a script is added to a page, much like in Elementor Pro Template conditions, or Header/Footer & Blocks for Elementor where you have choices like:
Entire Site
Special Pages
Front Page
…
All Pages
Certain Pages
All Posts
All Archives
All CPT 1
All CPT 2
And if you wanted to go crazy, you could add exclusion cases … all the code is in Header/Footer & Blocks for Elementor ??
THANKS!
This plugin is AWWWWWESOME.
]]>This is a feature request.
1. Please use the standard wp_enqueue_script and wp_enqueue_style functions to add scripts/styles into head/footer (this would at least give each script a proper $handle
e.g. ‘rabbitbuilder-script-ID
‘)
2. Please add the ability to override the $handle in the options … you could even leverage the natural wordpress slug field for this since wordpress would then ensure they were all unique.
e.g. if item is a script and $slug/$handle
is ‘global’, the final handle could be like ‘rabbitbuilder_global’, and in code it would output <script id="rabbitbuilder_global-js" type="text/javascript" ...>
The reason I’m requesting is that I’d like to use wp_add_inline_script
in a code snippet to create some JS variables in PHP like so: https://digwp.com/2019/07/better-inline-script/ (see the 3rd example ‘BEST: inline scripts via wp_add_inline_script()’)
THANKS!
]]>I recently started received an “Uncaught Error” warning after making changes and attempting to save my scss file. Even after commenting out the changes, I am still getting the error. See debug output below.
The css in my file that was there before is getting applied correctly, but any changes I try to save are met with the error, and the changes are not reflected on the site
I had not changed anything in a while, so this might be related to the 5.6 wordpress upgrade.
Warning: include_once(/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/OutputStyle.php): failed to open stream: No such file or directory in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 9
[16-Dec-2020 20:30:25 UTC] PHP Warning: include_once(): Failed opening '/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/OutputStyle.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 9
[16-Dec-2020 20:30:25 UTC] PHP Warning: include_once(/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/Cache.php): failed to open stream: No such file or directory in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 11
[16-Dec-2020 20:30:25 UTC] PHP Warning: include_once(): Failed opening '/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/Cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 11
[16-Dec-2020 20:30:25 UTC] PHP Warning: include_once(/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/Exception/SassException.php): failed to open stream: No such file or directory in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 15
[16-Dec-2020 20:30:25 UTC] PHP Warning: include_once(): Failed opening '/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/Exception/SassException.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 15
[16-Dec-2020 20:30:25 UTC] PHP Warning: include_once(/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/Exception/SassScriptException.php): failed to open stream: No such file or directory in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 16
[16-Dec-2020 20:30:25 UTC] PHP Warning: include_once(): Failed opening '/home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/Exception/SassScriptException.php' for inclusion (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/scss.inc.php on line 16
[16-Dec-2020 20:30:25 UTC] PHP Fatal error: Interface 'ScssPhp\ScssPhp\Exception\SassException' not found in /home3/actioncl/public_html/wp-content/plugins/rabbitbuilder-global-central-js-css/inc/lib/scssphp/src/Exception/CompilerException.php on line 20
]]>
Hi guys,
This is a great plugin! Is it possible to use this with the Customizer for theme development? Is there a way of using customizer control values as variables or shortcodes in the SCSS code?
Thanks!
]]>Hi! I really like this plugin and think the keywords for Elementor are great!
Since the new version of Elementor, the Colorpicker Kewords do not work anymore. Will the plugin soon be able to use these colors with keywords as well?
Thanks!
]]>Hello
I have read the other two posts in your thread. I’m a beginner to Elementor, but built my own small site some years ago with basic css and html4.
So in learning Elementor it seems crazy to me that you can’t seem to add global styles for different sorts of paragraphs etc and that there isn’t a ‘place’ to see all the global css code created. Its common sense to me that I should be able to add a class name in the advanced tab to use a css style I’ve made. Surely it would keep bloat down too?!
So I would love to be able to use your plugin, but I can’t work out how to code my styles into it. How would I be able to add multiple text styles if they have limited keywords?
I think you would find huge need for this amongst designers who need to build but also have a time limit and, as you say, have multiple pages to build.
Anyway, I hope you will consider making a small tutorial that shows us how to code it and add that code? It would be a very great thing!
Thanks
Diane
Hi, conceptually I like the idea, but without proper tutorials (and maybe even a couple of starter stylesheets as examples) it goes way over my head..
I cannot even set up basic h1 to h6 with various colors and sizes for different breakpoints.. something I understand how to do in in the Customizer css but have no clue how to replicate using your plugin and the Global shortcodes provided :/
This could have a lot of potential as Elementor is a blessing and unfortunately also a major curse when it comes to styling (and thy don’t seem to care..). I use Astra now as it allows much better styling options, a least for fonts (though also quite convoluted when it comes to “global” colors .. but your tool could be great with Elementor Hello for example.
Will be looking a this hoping it develops in terms of tutorials.
_______________________
PS: In term of your experience do third party Elementor Add-ons apply good practice when it comes to global Elementor implementation?
Because if one creates a nice “theme” using Rabbit Builder to then realize that third party Add-ons do not play nicely it’d be a further hurdle..
T H A N K S
]]>Hey,
I really like your plugin and I think it’s a huge help when working with Elementor. Elementor should actually build this functionality but as they’re refusing to do so it’s great that you did it.
One question though: Could you move your menu item into the appearance menu instead of creating your own top level menu item? I don’t understand why developer always think they need to put it on the top level. It get’s bloated and confusing over time and unless you really have a lot of sub menu items it really shouldn’t be necessary. Maybe also think about doing a shorter menu item title like “Global CSS/JS”. It would help to keep the admin UX clean and easier to use.
]]>