Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter EOSlover

    (@eoslover)

    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

    (@dholloran)

    Have you taken a look at the documentation here https://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

    (@dholloran)

    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

    (@eoslover)

    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

    (@dholloran)

    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

    (@eoslover)

    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.