Eri
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.August 6, 2015 at 5:39 pm in reply to: Using columns on Advanced Search Filter, or using Multi Selector #48444This reply has been marked as private.This reply has been marked as private.
Of course!
I’ve just left my review on WP site. You will get more and more happy customers!Hi Stiofan,
Ohhhh! That looks perfect!
Thank you so much for your help with this! Yes I see now Customise My Search only appear on the search box on the content. That’s amazing.And I turned off Auto Completer. Can’t thank you enough for this. If I knew your address, I would send you a box of chocolate straightway. That much I want thank you.
And my apologies to taking lots your time for my website, really appreciated with your help for this.
Thanks for your reply Stiofan,
and I’m really sorry for wasting your time.I’ve posted to hire a developer on the GD job board a few days ago, however I haven’t got any contact, just in case I have to fix this with myself.
I’m sorry for asking this again, is it possible if I don’t use a selector there? I only have 2 CPT, so there is plenty space to put radio buttons instead of selector. I think this section(?) on listing-filter-form.php;
<select name="stype" class="search_by_post"> <?php foreach ($post_types as $post_type => $info): global $wpdb; $has_posts = ''; $has_posts = $wpdb->get_row($wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE post_type = %s LIMIT 1", $post_type)); if (!$has_posts) { continue; } ?> <option opt_label="<?php echo get_post_type_archive_link($post_type);?>" value="<?php echo $post_type;?>" <?php if (isset($_REQUEST['stype'])) { if ($post_type == $_REQUEST['stype']) { echo 'selected="selected"'; } } elseif ($curr_post_type == $post_type) { echo 'selected="selected"'; }?>><?php _e(ucfirst($info->labels->name), GEODIRECTORY_TEXTDOMAIN);?></option> <?php endforeach; ?> </select>
If you think it’s possible, I’d really appreciate if you could let me know how to change it.
I’m sorry for asking many times.Hi Stiofan,
Thank you so much for looking into my question.I fixed(?) the script to;
<script language="javascript"> jQuery(document).ready(function($){ $( window ).load(function() { $(document).on('click', '.navbar .dropdown-menu', function(e) {e.stopPropagation();}) }); }); </script>
then I don’t see syntax error anymore, I hope this is OK?
I also noticed the compass is keep moving around. I don’t know why. I’d appreciate if you could let me know the next step to fix this.
Thank you so much for your help in advance.
ohhh! It worked perfectly!
Thank you so much both Stiofan and Paolo!I hided a CPT called ‘Supplier’, I now don’t see supplier from search widget. But I can still see supplier’s list from direct URL http://www.domain.com/supplier.
That’s what exactly I needed. I can hide all the supplier lists using s2member, then the supplier will be shown only for members.Thanks again for all your help! Case resolved!
Hello Guust,
Thank you very for another great idea!
May I ask you that I thought URI restriction is about hiding some part of URL, do you think I can also hide CPT name from search widget?
I’ll read about URI restriction page more, and come back to this.Thank you for your help!
Hello Stiofan,
Thanks for the solution! It sounds very simple. My I ask you which file I should add this script?
Sorry my PHP knowledge is not very good.Thank you for your help!
August 5, 2015 at 8:18 am in reply to: Using columns on Advanced Search Filter, or using Multi Selector #48187This reply has been marked as private.Thanks for the idea!
Yes I was thinking the same. I use S2member, and I can setup each place as members only.
If I don’t use CPT, use only categories, then I’ll be able to hide members only places, and from search widget.
However, if I do so, then the admin side will get complicated for the client I’m afraid.For example, CPT is like this;
CPT 1 = Restaurants (public users can search restaurants in their local area)
CPT 2 = Cafes (public users can search cafes in their local area)
CPT 3 = Suppliers (restaurant and cafe owner members can search their ingredients suppliers)So, I’d like to avoid to combine CPTs, if possible, I’d like to keep separating them.
But if I can’t make it, then I’ll setup the member levels on places and hide them from public.Many thanks for the idea!!
Hi Stiofan, Paolo,
Thanks for looking into my question. I really appreciate this.
Yes tomorrow is great! I’d appreciate if you could let me know how I can filter value or JS. I’m sorry that I’m a front end designer and don’t have knowledge of PHP very much. I’d appreciate if you could let me know step by step if it’s possible.
Good luck with new release, looking forward to seeing it.This reply has been marked as private.August 4, 2015 at 3:27 pm in reply to: Using columns on Advanced Search Filter, or using Multi Selector #48069This reply has been marked as private. -
AuthorPosts