• Stars
    star
    241
  • Rank 167,194 (Top 4 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created about 13 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[WordPress Plugin] Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types

This is a WordPress plugin. Official download available on WordPress.org.

Attachments

Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types

Philosophy

Attachments is a code-focused plugin; there's no configuration UI out of the box. This was an intentional move based on personal preference that offers a number of other benefits, primarily the ability to version control your configuration without having to worry about the database aspect.

Attachments is based on the concept of Instances. An Attachments Instance can be thought of as a meta box on an edit screen. Each Instance can have various attributes that control the file types allowed, the fields for each asset, and the number of assets you're allowed to attach for example. Understanding this is fundamental to understanding the configuration and usage as the name is used both to define each Instance and retrieve it's data. Once you've got your mind around that, implementation should be a breeze.

Attachments UI

Some people prefer an interface whenever possible. To accommodate those developers, Attachments has an extension called Attachments UI. Using this plugin, you don't have to write any code at all to define your Instances, and it even tosses out a customized code snippet tied directly to the Instance you just generated. It's a great way to get up and running very quickly. Further, there's also the option to auto-append your Attachments Instance assets to the_content() using an easy templating language.

Documentation

There's quite a bit of documentation available. I would suggest checking out the Table of Contents first. The primary segments of documentation are:

Main Screenshot

This is an Attachments Instance on a Post edit screen. The fields are fully customizable and you can have as many Instances as you'd like, anywhere.

Attachments on an edit screen

View other Screenshots

More Repositories

1

searchwp-live-ajax-search

[WordPress Plugin] Enhance your search forms with live search (utilizes SearchWP if installed)
PHP
105
star
2

hierarchy

[WordPress Plugin] Move your Pages/Posts/Custom Post Type admin links from the sidebar to a Content menu that nests everything where it should be
PHP
95
star
3

menu-breadcrumb

[WordPress Plugin] Generate a breadcrumb trail from a WordPress Menu
PHP
20
star
4

parcel-vue-bundler

Starter WordPress plugin utilizing Parcel to bundle your Vue application
PHP
18
star
5

duplicate-menu

[WordPress Plugin] Easily duplicate your WordPress menus with one click
PHP
18
star
6

cms-tree-page-view

JavaScript
17
star
7

cfs-options-screens

[WordPress Plugin] Automated options screens powered by Custom Field Suite (CFS)
PHP
13
star
8

searchwp-modal-search-form

[WordPress Plugin] Easy modal search forms for WordPress
PHP
12
star
9

JavaScript-Tools-Coda-Plugin

PHP
11
star
10

CSS-Tools-Coda-Plugin

PHP
9
star
11

linkmarklet

[WordPress Plugin] An alternative to Press This! for rapid linkblogging
PHP
8
star
12

widget-image-field

[WordPress Plugin] Creates an image field for use in your own Widgets
PHP
7
star
13

template-map

[WordPress Plugin] Automagic mapping of Page Templates to post IDs to facilitate better dynamic link generation and deciphering context
PHP
7
star
14

postmark-open-to-edd-customer-note

[WordPress Plugin] Add EDD Customer Note when Postmark-delivered emails are opened
PHP
3
star
15

cfs-single-post-object

[WordPress Plugin] Custom field type for Custom Field Suite to allow choosing a single post object
PHP
2
star
16

cfs-yoast-analysis

PHP
2
star
17

wpseo-pinterest-rich-pins-woocommerce

[WordPress Plugin] Add Pinterest Rich Pin data to WooCommerce Product Pages via WordPress SEO
PHP
2
star
18

SketchPress

Sketch template for quickly creating awesome WordPress admin interface mockups
2
star
19

Franklin-Street-Theme

The Wordpress theme for Some Random Dude
PHP
2
star
20

cfs-hyperlink

The Hyperlink Add-on for Custom Field Suite
PHP
1
star
21

bbpress-mark-topic-as

bbPress extension to allow flagging a Topic as anything you want
1
star
22

cfs-icon-from-font-field

PHP
1
star
23

relief-splash-page

[WordPress Plugin] Add a splash page to encourage donations for disaster relief
PHP
1
star
24

iti-customizations

Baseline client site customizations
PHP
1
star
25

new-user-password-reset

[WordPress Plugin] Automatically issue a password reset after creating new User accounts
PHP
1
star
26

iti-content-types

[WordPress Plugin] Helper class for setting up CPTs and Taxonomies
PHP
1
star