• Resolved projectmunton

    (@projectmunton)


    Hi πŸ™‚

    Your plugin seems to be exactly what I am looking for … the ability to assign values to custom fields within my posts … but I have tried multiple ways on entering what I think should be entered but nothing is happens … I guess I am using it incorrectly πŸ™‚

    Can I just check the process …

    I have a custom field which I created using ACF … with a label of “car brands” and the name “car_brand” … with a Field Type of … Taxonomy … and Taxonomy of … post_tag

    In bulk edit fields under posts … I check the post I want to update.

    Then I enter … car_brand … (have tried … car brands … too) into the Custom Field Name

    Then in the Value field I enter the name of the tag … 2012 … for example

    Then when I click … Save Custom Fields … and then go into the Post … the tag has not been selected in the post (it is an existing tag).

    Am I using it incorrectly or missing step?

    Many thanks in advance

    https://wordpress.org/plugins/custom-field-bulk-editor/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author sparkweb

    (@sparkweb)

    I think ACF is probably storing that as something different. Or possibly as a custom field on the taxonomy itself. I think if you go into the database and lookup the fields for the post itself I think it will make it more clear what might be going on.

    Thread Starter projectmunton

    (@projectmunton)

    Thanks for coming back so quick πŸ™‚ No worries I will check it out

    So I am using the plugin, in the way you designed it, in the right way?

    Thread Starter projectmunton

    (@projectmunton)

    Hi πŸ™‚

    Just one last question … I have checked the database and I can see the meta key field and the meta value for the custom field I want to update.

    When I enter in details into your plugin fields … a change is reflected in the post, but it breaks the field in the post, but it seems to be with the meta_value.

    DB stuff is something completely new to me … I can see what is happening … but not sure how to make an effective update … could you point me in the right direction, I would be very much appreciated πŸ™‚

    The custom field has a meta_key of playlist_id … if I add a playlist item to the field (in the post itself) … I see the meta_value attached is ….

    a:1:{i:0;s:2:”96″;}

    where “96” is the id number of the playlist.

    If I remove that playlist and re-save the post … so the meta value is empty … then I go to your plugin and enter a “custom field name” of the meta_key (playlist_id) and enter the “value” of

    a:1:{i:0;s:2:”96″;}

    for the post I want to update … when I save the custom field … the meta_value appears in the db as

    s:19:”a:1:{i:0;s:2:”96″;}”;

    What would I need to enter in your “value” field … so that a value of … a:1:{i:0;s:2:”96″;} … appears in the meta_value in the db?

    If you need any more information, please let me know
    Many thanks again in advance πŸ™‚

    Plugin Author sparkweb

    (@sparkweb)

    It looks like what is going on is that the plugin is using serialized data in the value. Serialized data is a lot harder to edit it and if you make a change to the length of a string, it will destroy the whole value. If you knew what it was, you could possibly use the plugin to change it:

    a:1:{i:0;s:2:”96β€³;}

    to

    a:1:{i:0;s:3:”100β€³;}

    The s:x is the length of the string.

    If you are just doing straight values, this plugin works a lot better for you.

    Thread Starter projectmunton

    (@projectmunton)

    Hi … thanks again for coming back to me πŸ™‚

    This area is getting a bit out of my depth, for what I know of it now … not sure if I will be able to figure out how to get it work for my configuration … soon anyway πŸ˜‰

    I will give it a go … hopefully I crack it πŸ˜‰
    Thanks again!

    How do I use this plugin!? Can’t see anything changed after installing it … !?

    • This reply was modified 6 years, 10 months ago by blaasvaer.
    Plugin Author sparkweb

    (@sparkweb)

    Try going to Settings > Custom Field Bulk Editor and enabling it for the post type you want. Then you’ll be able to see the option under your desired post type section.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using it correctly?’ is closed to new replies.