‘Yendif Player’ responses to the WordPress’s built-in search widget. It means, you can just use the Standard WordPress search widget to search videos from your site.
Hope, this helps you!
I’m having a problem which I have now narrowed down to the Yendif player.
When a visitor searches the site for certain terms they get hundreds of the same result, all with /videopage/ in the url followed by the video title.
This is ruining the search function on the site, not giving users the results they need or expect.
We need an option to turn off this search function because clearly it’s not working as it should.
Please can you tell me how to stop Yendif from presenting its own results in WP search results? I just want posts to appear, not single videos over and over and over again.
Sorry for the delay, this problem seemed to stop on its own for a while, but now it’s back with a vengeance.
I also found that search results are leading to the videopage, which is a significant problem for someone like me running an affiliate site. If someone clicks on a video from Google video search to my site, instead of arriving at the post with the supporting content and my affiliate links, they arrive at the videopage for that clip.
Obviously this is not appropriate for an affiliate blog.
Can you give me the instructions for fixing this myself? I’m afraid I don’t feel comfortable giving anyone else access to my site.
Thanks for your assistance.
– Open {root}/wp-content/plugins/yendif-player/includes/functions.php
– Scroll down to the function ‘register_custom_post_types’
– Add $args['exclude_from_search'] = true; at the top of the following line,
register_post_type( 'videopage', $args );
– Save the changes.
That’s it. Hope, this solved your issue!!!
Hi,
Thanks for that description, it has indeed worked to prevent the videos from appearing in search results on the site. It now returns only the post itself.
The Google video search results however are still leading to the videopage rather than the post. Is this fix going to prevent further /videopage/ entries being crawled by Google or do I need to do anything else to prevent that from happening?
Obviously I don’t want Google offering the /videopage/ results.
Thanks for your help, it’s been invaluable.