Feedback on code for get attachment link code snippet
-
I was playing around with some code for one of my client’s site and using the get_attachement_link.
The examples on the codex are pretty sparse right now and I was going to add my code snippet, but would prefer to get advice first.This is what I have right now:
https://pastebin.com/3MLSmVkyI’m pulling the images attached to a page, displaying them in a list and then using jQuery just rotating through the images.
Can anyone confirm if my code is indeed without errors? It works, so that’s the main thing, but I don’t want to be updating the codex with a snippet that may contain errors.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Feedback on code for get attachment link code snippet’ is closed to new replies.