WordPress.org

Ready to get started?Download WordPress

Forums

EG-Attachments
Include/Exclude by ID (5 posts)

  1. Joe Banks
    Member
    Posted 2 years ago #

    I've reviewed your documentation and I haven't yet found the following:

    Is it possible to include and exclude attachments by ID as with the gallery shortcode?

    include="33,44" or exclude="666"

    Bonus: Include/exclude by type (PDF)

    This plug-in is incredible!

    http://wordpress.org/extend/plugins/eg-attachments/

  2. IndraWP
    Member
    Posted 1 year ago #

    I resolve this by adding the shortcode with :

    docid="id of your document,id of your document,"

  3. IndraWP
    Member
    Posted 1 year ago #

    this is the sampe of script i used :
    [attachments label=doctitle fields="title,filename,size" title="Undang-Undang Dasar" titletag="h4" limit=2 docid="400,401,"]

  4. EmmanuelG
    Member
    Plugin Author

    Posted 1 year ago #

    Hi

    I am preparing a new version where docID is replaced by the two parameters include, and exclude.

    You can test the beta by downloading the beta version.

    Emmanuel.

  5. PeterWillard
    Member
    Posted 1 year ago #

    This is such a useful plugin! I am anxiously waiting for the exclude option :) Excellent addition!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic