Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Excluding layout images
This topic contains 11 replies, has 2 voices, and was last updated by Sandy 5 years, 5 months ago.
- AuthorPosts
- March 27, 2019 at 10:17 am #21819
Hi Ernest,
Quick question, how do i exclude images used for the layout of the website,
right now header images etc.. are showing up in my search.Thanks,
-SandyMarch 27, 2019 at 12:03 pm #21837Hi Sandy,
The plugin parses the images as defined under the General Options -> Image options panel. The default order is Featured image -> Parse content -> Parse excerpt
Best,
I guess the image might be present in the content, so maybe only enabling the primary image source for the featured images could resolve the issue: https://i.imgur.com/OqPPYyE.png
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 27, 2019 at 1:02 pm #21842March 27, 2019 at 2:24 pm #21846Hi Sandy,
That probably means, that those are the features images I guess. Do you want to not display images alltogether, or rather getting images from the content only?
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 27, 2019 at 3:25 pm #21850You cannot access this content.March 27, 2019 at 3:34 pm #21851Hi,
Thank you for the detaisl, I see what the problem is now. Those are actually attachment results, and those are the attachment images. By turning off this option, the images won’t appear for them: https://i.imgur.com/7ad0SEC.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 27, 2019 at 3:48 pm #21852You cannot access this content.March 28, 2019 at 3:01 pm #21868Hi Sandy,
Okay, I think I understand now what you are reffering to. You want to exclude some of the attachments from the results. You can do that by entering the attachment IDs into this field, comma separated: https://i.imgur.com/AehzD0T.png
To find the attachment ID, go to the media library page, and click on the attachment. The ID will be in the browser address bar like so: https://i.imgur.com/kuO5Wq8.pngThe group attachments on that topic are PDF files, that was not included in the mime types list under the options. I have added it here for you: https://i.imgur.com/0J2cmUG.png
Best,
Please make sure to add that mime type to all search instances, where you want to return the PDF attachments.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 28, 2019 at 3:34 pm #21876Super, thanks again!
March 29, 2019 at 11:30 am #21899You cannot access this content.March 29, 2019 at 11:53 am #21906Hi Sandy!
I think this is due to one of the custom field filters. The ‘Include Geldzaken’ is unneccessary, as the exclusions are already have the same effect. If you remove it, it should start working: https://i.imgur.com/18wuVBS.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 29, 2019 at 12:00 pm #21908Ah great, i will remove the include on the other searches too,
thanks again! - AuthorPosts
You must be logged in to reply to this topic.