Giter VIP home page Giter VIP logo

acf-beautiful-flexible's Introduction

ACF Beautiful Flexible

Transform ACF's flexible layouts list into a beautiful popup.

Screenshot Before/After Beautiful Flexible

To use ACF Beautiful Flexible, simply activate the plugin to improve the ACF flexible UI. By default, it uses random images, but the idea is to customize them by adding your own.

Image convention

  • The size of the image should be 366x150 or bigger, into 732x300.
  • They should be named based on the flexible key (push_2_light) with no underscores but dashes (push-2-light.[extension]).
  • The following extensions will be resolved in that order: .jpg, .jpeg, .png and .gif.

Where images should be situated

They should more likely be situated into your theme wp-content\themes\my-theme\assets\acf-beautiful-flexible\. But if you have a child-theme and added images into it, these will overwrite those from parent-theme. The following directories will be solved according to order: plugin's folder, child theme's folder, theme's folder.

Also note that you can filter this path to gather all your images into a same folder:

add_filter( 'acf_beautiful_flexible.images_path', $path );

Finally, you could filter all images like this:

add_filter( 'acf_beautiful_flexible.images', $images );

Requirements

Installation

WordPress

  • Download and install using the built-in WordPress plugin installer.
  • Site activate in the "Plugins" area of the admin.
  • Then add your awesome layouts images.
  • Alternatively add the source.
  • Include "wpackagist-plugin/acf-beautiful-flexible":"dev-trunk" in your composer file for last commits.
  • Then add your awesome layouts images.

Contributing

Please refer to the contributing guidelines to increase the chance of your pull request being merged and/or receiving the best support for your issue.

If you identify any errors or have an idea for improving the plugin, feel free to open an issue or create a pull request. Please provide as much info as needed in order to help me resolve/approve your request.

Credits

I, Maxime Culea, have created this plugin which I only maintain. I do not guarantee some free support. Also, thank others listed in the credits.

Finally, if you really like what I do or want to thank me for my work, feel free to donate, even 1โ‚ฌ is a great gift for buying some coffee :)

acf-beautiful-flexible's People

Contributors

maximeculea avatar

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.