jchristopher / attachments

[WordPress Plugin] Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
wordpress.org/extend/plugins/attachments/
GNU General Public License v2.0
241 stars 78 forks source link

Installation: Using Attachments with Pages, can't figure out where to put code #168

Closed tehchriso closed 6 years ago

tehchriso commented 7 years ago

I am trying to set up Attachments on my Wordpress instance - Ver. 4.6 running the Briar theme. I am using it as a Wiki replacement, so all of my content is saved in Pages - not Posts. I cannot get the attached files to show up on when viewing the Page.

I purchased the Attachments UI extension, created a new instance named 'attachments', and used the UI to generate the code snippet, but I cannot figure out which theme file I need to insert the code into.

Inserting into single.php, as shown in the Attachments UI demo video on the website, doesn't produce any results. Reading usage.md only confused me further, since it assumes you know which file The Loop is in, and as far as I can tell it only covers attachments relating to Posts - I see nothing regarding Pages.

I enabled the option for "Auto-Append" within the Attachments UI, pasted the reference code provided into the empty box, and published the instance, but it does not appear when I refresh my Page.

tehchriso commented 7 years ago

(Oops, posted too soon.)

For testing purposes, I've changed the theme to Twenty Fourteen and Twenty Fifteen -- it had no affect, the Attachments display does not auto-append to the Page pages.

If you could tell me where specifically within the theme files I need to insert this code so it supports Pages, not just Posts, that could be enough to get me up and running.

Or if you see anything in my screenshots that could indicate the problem, please let me know. Thanks - and sorry for this novice question - I'm a hardware tech, anything Web is on the outer limits of my competency.

attachmentsui settings files attached to post attachmentsui autoappend code

tehchriso commented 7 years ago

One more note: We attached all of the files prior to purchasing the Attachments UI. So, at the time we uploaded them, I had not specifically configured any instances.

That being said, I don't think it's an instance issue? When I was pasting code into this php and that php file trying to figure it out on my own, I did get the data to display a couple of times (albeit breaking the theme appearance, and appearing at the very bottom of the page in raw text format).

tehchriso commented 7 years ago

I have not made any progress on this issue on my own. I would love any assistance you can offer.

jchristopher commented 6 years ago

Hi there! For support with Attachments UI please submit here using the email address of your purchase, thank you!