• Resolved abdouse79

    (@abdouse79)


    Hi Milan,
    Thank you for the wonderful job you have been doing. I wanted to pull a list of attached files (uploads) to a page and display them on my frontpage. Is there a function that renders such files on the front page? I have watched the tutorial on manual integration but it seems to address posts ratings not attached files to a post. I am using twenty sixteen theme I do not intent to use any forum plugin.
    Your help would be much appreciated.

    Abdoulaye

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Milan Petrovic

    (@gdragon)

    In WordPress, attachments are posts (with post type ‘attachment’). So, you can rate each one with my plugin (if that is your intention), and each attachment has own ID, and post type ‘attachment’. So, if you have a loop that displays the attachments, ratings can be added to that loop with properly formatted function (id and type). Examples in the knowledge base are general, but you can easly set different arguments, there is no way for me to create examples for each possible use.

    Thread Starter abdouse79

    (@abdouse79)

    Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Function to render attachments on a page’ is closed to new replies.