Plugin Author
TC.K
(@wp_dummy)
The media files by default is using ‘attachment’ as the post type. But my plugin disabled it in the form setting page. You can enabled it by using following codes:
add_filter('uwpqsf_get_cpt', 'reset_attachment_posttype');
function reset_attachment_posttype($cpt){
$cpt[] = 'attachment';
return $cpt;
}
Hey! Thanks for the reply.
I have a glitch tho.
Returns the following error:
Warning: Missing argument 2 for add_filter(), called in /home/xxxxx/public_html/xxxxxx/wp-content/themes/xxxxx-child/functions.php on line 58 and defined in /home/xxxxx/public_html/xxxxxx/wp-includes/plugin.php on line 81
Hold on!
The code is different here than in the notification email.
Let me see if I can get this to work. 🙂
Ok, it added attachment to the form so I can select that now as an area to search, but when I try to search I get no results.
I tried making a new form to see if it would help but no. Still not returning any results.
Plugin Author
TC.K
(@wp_dummy)
Forget to mention when you search for the attachment files, you cannot direct search for the uploaded files.
You will need to have the parent post (where the post the attachment inserted).
Thus you will need to find the parent post first and use it to find the attachment files. This depends how you setting up the site. There are no easy way here.
My advise is don’t use this plugin to find the media files. There are other plugin that made for this. (Try search for Media Search Enhanced )
Thanks for the suggestion, but I’m not looking to search the backend of the website.
I’m looking to build a search for a portfolio page/gallery that returns all images based on a taxonomy such as “kitchens”
YOUR plugin is a great search plugin.
Why can’t it return images??
How is this more difficult to do than returning posts with mass metadata?
Should be a simple thing to return just images….
How do I do it?
I would like to use your plugin.
You know what.
I’m going to do this a different way.
Instead of checkboxes and a search button.
I’m just going to list the category pages for the media items
Simple and clickable.
But, just FYI, this should be a simple add-on for you to increase the viability of the plugin… It’s a good update for the future, you just need to get the images to display the same as a category page does it.
Thanks for your help anyway.
Hi bpebble,
I am searching exactly for what you are. Did you find out a way to search images just by typing in the tag on search bar?
I am using Ultimate WPQSF but it only return posts (galleries) and not individual images.
Your help will be appreciated.
Thanks