Thanks for your positive feedback and for your question. Thanks as well for the link to the bulk rename tool as an example of what you’re after.
Variations on the “incrementing number” idea have come up in earlier topics:
Counter in title for multiple upload images
How to auto-fill TITLE, CAPTION, ALT and DESCRIPTION fields when I upload media
You wrote “bulk attach a set of images to a given post“, which suggests a solution along the lines of this more recent topic:
How to add a number to the title of images inserted in same post?
That topic motivated a couple of new tools in the “MLA Insert Fixit” example plugin, which is part of the current MLA version. In particular, the “Copy values between Parent Post/Page and Media Library (attached) items” tool in that plugin does most of what you want in a slightly different way. If, in your “Coffee x/5” example, “Coffee” is the title of the items’ parent post, you could use the existing tool with a template like [+parent_title+] [+sequence+]/5
. Running the tool on all your posts would fix the attached items without individual bulk edits.
Notice that “/5” is hard-coded in the above template. The existing tool doesn’t have a substitution value that contains the number of items attached to a given post, but this could easily be added. The existing tool edits the Title, but can easily be extended to edit other fields like Caption, Description and ALT Text.
If you want to experiment with the existing tool you can easily install the example plugin. Navigate to the Settings/Media library Assistant Documentation tab and click the “Example Plugins” button. You will see a submenu that lists all the example plugins and gives you a “one-click” action for installing them.
Type “fixit” into the search box and click “Search Plugins”. You are looking for “MLA Insert Fixit” plugin. Find that plugin and hover over the title in the left-most column. Click the “Install” rollover action, then go to the Plugins/Installed Plugins submenu and activate it.
Once that’s done, navigate to the Tools/Insert Fixit screen and scroll down to the “Copy values between Parent Post/Page and Media Library (attached) items” section, where you will find the “Parent to Item Title” tool. You can click the tool to apply it to all of your posts/pages, or you can use the “First Post/Page ID” and “Last Post/Page ID” text boxes at the top of the screen to test it out on one or a few of your posts.
If you prefer the Bulk Edit approach over the more global “fixit tool” approach, something like the [+sequence+]
and total items substitution values could be added to the Bulk Edit area.
Let me know if I am on the right track and whether you prefer the “fixit tool” or Bulk Edit approach. Any additional information you can provide will let me be more specific. Thanks for your interest in the plugin.