Forum Replies Created
-
AuthorPosts
-
October 16, 2014 at 8:31 pm in reply to: This plugin changes the whole look of my website when activated #2696
Ernest Marcinko
KeymasterHi!
Right now the plugin looks exacly the same to me on both browsers. I’m not sure if you changed it since then.
I’m not sure if that’s possible. The search is very flexible, but this might be only possible with some very heavy modifications. And it would also require a remote SQL access to the spreadshirt servers, which I don’t think it’s available. Unless the products are stored in the wordpress database as a custom post type, there is no way to search them. If you have them imported as a custom post type, then it will work just perfectly.
October 16, 2014 at 6:18 pm in reply to: Dont update my changing. Dont change Updated Search after the customization #2691Ernest Marcinko
KeymasterHi!
Please try these from the knowledgebase: https://wp-dreams.com/knowledge-base/the-layout-and-theme-is-not-changing-after-saving/
October 16, 2014 at 10:55 am in reply to: How to return taxonomy terms as results when clicking search icon ? #2689Ernest Marcinko
KeymasterAs I said before this is not possible, simply because there is no way to do it in wordpress. I know it does not find it, because it’s the theme provided search url.
I would happily do this for you if it was possible to return taxonomy terms on the default core search, but it’s not possible. No matter what I do, there is no way to do this yet 🙁
October 16, 2014 at 7:43 am in reply to: This plugin changes the whole look of my website when activated #2685Ernest Marcinko
KeymasterHi!
It was indeed something wrong. I saved the options randomly a few times on the search and flushed the cache. After refreshing the site it all went back ok. There must have been some kind of inconsistency with the database data and the cached data. It should work now properly.
October 16, 2014 at 7:05 am in reply to: How to return taxonomy terms as results when clicking search icon ? #2684Ernest Marcinko
KeymasterHi!
I know what you mean, but it’s not yet possible in wordpress. The wordpress engine is not capable of returning non-post objects as results.
However I see your theme has a function implemented to list the “stores” cupons on a specific url, which is something that might make this possible in your case. I have changed the “Redirect url” option on the General Options->Behaviour panel to “?store={phrase}”. So it now redirects to the store page coupon search. This is the closest way for now.
I’m in contact with a few wordpress core developers, and hopefully the taxonomy search is going to be available as a core feature in wordpress from version 4.5. Let’s hope so. Many, many people have requested this from them.
Ernest Marcinko
KeymasterNo problem at all, I help when I can. If you want and you are satisfied with the product, you can leave a rating on the plugin anytime.
The problem actually is, that the header is made of of 3 blocks. The on on the left contains the logo, the one on the middle contains the menu and the search and the one on the right contains the social stuff. The size ration of these elements as I look at the code is 16.6%, 66.6% and 16,6% so these are responsive, which is great. However the logo inside the first column (16,6%) does not respond to resizing, so the second column (66.6%) covers it when resizing, because the logo passed it’s boundary. This looks like that the search is hovering over the logo, when actually the logo is passing trhough the border of the left column.
Similary you can try a CSS code to make it respond:
[html]
#logo img {
max-height: 70px;
max-width: 231px;
min-width: 150px;
width: 100%;
}
[/html]
This worked for me nicely on my dev console.Ernest Marcinko
KeymasterHi!
Of course you can. But I just realized you have the search placed nicely into a wrapper div element. The search will always adopt to the width of this wrapper elements, so it might be more logical to set the width of this element with css. You can still use the custom css field for that. Based on your site I would suggest something like:
[html]
.header-search-wrapper {
width: 33%;
min-width: 200px;
max-width: 400px;
}
[/html]So the actual width is given with a percentage value in addition with a minimum/maximum limit.
Ernest Marcinko
KeymasterHi!
It’s been requested a few times so I’m definitely implementing a fixed width option. In some cases I also experienced incorrect width, mainly on header menus. I don’t know yet why it happens, but something is definitely wrong with the width calculation. Anyways, this is going to be changed soon, as the current state still respects IE8, but it’s deprecated, so finally I can remove those thing from the js code. Anyways, with a simple CSS snippet you can force a minimal width on the search bar:
[html]
#ajaxsearchpro1_1 {
min-width: 400px !important;
}
[/html]You can put this code anywhere in your stylesheet, or you can use the plugins “Theme Options -> Custom CSS“ tab as well.
-
This reply was modified 11 years, 7 months ago by
Ernest Marcinko.
October 15, 2014 at 2:48 pm in reply to: This plugin changes the whole look of my website when activated #2672Ernest Marcinko
KeymasterIs the squaretac.com/ url correct? Or is the wordpress under a subdirectory? I can only see a shop embedded via an iframe.
October 15, 2014 at 2:35 pm in reply to: This plugin changes the whole look of my website when activated #2671Ernest Marcinko
KeymasterHi!
I just logged in, activated the plugin and flushed the cache just to make sure everything fits, but the site looks exatly the same to me. There is no way the search can affect the layout, simply because the declared stylesheet rules are strictly set to only apply to the ajax search pro elements.
I don’t see any search shortcodes places on your site. Are you sure you placed the shortcode corretly? In case you placed it into the theme, then a common mistake is that some users try to put it inside a form element, which won’t work, because the search includes a form as well, and a form element inside another form element is an incorrect html output. That might have been the problem, I can’t think of anything else.
Could you please be more specific of how the problem occured, as I could not replicate it, and I don’t want to change anything on your site, unless it’s neccessary.
October 14, 2014 at 6:32 pm in reply to: How to search only in posts where the author is the user? #2667Ernest Marcinko
KeymasterHi again!
If I understand correctly, then you only want to show results, that were created by the current logged in users?
This is only possible by modifying the search source or creating a filtering function. Try to add this code anywhere to your theme functions.php file:add_filter( 'asp_pagepost_results', 'asp_filter_the_post_author', 1, 1 ); function asp_filter_the_post_author( $pageposts ) { foreach ($pageposts as $k=>$v) { global $current_user; get_currentuserinfo(); $user = get_user_by( 'id', $current_user->ID ); // Get the user nicename $author = $user->data->user_nicename; // Remove the post from the array if the author is not the logged in user if ($pageposts[$k]->author != $author) unset($pageposts[$k]); } return $pageposts; }-
This reply was modified 11 years, 7 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterNo problem at all, thank you for the kind words!
If you got a few seconds, you can rate the plugin under your downloads on codecanyon. Feel free to contact me here anytime with any issues.
Ernest Marcinko
KeymasterHi!
Thanks, now it’s ok. The problem was, that the ajax request recieved a 302 status code form the server. If you have any kind of security plugin installed, then it may block certain requests from the frontend.
The problem was fixed by changing the “Use the custom ajax handler?” option to yes on the search plugins “Compatibility options” menu.
Ernest Marcinko
KeymasterSlovakia. I also tried several VPNs, USA, UK, Italy, Germany – but neither works. Then tried proxy servers from Germany and USA, with no luck.
Ernest Marcinko
KeymasterHi!
I’ve tried to log in to the given site with the details yesterday and today, but it gives me an ERR_TOO_MANY_REDIRECTS error. Am I doing anything wrong? Perhaps this is causing the issue with the search?
I have tried both the demo/demo and the admin account as well, but I’m getting the redirect loop error: http://i.imgur.com/zlLCIJI.png
Let me know if you fixed the login, and I will look at the search issue as soon as I can.
-
This reply was modified 11 years, 7 months ago by
-
AuthorPosts