The Stack Overflow podcast is back! Listen to an interview with our new CEO.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options questions only user 33049

An attachment is an image or other file uploaded through the post editor's upload utility. Attachments can be displayed on their own 'page' or template. For more information, see Using Image and File Attachments.

0
votes
1answer
I'm using the get_attachment_link() function in a site I'm developing and it's returning a really weird result. For some reason it adds #main at the end of every url. http://domain.com/post_title/att …
asked May 20 '13 by leemon
1
vote
0answers
I'm building a theme for a portfolio-type site. I'm looking for something like this: This site uses some kind of Foundation Grid CSS to size the thumbnails using different sizes. My question is, wh …
asked Apr 3 '18 by leemon
2
votes
1answer
Just wondering if it's possible to add a header before fields added with the attachment_fields_to_edit() filter, just like the one before the attachment display fields. Any ideas? Thanks PHP: fu …
asked Apr 1 '17 by leemon
12
votes
2answers
I'm developing a plugin that adds a new tab to the media modal, and I need to know a way trigger a refresh of the attachments tab so it shows newly added attachments. This is the code I'm using … ATTACHMENTS TAB HERE } }); Any help would be appreciated. The media modal documentation is almost non-existant. Thanks …
asked Feb 25 '15 by leemon
1
vote
1answer
I'm modifying the media modal adding a new menu item to add external attachments to the media library. From the JS code I'm calling a PHP function that touches the database and accepts three …
asked Mar 8 '15 by leemon
3
votes
2answers
I'm developing a gallery plugin and I was wondering if I could add a YouTube and Vimeo "embed" option to the media uploader to be able to add YouTube and Vimeo videos as attachments to a post instead …
asked Nov 16 '13 by leemon
5
votes
1answer
I'm using the following piece of code to open a media frame when clicking a link with a data-attachment_id attribute. This attribute holds the id of an attachment that I want to select when the frame …
asked Aug 23 '16 by leemon