Aquesta extensió no s'ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s'usa en versions recents del WordPress.

WP Better Attachments

Descripció

Allows you to add/edit/attach/un-attach/delete/sort the files attached to your WordPress posts all from the post editor. Integrates seamlessly with WordPress using the default WordPress attachments type, full control over cropping of the different attachment image sizes crop editor and no configuration needed to add WP Better Attachments to custom post types.

Shortcodes

  • Information on the settings available here
  • [wpba-attachment-list] Outputs a list of attachments

Functions

  • Information on the settings available here
  • wpba_attachments_exist() Checks for post attachments
  • wpba_get_attachments() Retrieves an array of attachments
  • wpba_attachment_list() Outputs a list of attachments

View more information on GitHub here

If you have any issues please submit an issue.

1.3.3

  • Added wpba_attachments_exist() to check if a post has attachments.
  • Added no attachments message for attachment list.
  • Fixed wpba_get_attachments() not retrieving post thumbnail images correctly.
  • Added settings to disable front end files, post thumbnails globally, and crop editor.
  • Fixed compatibility issue with Wysija Newsletter Plugin.
  • Fixed other miscellaneous issues and general clean up.

1.3.4

  • Fixed activation error

1.3.5

  • Added alternate styling of meta box when editor is not activated.
  • Fixed attachment list generating extra list items
  • Added class and id parameters for each HTML element in the attachment list

1.3.6

  • Code cleanup and PHPDoc
  • Fixed metabox inputs not selectable in Firefox
  • Added granular settings
  • Added edit modal, un-attach link and re-attach link to Uploaded To column
  • Added ability to edit metabox title
  • Fixed crop editor not showing correct image sizes

1.3.7

1.3.8

1.3.9

  • Adds survey notification key
  • Adds filters for types of files
  • Removes Flexslider from compiled CSS
  • Miscellaneous tweaks

1.3.10

  • Fixes an issue with notifications not able to disable on sub folder installs.

1.3.11

  • Added use_caption_for_title to build_attachment_list function/shortcode. Props Mike Warwick.
  • Added a second add attachments button to the bottom of meta box. Props Mike Warwick.
  • Fixed undefined variable PHP warning.
  • Updates the survey notification with thank you message.

1.3.3

Should resolve issues from last update and adds more settings control

1.3.4

Fixed activation error

1.3.5

Fixed attachment list generating extra list items, Added alternate styling of meta box when editor is not activated and class/id parameters for each HTML element in the attachment list function/shortcode.

1.3.6

Added granular settings; edit modal, un-attach link and re-attach link to Uploaded To column, miscellaneous bug fixes

1.3.7

1.3.8

1.3.9

Adds filters for adding file types, removes Flexslider from CSS and miscellaneous tweaks.

1.3.10

Fixes an issue with notifications not able to disable on sub folder installs.

1.3.11

Adds use_caption_for_title option to build_attachment_list, adds “Add Attachments” button to bottom of meta box, and misc. fixes/updates.

Captures

  • Post editor button
  • The meta box
  • The added un-attach link in the media library
  • The attachment edit modal
  • The attachment editor
  • The [wpba-attachment-list] shortcode

Instal·lació

  1. Upload wp-github-recent-commit to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to any page/post/custom post type and start editing your attachments with ease.
  4. Use the add attachments button to add new attachments.
  5. You can Drag and drop your attachments to arrange their menu order.
  6. Click the Un-attach link to un-attach the file from your post.

PMF

None so far… If you have any issues please submit an issue or fix it/submit a pull request I will try to handle it ASAP. You an also contact me at support@danholloran.com.

Installation Instructions
  1. Upload wp-github-recent-commit to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to any page/post/custom post type and start editing your attachments with ease.
  4. Use the add attachments button to add new attachments.
  5. You can Drag and drop your attachments to arrange their menu order.
  6. Click the Un-attach link to un-attach the file from your post.

Ressenyes

3 de gener de 2017
Doesn't create its own attachment type, just allows to better administrate the existing wordpress attachments, exactly what I wanted, thanks very much !
18 de desembre de 2016
Plugin is awesome, exactly what I needed for my project
7 de setembre de 2016
Excellent plugin. Full customable. Developer Oriented. I just want to comment that the documentation could be a little bit better. Congrats!
3 de setembre de 2016
This plug in works as expected- Perfectly! Well, almost perfectly. After uploading a document, one has to put the required shortcode [wpba-attachment-list] in the post edit window in order to display the attachment on the page view. To work around this and make sure that attachments show up automatically, except when there are none, I put the following code in the 'content-single.php' template: <?php echo do_shortcode('[wpba-attachment-list open_new_window="true" no_attachments_msg=" "]'); ?>
Llegiu totes les 29 ressenyes

Col·laboradors i desenvolupadors

«WP Better Attachments» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

Registre de canvis

1.0.0

  • Initial Release

1.0.1

  • Added support for other file types

1.1.0

  • Added attachment editor pop-up window to access attachment editor from posts page
  • Added Re-attach link to media library
  • Added delete link to each attachment in the post editor
  • Added file names for no image attachments
  • Miscellaneous cleanup

1.2.0

  • Added attachment title edit
  • Added attachment caption edit
  • Added ability to disable post types through settings
  • Added ability to disable parts of the meta box through settings

1.2.1

  • Fixed issue with settings not being an array

1.2.2

  • Fixed Un-attach/Delete links not updating attachment list
  • Fixed issue with adding files to a post from the media uploader
  • Removed support WordPress version < 3.5
  • Fixed updating of title and caption edit
  • Added setting to disable thumbnails in attachments list
  • General code cleanup

1.3.0

  • Added crop editor to media editor
  • Misc. cleanup and bug fixes

1.3.1

  • Fixed over generic selector for settings navigation

1.3.2

  • Attachment list shortcode/function
  • Improved inline title caption editor saving
  • Misc. style cleanup
  • Misc. cleanup