Forums

[Plugin: WP Publication Archive] Uploaded files not showing (4 posts)

  1. nvisioncurtis
    Member
    Posted 7 months ago #

    Hello,

    I am having issues displaying uploaded documents on a public facing page.

    Below are the steps I have taken.

    • The plugin installs and activates without issue.
    • I have created a category and publication and I am able to uploaded and see a preview after the upload is finished 'Crunching...'
    • I can confirm that the files are uploaded via the MEDIA tab of WP Control Panel and, I attempted to Attach' to a page via the MEDIA TAB
    • The short code used does print out this.

      My Documents
      (September 22, 2011)
      Categories: My Documents

    • I have tried two different short codes
      [wp-publication-archive categories='my-documents']
      [wp-publication-archive]

    Questions: How are documents linked to a category or publication? Can this be verified from the control panel?

    When uploading I would assume it is linked to the publication automatically. Afterwards there is no indication of how to view which documents are associated with a category or publication - as far as I can tell...

    Thanks for helping...

  2. Eric Mann
    Member
    Posted 7 months ago #

    How are documents linked to a category or publication? Can this be verified from the control panel?

    Documents are linked to Publications the same way images are linked to posts/pages.

    Publications in this context are just a custom post type within WordPress. They're like a post or a page, but with different information. The actual file you upload is stored in the database as an "attachment" the same way images are, but the publication references it through a custom meta field.

    When you click "Upload Publication" you're adding a new attachment. You also have to click "Insert into Post" once it's done uploading to automatically insert the attachment URL into the publication's URL field.

    When uploading I would assume it is linked to the publication automatically. Afterwards there is no indication of how to view which documents are associated with a category or publication - as far as I can tell...

    It sounds like you skipped the "Insert into Post" step when you uploaded the document. The only indication of which file is linked to a Publication is the URL actually entered on the page. It's built this way so that you can include externally-hosted files in your publication archive in addition to files you upload yourself.

    You can see which Publications are in a particular category by going to the main Publications screen (where it lists all of your publications) and selecting a Category from the drop down list to filter the display.

  3. nvisioncurtis
    Member
    Posted 7 months ago #

    You guessed correctly. I did miss the "Insert into Post" step, however I realize now that I had a misconception of how this plugin works.

    I assumed that under each publication you could upload multiple files because your are able to upload multiple files and then name them under upload. It seems that each publication is in fact 1 file and although the other files are uploaded they are ignored by the plugin? This seems a bit tedious to me, but I can make this work.

    Thanks!

  4. Eric Mann
    Member
    Posted 7 months ago #

    At this time, you have to upload and mark one file at a time. Other uploads are ignored by the plugin because, really, a Publication is meant to map specific meta information to one file only.

    I'll look into a multi-file upload feature in a future version.

Reply

You must log in to post.

About this Topic