Giter Site home page Giter Site logo

acf-customizer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acf-customizer's Issues

PHP 8.1

( ! ) Warning: The magic method ACFCustomizer\Core\Singleton::__wakeup() must have public visibility in wp-content/plugins/acf-customizer/include/ACFCustomizer/Core/Singleton.php on line 43

Responses not appearing in the customizer

Hi! First off, obsessed with the plugin!

I'm experiencing one issue. I have some fields that are located in the customizer and an ACF options page. When the fields are filled out in the customizer, saved, and then the customizer is refreshed or opened again, the responses to those fields don't appear. So it looks like they haven't been filled out. The fields are saved in the options page, but it's somewhat confusing for users.

Any ideas why this would be happening? Thank you!

Latest WP and ACF

I'm not sure on which version exactly it stopped working, but it seems like Customizer is not showing up in the Field Group location rules any longer. Does anyone else have this issue?

Not working with ACF 5.9

I just updated to 5.9 and my customizer fields don't work any longer. Any chance you're still developing this plugin? 😀

ACF Color Picker and CSS variable not working in Customizer, but working in Options Page?

Hi. This plugin is amazing but it seems to me that ACF Color Picker is not working / updating CSS variables when defined options page:

  1. I am getting the field value like this
    $primary_color = get_field('primary_color', 'option');

  2. And assigning it like this
    :root { --primary-color: {$primary_color}; }

However, it works if I change the color in the Options Page itself.

What can I do for ACF Color Picker to work in the Customizer?

Thanks.

Bundling ACF Customizer with a theme

Also, bundling with theme seems to work just fine using:
include_once(get_stylesheet_directory() . '/paht-to-plugin/acf-customizer/index.php');

Originally posted by @ermincelikovic in #7 (comment)


I was wrong - unfortunately bundling ACF Customizer with theme does not work.
While the panels are displayed in customizer, they are empty (no fields inside).

Any tips?

Field group should not be saved or shown, if current previewed page does not meet location rules

Hi,
I've create the following customizer section

function AcfCustomizerSections() {
	$panel_id = acf_add_customizer_panel(array(
		'title'        => 'Content',
	));
	acf_add_customizer_section(array(
		'title'        => 'ACF Gallery',
		'storage_type' => 'post',
		'panel'        => $panel_id,
	));
}
add_action( 'init',	'AcfCustomizerSections', 20);

and I've created a field group named Gallery settings with the following location rules

Schermata 2021-04-10 alle 16 29 32

Where Gallery is a custom post type.

I noticed that, when I save changes in customizer, Gallery settings field group is saved into the database even if current previewed page does not meet the location rules of the Gallery settings field group.

I think that this should be prevented and that the entire field group should be hidden in customizer, if the current previewed page does not satisfy the location rules of that field group.

ACF Bundled with theme

When Advanced Custom Fields plugin is bundled with theme, acf-customizer does not work.

I'm not sure if this is something solvable?
While on the topic, is it possible to bundle acf-customizer with theme too?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.