Tagged Questions
0
votes
0answers
11 views
Editing with thickbox in wp-admin - Endless loading
I have a plugin with images inside wp-admin.
Works fine without thickbox
When clicking on an image I can edit them with this URL:
...
0
votes
1answer
28 views
Bulk Attach Or Insert Media To Post Without Opening Post Editor
How to create a custom panel inside wp admin dashboard where we can insert media to specified posts in bulk? Here is the illustration:
As shown on the image above, it list all available media on ...
1
vote
1answer
65 views
Delete attachments from Front end
I am trying to make a simple media manager on the front end of my posts, as my site will have many authors. I want to give them the ability to delete any picture attachments that they have uploaded to ...
0
votes
0answers
67 views
Make Add media button accessible to all in front end
I am trying to add an interface in which any user(including non logged in) can create a post from the front-end. I am able to bring the default wordpress editor to front-end using the wp_editor ...
0
votes
2answers
44 views
the_time() returning wrong date/time (way in the future)
Within a loop, that otherwise works fine, the_time() is giving me a date and time about 25 days and a few hours ahead of the actual date.For instance, if I post today, it lists it as "April 30th, ...
1
vote
2answers
162 views
How to single click to download image in single post
i have attacment.php like this.
<?php
if ( $attachments = get_children( array(
'post_type' => 'attachment',
'post_mime_type'=>'image',
'numberposts' => 1,
'post_status' => ...
0
votes
0answers
35 views
How to disable parent post in Wordpress
Wordpress associates an image with a post, which is great when it's used for only one post as it will therefore remove the image if the post is deleted, keeping the files and database clean.
However, ...
2
votes
0answers
290 views
Get attachments (get_posts) and WP 3.5 new uploader
I'm using get_posts() to get attachments from the post and use it in the slider. The issue is new uploader doesn't have that "Gallery" tab which was perfectly suitable for this. It also seems to be ...
5
votes
2answers
708 views
How it is possible to use taxonomies on attachments?
With WordPress 3.5 was changed the media management and edit screen use the default of edit post type UI. The taxonomies is very usefull for WP installs, there have different users and attachment to ...
15
votes
2answers
2k views
How to manage attachment relationships for specific posts in WP 3.5+
In WordPress 3.5, media management has changed entirely. Also, relating attachments to specific posts is (I believe) basically only being done for backward compatibility. Therefore, after uploading ...
5
votes
2answers
974 views
Expanding new Media Uploader in WordPress 3.5
In current version of WordPress it is quite easy to expand the attachments fields using attachment_fields_to_edit filter, but in latest WordPress 3.5 RC2 it's not working. We can expand it using ...
0
votes
1answer
82 views
Images not being generated at correct size
I have my WordPress Media settings set like so. Based on these settings no generated large image should exceed the width of 540px.
I embed an image in a post like so. I choose "Large" as a image ...
0
votes
2answers
4k views
How to Fix HTTP Error When Uploading Images?
I am using WordPress 3.4.1 on Ubuntu 12.04 using Apache and PHP 5.3.X
When I login to the dashboard and add a new post. Then try uploading an image to set as a featured image, I get a red box with a ...
0
votes
1answer
173 views
Insert attachments from custom uploader into post (regular uploader style)
I recently started using this nifty meta box framework:
http://www.deluxeblogtips.com/meta-box-script-for-wordpress/
I really like the plupload meta box, however, I need to be able to add the ...
1
vote
1answer
304 views
Image still attached to post even after removing it as featured image
I'm sorry if this is too noob of a question, but when I upload an image and set it as the featured image then later remove it (as featured image), the media list still shows it's "Attached to" the ...
2
votes
1answer
616 views
Uploading Multiple Attachments From Front-End With A Description
I am working on a Wordpress site that has a custom front-end submission form for adding in a post of content type, 'sketchpad'. The form has a section that allows you to upload multiple images with a ...
-1
votes
1answer
117 views
How can I attach files without using a plugin?
I want to add files from my site or from external links with files to any of my posts, and be able to add the size of the file and choose which ones it will do "File Force" and which not. I want to ...
0
votes
2answers
1k views
Media is not attached after import
I am new there and I need some help for importing a wordpress blog.
I have a old wordpress 3.1 blog (no multisites) and need to move to new hosting (a sites under multisites). I don't have the access ...
0
votes
1answer
236 views
How to fetch only media that was already attached to a post/page?
Situation: my client has this simple gallery built with WP_Query showing the latest media added to the site:
$cola = new WP_Query(
array(
'post_type' => 'attachment',
'post_status' ...
0
votes
1answer
439 views
How to retrieve alt attribute for an attachment (uploaded image)?
I have some IDs of attachments (images, not from current post). How to I get the alt attribute for those images?
I have tried to look into wp_get_attachment_image_src and wp_get_attachment_metadata ...
0
votes
1answer
25 views
Theming media inserts
When I Insert media into my post or page it's rendered as a normal link.
Would it be possible to somehow theme links that point to e.g. PDF or other file types?
1
vote
1answer
75 views
media 'path' issue / concern when bringing files live
I'm currently developing a site we have installed on a sub-domain.
'beta.mysite.com'
We will eventually, be moving site to it's root domain.
'www.mysite.com'
Problem?
any post type attachment / the ...
0
votes
2answers
1k views
Link to full size image or attachment page in photo theme
My site is using WooThemes Statua theme. I'm trying to get my resized slider images to link to their respective full size images (or attachment pages).
I asked a similar question on the WooThemes ...
2
votes
1answer
846 views
Custom function to rearrange attachments when creating posts – Almost there
I'm having some trouble with a custom thing I'm doing.
I've implented a custom image uploader into a metabox in a custom post type.
Now I'm trying to work out a way that will let me reorder the ...
0
votes
1answer
40 views
Attachments without images
I am using the Attachments plugin, but this question I'm sure is applicable to the regular media library. What I want to do is have an 'attachment' (metadata, title, caption) but with no image ...
1
vote
1answer
237 views
Handling image uploads without thickbox
Ideally what I'd like to do is hand a file to a function that returns the file as an attachment of the current post. Just as though it had been uploaded via the thickbox media uploader, but without ...
0
votes
2answers
602 views
How to count media attachments?
How do I count the number of media attachments a specific post has?
Output example: This post has 22 photos.
Thanks!
0
votes
1answer
415 views
Media library only show 2 items per page?
For some reason WordPress media manager is only showing 2 images per page? This is happening on 2 separate sites now and I can't get rid of it.
Is there a way to manipulate items per page for the ...
1
vote
2answers
216 views
Pull images from the gallery
I am building a template where wordpress is being used primarily as an image CMS, I am pulling the first image from the content section of each post.
<img src="<?php echo grab_image() ?>" ...
5
votes
1answer
2k views
Put the media uploader in a metabox
I find it very unnecessary to have an "add image" button that brings me to yet another screen that will let me upload content to my post.
Ideally I would like to have a meta box with the option to ...
1
vote
1answer
513 views
How do I modify the “Insert Media” lightbox in the admin to only show media items from a category?
I am attempting to resolve a problem I continue to have with the media library.
Essentially, what I am looking to do is "automatically" assign media which is uploaded from a custom post type "edit ...