Support » Plugin: Auto Attachments » Show attachment list at top of the page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Serkan Algur

    (@kaisercrazy)

    Hi kerms,

    You can use shortcode feature for this. Add shortcode before your content and image will shown after the title.

    Thank you, this worked just as you described.

    Is there anyway to get it to appear automatically on each post that is created? The posts on my site are created by external users, so they will not know to create the short code.

    Plugin Author Serkan Algur

    (@kaisercrazy)

    Hi kerms,

    I’m glad if it works for you. I can add an option to auto attachments option panel. Also i can add a metabox to new post/edit post area for this . I add this suggestion to my To-Do list 🙂

    If you want to this now, you need to edit plugins’ code.

    Open auto-attachments.php in wp-content/plugins/auto-attachments (make a backup before editing). Go to line 422 (i see 422 in notepad++). You will see insertintoContent function. You will need to edit this function (for single post). Find;
    $content .= get_attachment_icons();
    and change it to;
    $content = get_attachment_icons().$content;

    I think this code changes will work without shortcode.

    Have a nice day.

    GREAT, THANK YOU!! I will wait for the update of the plugin as I trust you to do the update more than myself 🙂

    Plugin Author Serkan Algur

    (@kaisercrazy)

    kerms, i will update plugin ASAP

    WONDERFUL!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Show attachment list at top of the page?’ is closed to new replies.