Greetings,
I would search for it in this file assets/js/wpba-media-handler-new.min.js if it is the button for the media modal this will update it. I have been slowly rewriting this plugin so I will add this to the list of things I want to include. Please let me know if you have any more issues.
Thanks,
Dan
hey dan,
thank you – this is working great for the media lightbox!
i got one and a further quest to solve.
1. i need a solution for the 2 “add attachments” buttons (one above the textfield and one in the custom field).
i tried to edit wp-better-attachments/classes/class-wpba-meta-box.php
in line 56 and 58 but the changes are not showing up in the backend.
2. also it would be cool to hide the first button when wp-better-attachments is disabled for a post. i use the cool setting to show it only in one page via the page-slug, which works for the custom field but not for the “add attachment” button on top of the content editor. it’s showing up on every page.
it would be cool to have all of this included in the next upcoming update 😉
thomas
I do not have the plugin on this computer at the moment I would probably just do a full project search in your editor of choice for the button text and you should be able to find it. I am planning on allowing pretty much every single section of the plugin to be filterable, I may be moving off of the huge settings page not sure its where I am kind of stuck and its extremely boring but yes it will be changable in a future release.
Thanks,
Dan
hey dan,
i found and changed a couple of “add attachments” entries.
for the first button change:
classes/class-wp-better-attachments.php (really changes button)
for the second button change:
classes/class.wpba-meta-box.php (has an entry)
classes/class-wpba-meta-box.php (really changes button)
for the media button change:
assets/js/wpba-media-handler-new.js (has an entry)
assets/js/wpba-media-handler-new.min.js (really changes button)
in class.class-wp-better-attachments.php i delete line 147 completely, so the first button on top of the content editor won’t even show up (i can live with that).
now everything just works great!
telemarker