Support

Account

Home Forums Search Search Results for 'customizer'

Search Results for 'customizer'

topic

  • Unread

    FSE templates settings panel

    template panels: part of the theme options pages that were controlling a specific template eg . the template of a single course template or author page etc

    In the classic themes we were using the redux or plugins like ACF to create panels to control the template options

    now in FSE with Gutenberg, we have a tab in the right sidebar (which contains two tabs one for the block control which is now the ACF but its’ form, and the other tab that shows the info of the current template )

    So what I suggest: ACF enables us to create a form in this tab, so we can use this setting in our blocks as a general/global settings

    imagine you open a template
    and you set its settings in the live editor, add its components in the live editor
    imagine how much we can use this in creating advanced themes with good and easy control without leaving everything to the end user ( who doesn’t want to make a lot of choices and always wants it as simple as possible )
    it will be a mix of all the advantages of classic customizer + Gutenberg FSE and old theme panels 🙂 WOW

    screenshot of classic theme panels: https://prnt.sc/uFISqlsWyF7-
    screenshot of the current FSE template panel sample: https://prnt.sc/Ec40KKSiEY4Y
    screenshot of the place I think it’s ideal: https://prnt.sc/X9sSAbOmrPiZ

  • Helping

    Deprecated after update the php 8.2

    Hello, recently I have updated my website from WordPress 4.2 to 6.2 and PHP version from 5.2 to 8.2.4 After updating, ACF (Advanced Custom Fields Pro) is not working properly. It is showing that many fields are deprecated. Please assist me in resolving this problem.

    Deprecated: Creation of dynamic property ACF::$fields is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\fields.php on line 138

    Deprecated: Creation of dynamic property acf_loop::$loops is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\loop.php on line 28

    Deprecated: Creation of dynamic property ACF::$loop is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\loop.php on line 269

    Deprecated: Creation of dynamic property ACF::$revisions is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\revisions.php on line 387

    Deprecated: Creation of dynamic property acf_validation::$errors is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\validation.php on line 28

    Deprecated: Creation of dynamic property ACF::$validation is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\validation.php on line 215

    Deprecated: Creation of dynamic property acf_form_customizer::$preview_values is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\forms\form-customizer.php on line 28

    Deprecated: Creation of dynamic property acf_form_customizer::$preview_fields is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\forms\form-customizer.php on line 29

    Deprecated: Creation of dynamic property acf_form_customizer::$preview_errors is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\forms\form-customizer.php on line 30

    Deprecated: Creation of dynamic property ACF::$form_front is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\forms\form-front.php on line 600

    Deprecated: Creation of dynamic property acf_form_widget::$preview_values is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\forms\form-widget.php on line 34

    Deprecated: Creation of dynamic property acf_form_widget::$preview_reference is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\forms\form-widget.php on line 35

    Deprecated: Creation of dynamic property acf_form_widget::$preview_errors is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\forms\form-widget.php on line 36

    Deprecated: Creation of dynamic property ACF::$admin_tools is deprecated in C:\xampp\htdocs\wordpress\wp-content\plugins\advanced-custom-fields-pro\includes\admin\admin-tools.php on line 282

  • Solving

    ACF Widgets not called/displayed on front-end in WordPress 5.9.3

    ACF widget content was being displayed fine, but after updating to 5.9.3 nothing is displayed on the front-end.

    It still works in the admin and allows field values to be saved etc. (using Classic Widgets plugin)

    I have noticed that the function IS called when viewing front-end via Appearance > Customizer

    ACF Pro 5.12.2

  • Solving

    Write an ACF Image to the WP Site Logo and Site Icon

    I’m building a “site customizer” page with various site settings easily accessible and editable from a single area (also to be accessed by Editors, in addition to full admins)

    I’ve got simple text things such as the Site Tile, Tagline and even Timezone figured out by using update_options.

    // Update WP Site Options
    update_option('blogname', get_field('platform_title', 'options'), true); // Write custom Site Title
    update_option('blogdescription', get_field('platform_subtitle', 'options'), true); // Write custom site Sub-Title Tagline
    update_option('timezone_string',get_field('platform_timezone','options'), true); // Write custom timezone 
    
    update_option('custom_logo',get_field('platform_logo','options'), true); // Update Site Logo
    update_option('site_icon',get_field('platform_favicon','options'), true); // Update Site Favicon / Icon

    I know the “update_option” function written like above probably isn’t correct for images. I’m just not sure if/how to write an ACF image field into the WP Logo and Icon fields.

  • Solved

    Blocks Not Showing Up on New Gutenberg Widget Screen

    I’m currently testing some ACF blocks with the Gutenberg plugin. Everything’s working fine except with the new widget screen. The ACF blocks don’t show up at all. They do, however, show up in the Customizer, but the settings don’t show, and when you save your changes and go back to the widget screen, I get the “Your site doesn’t include support for the block” error. Has anyone else run into this? I can’t tell if I’m doing something wrong or if it’s a bug.

  • Solving

    ACF field in widget doesn't load value

    Hi there,

    I have been experimenting with widgets lately and I tried adding an image field to a widget.
    The field shows up in the customizer but the value doesn’t seem to load. I theorized it could have something to do with including a template inside the widget and adding the ACF fields to that template (I prefer doing it this way as it organises my files better, having the HTML sitting in functions.php like that doesn’t feel… Let’s say “elegant”). Although, when I did add the html to the functions.php directly, I seem to have the same problem.

    Am I missing something?

  • Unread

    ACF for Live Customizer and Custom widgets.

    Hello.

    ACF is day saver plugin for developers. I am using this plugin on my every WordPress project. It saves many times for me. Today if read about ACF Blocks for Gutenberg. I am very exited this news.

    Dear ACF team please add “Live Customizer” and “Custom Widgets” support feature in future. Those features will save my developers time.

    Thanks.

  • Unread

    Customizer in WP Network failing to load

    Hi!

    I’m playing around with acf and gutenberg and wordpress networks.
    But I’ve stumbled upon a strange bug.

    Locally I have a wordpress setup without a wp-network and there my custom theme works with it’s customizer stuff.

    But when I upload the theme to my server where I’ve enabled a wordpress network the customer ui doesn’t load.

    I’m getting this error

    acf-blocks.js?ver=5.8.0-beta2:138 Uncaught TypeError: Cannot read property ‘registerBlockType’ of undefined
    at acf.registerBlockType (acf-blocks.js?ver=5.8.0-beta2:138)
    at Array.map (<anonymous>)
    at Object.acf.registerBlockTypes (acf-blocks.js?ver=5.8.0-beta2:73)
    at acf.Model.initialize (acf-blocks.js?ver=5.8.0-beta2:158)
    at acf.Model.t (acf-input.min.js?ver=5.8.0-beta2:1)
    at u (acf-input.min.js?ver=5.8.0-beta2:1)
    at Object.i (acf-input.min.js?ver=5.8.0-beta2:1)
    at Object.c.doAction (acf-input.min.js?ver=5.8.0-beta2:1)
    at HTMLDocument.<anonymous> (acf-input.min.js?ver=5.8.0-beta2:1)
    at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-dragg&load[]=able,jquery-ui-droppable,backbone,wp-backbone,wp-ajax-response,jquery-color,wp-lists,postbox,nav-menu,shortcode,utils,media-mode&load[]=ls,moxiejs,plupload,wp-plupload&ver=4.9.8:2)

    When I debug the code, the thing that is failing is this line

    // register
    var result = wp.blocks.registerBlockType( blockType.name, blockType );

    wp.blocks is undefined which causes the whole thing to blow up.

    Could it be that wp network is somehow changing the priority of the included scripts which is causing the problem?

  • Solved

    Global header/hero slideshow (using gallery field)

    I would like to create a global header/hero slideshow that is shown on all pages of the site. I thought about using the gallery field within the theme customizer but read that it isn’t possible to use ACF there. What would be the best way to create such functionality?

    I really just need this one instance with one field where I can select multiple images from the media library; I don’t need one of these bloated slider plugins, I’m gonna create the slider functionality myself. Any ideas?

  • Solving

    ACF Blocks, similar functionality for the customizer?

    Hi, I read about the introduction of ACF Blocks in your blog. That is just perfect for a “softcore” developer like me. I’m really looking forward to exporing the use of it.

    It made me think though that would be great if such functionality would be available for the customizer too. So that it would be easier to set up sitewide changes through the customizer for clients.

    Would this be something ACF could develop? Or is this out of scope?

    Or maybe there is already some tool out there doing something like that?

    Let me know and keep up the good work 🙂

    thanks Han

  • Unread

    widgets & visual composer lite

    bummer, just tested custom widgets w/ acf fields and – fields aren’t showing in visual composer lite. then, checked with other default wp widgets, result is the same.

    just to mention, those fields are visible in wp customizer.

  • Helping

    Problem adding ACF to Variable Product

    Hello, we are having issues trying to add a unique ACF per each variable product.

    Our product: “Product A – Variable Product.” This product has 4 different variations, and we would like to add unique ACF depending on that product variation.

    Within our custom fields tab I created a new custom field, field group, and label, I then selected; “Show this field group if post is equal to product_variation Product A – Variable Product.” Doing so did NOT add the custom field to our products admin page. Previously we have used; “post type is equal to product” which works great, but can not be used in the variable product situation.
    ———————-

    More background:
    Currently, we are using AFC to aid in our WooCommerce Email customizer, and it is working great. The email is printing out AFC data in accordance to the product that is purchased (see code below).

    <?php
    $product_idMe = $item->get_product_id();
    $fields = get_field_objects($product_idMe);
    if( $fields )
    {
    foreach( $fields as $field_name => $field )
    {
    echo $field[‘label’];
    echo $field[‘value’];
    }
    }
    ?>

    ———–
    Goal: To add unique ACF to variable products, and print out the data into an email (like we are doing already doing, but now with the variable products unique ACF).

    Please let me know if you need any clarification, a client of ours is trying to launch their website with this feature working.
    -Thanks, Michael P.

  • Helping

    Remove buttons from Editor's Text mode

    Hi Guys,

    I am using the editor field in a widget which i add via the Customizer and i am trying to change the buttons output from the Text mode using the ‘quicktags_settings’ filter:

    function filter_editor_quicktags( $qtInit ) {
       $qtInit['buttons'] = 'strong,em,block';
       return $qtInit;
    }
    add_filter('quicktags_settings', 'filter_editor_quicktags');

    This code changes the buttons in the editor across the whole admin: posts, pages and widgets.

    Is there a way to use this code, but target only the ACF editor field?

  • Solving

    Changing the order of layouts in a flexible content field with PHP

    Is there a way to reorder the layouts in a flexible content field using PHP? Can update_field() be used for this?

    The reason for this is that i would like the users to be able to reorder content inside of a flexible content field on my website from the front end or the customizer.

  • Solved

    Pre-populating drop-down choices

    I have a custom dropdown field that I would like to pre-populate within options from the admin Customizer, I am using the Kirki Toolkit to create the options in the Customizer adding them into a single textarea field/variable each option separated by a comma like;

    option_1,option_2,option_3

    I then have access to this as a single variable, how can I use this to populate a custom field, I have seen this article

    https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/

    but it is in reference to the options page created by ACF, so I am not sure how to add for example choice_1 as;

    choice1 => Choice 1

    Any help is greatly appreciated.

  • Solving

    Front-end/live editing via WordPress 4.7 customizer

    So front-end editing of AFC fields has always been a bit of a pipe dream for me. There’s a few helpful plugins our there but nothing that I’d be comfortable deploying to a client site at the moment.

    As of WordPress 4.7, there’s going to be some “live” editing available via the Customizer interface: https://wptavern.com/visible-edit-shortcuts-in-wordpress-4-7-makes-customizing-sites-easier. I for one would love to see if it’s possible to leverage this to edit AFC fields.

    Any thoughts?

  • Solved

    Using ACF as Customizer > Header substitute

    This is probably silly, but for some reason I’d quite like to set up my ACF options page as a Customizer > Header substitute.

    Ideally, I’d be able to display 4 rows of 5 thumbnails each for background images, and the client could then easily select one, e.g. using a radio button.

    Using an “image” field does sort of work, but is less than ideal, as it does not really give a nice overview of all the available images.

    Is there a clean way to do something along those lines in ACF, and I’m just missing it?

  • Solving

    Gallery field issues when added to Widget

    Hi Elliot,

    I’m using ACF PRO. Using the conditional logic i add the Gallery field into a widget. While doing it i have found one UI and one functionality issue.

    1. UI

    a. On regular Widgets page: When clicking on the image to edit it, the Close button is invisible. See attachment 1.

    b. In Customizer: When i add this widget and then click on image to edit, the whole interface slides to negative left and the Close button is not visible as well. See attachment 2.

    2. Functionality

    Still in Customizer, after i done editing i hit the “Save & Publish” button, everything is saved. Then i come back and add more images into the gallery, but now the Customizer does not recognize that any changes were made and therefor the “Save & Publish” button remains in not active state and still says “Saved”.

  • Helping

    Gallery issues when added to Widget

    Hi guys,

    I’m using ACF PRO. Using the conditional logic i add the Gallery field into a widget. While doing it i have found one UI issue and one functionality issue.

    1. UI

    a. On regular Widgets page: When clicking on the image to edit it, the Close button is invisible. See attachment 1.

    b. In Customizer: When i add this widget and then click on image to edit, the whole interface slides to negative left and the Close button is not visible as well. See attachment 2.

    2. Functionality

    Still in Customizer, after i done editing i hit the “Save & Publish” button, everything is saved. Then i come back and add more images into the gallery, but now the Customizer does not recognize that any changes were made and therefor the “Save & Publish” button remains in not active state and still says “Saved”.

    Edit: I have not noticed the Bug Report forum at first. Added this topic there.

  • Solving

    Issues reordering repeater fields in widgets in the customizer

    If you rearrange repeater rows in widgets in the customizer, then all rows vanish except for the first row during the selective reload. However, content and order stay intact when saving and returning to the normal view.

    Thanks!

  • Solving

    Issues adding new widgets with ACF fields in the customizer

    So, I have been playing around with the customizer the past few days and for the most part the ACF integration is great. However, here is my situation:

    IF a widget with ACF fields already exists, the content stored in ACF fields will update in the customizer in real time perfectly.

    IF a widget with ACF fields is added in the customizer, then the ACF fields in that specific widget will not update in realtime UNTIL I save and relaunch the customizer.

    This is happening for custom made widgets, and widgets modified with the dynamic_sidebar_params filter.

    Anyone get around this yet?

  • Solving

    ACF Pro Fields in Widget and Customizer

    Hey guys,

    I can only get widget fields created with acf pro to ajax refresh once in WP Customizer, am i the only one? any one have had this problem and solved it? Would love some help, im sure it’s an easy thing. ACF Pro 5.1.0 and up should work well with the customizer unless i missunderstood it completely.

  • Solved

    Willing to pay for Question on Advanced Custom Fields

    Hi guys, I’m looking for someone who is willing about an hour of his time, for a maximum of $ 100 to offer support on skype / email on some issues of ACF and WordPress in general. So I look for a good developer.

    In this case I would like to explain this:

    How to save individual pages options that I create. I noticed that by default saves all pages simultaneously existing options.

    Create a theme that supports properly a subject Child. At present, I do not understand why, come out errors php.

    How to set the output of the theme customizer in an external CSS file and not nel’head.

    I need these three points. I’d also over time, if possible, always paying in advance, someone who can from time to time to answer my questions. I will not work, but only answers to questions.

    Thank you in advance anyone available for this offer.

    regards,
    Davide

  • Solving

    Integration with WP Theme Customization API

    As of a year ago, “The ACF plugin does not integrate with the WP theme customizer.”

    Has anything changed since then? How far are we from being able to get this to work? Does anyone else think this would be useful? Anyone familiar enough with both ACF and customize.php to comment on how much work we are up against?

    If there is support in the community and from Elliot, I would like to be part of team to put together a plugin to make this happen.

    Thoughts?

  • Solved

    V5 and theme customizer

    Hi Elliot,
    Could it be possible to have the ACF page options and theme customizer work together?
    If not, will ACF v5 be going in this way or will it simply be not compatible at all?
    Thank you.

Viewing 25 results - 1 through 25 (of 58 total)