Quantcast
Channel: Feedback on code for get attachment link code snippet | WordPress.org
Browsing latest articles
Browse All 6 View Live

Reply To: Feedback on code for get attachment link code snippet

Thanks for the feedback Eric, I feel better now updating the codex. I rely so much on the examples in the codex, that I thought I would add this to it. When the site goes live (if it ever does) I’ll...

View Article


Reply To: Feedback on code for get attachment link code snippet

The print "\n"; line isn’t absolutely necessary. Yeah, it’ll make your HTML markup look nicer when people use view-source, but it won’t affect the rendering of the page at all and any developer tool...

View Article


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...

View Article
Browsing latest articles
Browse All 6 View Live