Hi – here is the way I do it.
1. Create an option page – something like “Theme Settings”
2. Add Fields for each css style I need
3. Group them in tabs for for mobile/tablet/desktop/HD
4. Define a hook which is fired once the option page is updated
5. The hook is generating a css file / it updates the css file
6. include the css file in your theme in function.php
If you want to go more advanced. Create a vars.less (I am using less and uikit) and compile the css with a less compiler, after the option page is saved. Like this I only load one css file
Started over again and now it works. Thanks for the help! *magic*
It works. Where can be the mistake in my theme? Where to start hunting the bug?
That was the one loaded by WordPress – I updated it now to version 3.1.1 and still no change. ??
Hello, I have the same problem. I checked already everything above
– acf_form_head() placed before <html>
using WordPress 4.7.2. with jQuery 1.12.4 and ACF 5.5.9
with UIKIT 3.0.0-beta.12
There are no errors in the log.console.
The acf-tab-wrap and ul.acf-tab-group is not being rendered
I already disabled the uikit js files and css files
no success so far
any ideas?
One Question – why is the acf_form() two times in the editform.php template?
Somehow my forms are not saving (I am using the acf_form_head(); function)
Thanks – will try it out tonight
I also would like to create a “Dashboard” Page for each user and would like to list his posts which he can edit.
I have the WordPress Front End User Pro and I already created the login and the dashboard page. Now I would need the links to ACF Edit Forms for each post and posttype.
(and no – I don’t want to use the WPFront End User Pro Forms as they do not support galleries)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.