Title: Simple tutorial
Last modified: August 21, 2016

---

# Simple tutorial

 *  Resolved [EOSlover](https://wordpress.org/support/users/eoslover/)
 * (@eoslover)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/)
 * Could you write a short tutorial and put it on the main page?
 * 1) How to show a single attachment that has been added
 * 2) How to show all of the attachments
 * [http://wordpress.org/plugins/wp-better-attachments/](http://wordpress.org/plugins/wp-better-attachments/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [EOSlover](https://wordpress.org/support/users/eoslover/)
 * (@eoslover)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/#post-4133693)
 * There is litte to no documentation on how to use this plugin.
 * `<?php echo wpba_get_attachments(); ?>`
 * For example, that displays all of the attachments with featured image. It should
   not do that. Only ones that are attached through WPBA.
 *  Plugin Author [dholloran](https://wordpress.org/support/users/dholloran/)
 * (@dholloran)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/#post-4133792)
 * Have you taken a look at the documentation here [http://dholloran.github.io/wp-better-attachments](http://dholloran.github.io/wp-better-attachments).
   I’ve been wanting to do some screencasts just never can find the time. Technically
   it should output the post thumbnail because if you upload media to a post it 
   is an attachment. I use the default WordPress attachment functionality. This 
   can be disabled in the settings or directly in the shortcodes and functions. 
   Wpba_get_attachments returns an array so to retrieve the first attachment you
   would assign it to a var an do $yourvar[0] and I would suggest using wp_get_attachment_img_src
   or something like that function in the codex.
 *  Plugin Author [dholloran](https://wordpress.org/support/users/dholloran/)
 * (@dholloran)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/#post-4133794)
 * I do agree that the docs could be better that’s why it’s on GitHub so if someone
   wants better docs before I get tine then they can
 *  Thread Starter [EOSlover](https://wordpress.org/support/users/eoslover/)
 * (@eoslover)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/#post-4133797)
 * No problem there, but it shouldn’t be me the one that raises a question on plugin
   usage. I had to remove your plugin, even though I LIKED IT, and replace it with
   regular Attachments.
 * And that only happened because there was no documentation for it. 🙁
 * I really appreciate your time and effort put in this plugin, and I think it could
   be awesome if you took few pointers from other plugin developers.
    Your plugin
   is great for veteran developers, who know they way around PHP/WP, but for entry-
   medium level… Not good.
 * Dont do screencasts, just write a simple example and put it on the homepage.
 *  Plugin Author [dholloran](https://wordpress.org/support/users/dholloran/)
 * (@dholloran)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/#post-4133801)
 * Weird I actually built this because Attachments setup was overly complicated 
   once you got past the basics and I rather use built in WordPress attachments.
   Granted the docs are really good. I think my examples some how got removed from
   the docs I may read add them eventually thanks.
 *  Thread Starter [EOSlover](https://wordpress.org/support/users/eoslover/)
 * (@eoslover)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/#post-4133804)
 * The post you just wrote should be the first paragraph of text in your plugin.
 * I am novice at WordPress but I am veteran design/HTML/CSS/jQuery. So I knew what
   I wanted and where I wanted it.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Simple tutorial’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-better-attachments.svg)
 * [WP Better Attachments](https://wordpress.org/plugins/wp-better-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-better-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-better-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-better-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-better-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-better-attachments/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [EOSlover](https://wordpress.org/support/users/eoslover/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/simple-tutorial/#post-4133804)
 * Status: resolved