Git Product home page Git Product logo

acf-post-type-selector's People

Contributors

davidwebca avatar emaildano avatar erezmus avatar freddyfy avatar gnowland avatar maartenhunink avatar mcaskill avatar oxyc avatar shaunbent avatar timperry 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

acf-post-type-selector's Issues

Wrong URL

For some reason, your plugin (and not other acf plugins) started giving me a wrong URL for input.css and input.js.

Look at line 43 to 45

It seems that the full path of the server gets pushed in the 'dir' parameter which messes up the enqueue styles and enqueue scripts later on in the code.

I just want to add that the plugin was working fine one day and the other day not, so it might have to do with a param on my server or something like that, but I just wanted to put it here in case someone gets the same problem.

Improve post type labeling

For example, if two post types share the same label name it becomes difficult to differentiate the two without looking at the values of each post type.

I suggest using acf_get_pretty_post_types(), which is what ACF uses for its relational field types (Post Object, Page Link, Relationship). The function handles label conflicts by appending the post type key to the label.

Don't work!

Nothing works and the readme file is a old one ... DONT USE!

Drop support for ACF v3?

I was thinking about dropping support for ACF v3.

Reasons: The latest release from the v3 branch is dated back to 2013-11-22, futhermore, @elliotcondon announced to update the free version to v5 over the course of 2018 (elliotcondon/acf@d398b0f644e60ab5713714ad586df3aca30b36d4, blog post).
On the WordPress plugin page, v3 is not listed in the "Active Versions" section.

Given these facts, I'm pretty sure there are very few installations running v3 and it's save to remove support for it.

What do you think? Any feedback is appreciated!

This would also affect #21.

Add for attribut to labels and id attribut to inputs

Hi,
when using radio boxes (not tested with checkboxes) clicking a label doesn't select the corresponding input.
Simply add a combination of for and id attributes to the label and input elements to make it working,
Thanks!

Is it possible to add multiple select

Is it possible to add support for multiple select? I know, that I can achieve same from checkboxes, but if you have many post types it would be more user friendly.

Transfer ownership?

Hi @TimPerry,
since you're "out of WordPress", have you thought about transferring ownership of this repository?

I'd be willing to overtake it.

Doesn't work any more

Adding it to a post results in the following error:

Fatal error: Uncaught Error: Call to undefined function acf_force_type_array() in /srv/www/mvm/public_html/wp-content/plugins/acf-post-type-chooser-master/acf-post-type-chooser-v5.php:158 Stack trace: #0 /srv/www/mvm/public_html/wp-includes/class-wp-hook.php(286): acf_field_post_type_chooser->render_field(Array) #1 /srv/www/mvm/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /srv/www/mvm/public_html/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #3 /srv/www/mvm/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php(105): do_action_ref_array('acf/render_fiel...', Array) #4 /srv/www/mvm/public_html/wp-includes/class-wp-hook.php(286): _acf_apply_hook_variations(Array) #5 /srv/www/mvm/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /srv/www/mvm/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #7 /srv/www/mvm/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions in /srv/www/mvm/public_html/wp-content/plugins/acf-post-type-chooser-master/acf-post-type-chooser-v5.php on line 158
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

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.