burakb
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Wordpress Parallax Slider] link to full imagethank you for considering it. is there any other plugin that can achieve what I want? I need a plain image button slider with no text on it but only navigation.
Thanks for the update J.
Forum: Plugins
In reply to: [Fotobook] [Plugin: Fotobook] Can't save album orderForum: Plugins
In reply to: [Fotobook] [Plugin: Fotobook] Change the order of fotosHey, I just found a solution. Whichever photo album you want at the top simply just edit that album on facebook and import it into wordpress again. Which ever album you last edited will be at the top after the import process.
Forum: Plugins
In reply to: [Fotobook] [Plugin: Fotobook] Change the order of fotosPlease help. I’m also struggling with the same issue.
Forum: Plugins
In reply to: [Fotobook] [Plugin: Fotobook] Can't save album orderSame here. Please give us a solution. Thanks.
Forum: Plugins
In reply to: [Fotobook] Photo Album OrderingAfter I change the order of the albums in the manage albums section and I refresh the page. The order again goes from newest to oldest albums. Any ideas how to solve this problem.
Forum: Plugins
In reply to: [Fotobook] Photo Album Orderingsame for me. I can’t change the order of the albums embedded from Facebook.
Forum: Plugins
In reply to: [Stealth Login] Stealth Login for WP (FIX!)nope, it does not work for me.
Hey Eric, your plugin simple modal contact form does not work with the recent version of wordpress. Is it due to my theme, or are you also aware of the problem?
It says unfortunately, a server issue prevented delivery of your message. However, I don’t think i have any server issue.
Would be great if you could check whether it is only me. Because on the plugin page, all 5 people voted the plugin as broken. None yet voted as if it works.
Thanks for the plugin by the way. I used it for more than 2 years without any issue I really appreciate your skills.
@mbravura
as I previously mentioned, I simply added the below code into my theme’s functions.php file.// search filter function fb_search_filter($query) { if ( !$query->is_admin && $query->is_search) { $query->set('post__not_in', array(40, 9) ); // id of page or post } return $query; } add_filter( 'pre_get_posts', 'fb_search_filter' );Just change where it says “40, 9” in the above code with the id numbers of the anythingslider posts.
If you have more than two slides then you should seperate with commas as in the above code.
Example:
slide 1 post id= 23,
slide 2 post id=30
slide 3 post id=25then the line should be like this:
$query->set('post__not_in', array(23, 30, 25) ); // id of page or postand the whole code is like this;
// search filter function fb_search_filter($query) { if ( !$query->is_admin && $query->is_search) { $query->set('post__not_in', array(23, 30, 25) ); // id of page or post } return $query; } add_filter( 'pre_get_posts', 'fb_search_filter' );This is tested by me and works absolutely allright for my theme. Hope this helps.
Hey Jacob,
To be honest, I was always disturbed by the slider posts appearing in site search results. However, I finally found this website:
http://wpengineer.com/2176/exclude-posts-and-pages-in-wordpress-search/
I simply put the following code to my functions.php, then placed the slider post IDs (40 and 9) since I had only two slides, and it worked quite well. They are not appearing in search results anymore.
// search filter function fb_search_filter($query) { if ( !$query->is_admin && $query->is_search) { $query->set('post__not_in', array(<strong>40, 9</strong>) ); // id of page or post } return $query; } add_filter( 'pre_get_posts', 'fb_search_filter' );However, my suggestion is that it would be better if you could put an option to admin panel where users can confirm whether to include slides in the search results or not.
Thank you all for your support.
hi mbravura,
thank you for your suggestion. I activated the plugin. And changed my slide posts to noindex and nofollow from the options. However, when i search the site, the search results still show up the slide pages.
I found the solution for my problem. If anyone interested I put overflow:hidden code for arrows.
But I noticed that I have another problem right now. I do not want to include AnythingSlider pages in my search results.
Is there any way to exclude the slider pages from my search results?
Thank you all in advance.
I just found out that it is the arrows that display horizontal scroll bar at the bottom of the page.
https://github.com/ProLoser/AnythingSlider/issues/19
However, there is no solution to fix it.