Giter Club home page Giter Club logo

acf-widgets's People

Contributors

daronspence avatar funkjedi avatar tyrann0us avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acf-widgets's Issues

Customizer Support

Try to find a way to get this working, or make it degrade more gracefully.

Add version number to license check

When checking the license, send the current version number in the GET request so we can track who is on which versions through access logs.

Undefined index "update_plugins"

Undefined index for non admin users upon login.

Notice: Undefined index: update_plugins in /Applications/MAMP/htdocs/grell_neu/wp-content/plugins/acf-widgets/includes/admin-setup.php on line 281

Composer Support

Would you be willing to add composer support this project? It would be awesome if you did.

Seeing name of widget if show titles is enabled, even if widgettitle is blank

Hi again - me on the titles thing. I'm having a problem where I have show titles enabled using

add_filter('show_acfw_titles', '__return_true');

But, if the title of the widget is left blank in Appearance > Widgets, the name of the widget itself appears instead. I believe in that instance nothing should appear (that's how it works with other widgets anyway).

For instance, if I create an ACF Widget called "My Pretty Little Widget", with the filter to show titles = true, then drag a new instance of My Pretty Little Widget into the sidebar and leave its title blank, the widget appears in the sidebar with the title My Pretty Little Widget.

I know it's a strange use case because hey, why enable it and then leave it blank? but I know my users will be confused if they leave the field blank and something still appears on the front end. Can you help? Thank you!

Unescaped Characters in widget names

Unescaped characters causing a parse error in the eval code. Escape those for the title and description. Does not affect slug (WP already sanitized) or the ID (int). Possibly filter out invalid characters for code included widgets...

widget_title filter conflict

I use the following function fairly frequently to allow my clients to enter widget titles which will appear in the control panel, but not on the front end of the web site. This allows them to distinguish between 10 versions of a specific widget type (text widgets, for instance) in the Appearance > Widgets control panel, without having all those titles appear on the site. Titles that begin with an ! exclamation point won't show on the front end.

All the function does is look to see if a widget title starts with an exclamation point (!), and if it does, return blank when rendered on the front end.

add_filter( 'widget_title', 'remove_widget_title');
function remove_widget_title( $widget_title ) {
    if ( substr ( $widget_title, 0, 1 ) == '!' )
        return;
    else 
        return ( $widget_title );
}

I've never had a problem with it working in any other widget, but for ACF Widgets it returns empty in the control panel as well as the front end of the site if the title begins with an exclamation point. I've tried various low/high priorities and none seem to help.

Obviously not a biggie, and if you choose not to change the code I understand, but I figured I'd share since the function's never exhibited this behavior before on any native or plugin-added widgets.

Cheers!

Clone field support

I created a field in a field group for pages and and a second field in a field group for a widget. The second field is a clone of the first one.
When I save the widget on the widgets page (wp-admin/widgets.php), the cloned field won't be saved. Can you confirm this?

Edit: I needed to check "Prefix Field Names" to made it work.

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.