Anitra Larsen
Forum Replies Created
-
AuthorPosts
-
November 14, 2019 at 12:20 am in reply to: Category search list as checkboxes instead of dropdown #517047
Ok. Almost there. How do I get it to show WITHOUT the visitor having to click the advanced search? The client wants the categories at the top of the search list WITHOUT having to click to see them. When I select “show in main search bar” – the list goes back to dropdown…
Nevermind. The “GD Search” page was in the trash. Client must have accidentally deleted it. Sorry to bug you.
Looks better now. Thank you.
Wait – I read the whole post for the snippet you sent and then added the previous snippet from that thread as well. I think that worked. Let me have the client do a little testing and see if that did the trick! 😉 Thanks!
Sorry. That did not work. It’s still showing old events – it seems it’s showing the recurring events that ARE coming up, but it’s showing the first event date for the reoccurring events, not the next upcoming date… so it looks like the events it’s listing are past. Other ideas for me?
December 26, 2016 at 8:00 pm in reply to: Category search questions – subcategory order and/or hide #330751Ok. I got the address format through CSS using this (from another thread on your support forums). So I just need to know #1 & #3 above. Thanks!!
.geodir-company_info br:nth-child(4), .geodir-company_info br:nth-child(5), .geodir-company_info br:nth-child(7) { display:none; } #geodir_post_country_row {display: none !important;} span[itemprop="streetAddress"] { display: block; } span[itemprop="addressLocality"]:after {content: ", ";} span[itemprop="addressRegion"]:after {content: " ";} div.post_address br { display: none; } .geodir-company_info .geodir-i-location{ display:block; } .geodir_category_list_view li.gridview_onethird:nth-child(3n+3), .geodir_category_list_view li.gridview_onefourth:nth-child(4n+4), .geodir_category_list_view li.gridview_onefifth:nth-child(5n+5) { margin-bottom: 60px !important; }
December 26, 2016 at 3:33 pm in reply to: Category search questions – subcategory order and/or hide #330702Ok… Can you help with a couple more things?
(1) We DO want the address to show on the single event listing BELOW the venue name. (On the listing, the venue only is perfect.) How do we add the address back to the event listing? Just the single, not the listing page?
(2) To get the code you sent to work, I had to remove some code I got from another of you support strings that made the address’s city, state and zip show on one line instead of three?
That code formats the address:
Street Address
City State Zip (all on one line)How do I use the code you sent AND get the City, State and Zip to show on one line instead of three separate lines?
(3) And one final thing, can you recommend a developer for the category filter work?
Thanks so much!! 😉
December 23, 2016 at 9:36 pm in reply to: Category search questions – subcategory order and/or hide #329879I just spoke with the client again – more than anything, they want the location to show up on the events list view – INSTEAD OF THE ADDRESS. See screenshot. How do we accomplish this?
December 23, 2016 at 8:47 pm in reply to: Category search questions – subcategory order and/or hide #329871On our events page (see screenshot), we just want to list the name of the venue (in this case Creative Spirits Okoboji ABOVE the address on the right side of the page. What shows at the bottom of the right column is the linked business listing information (it used to say Go To: Linked Business Name). If it’s easier for that to be moved up above the address instead of adding the venue name to the address, that would work as well.
For the other two items, we are trying to accomplish a filter/search setup more like wisdells.com, where the related subcategories appear in the side menu with checkboxes and the category for the current category/subcategory is checked. See this at http://www.wisdells.com/wisconsin-dells-hotels/cabins.htm. So, go to that page and look on the left, see only the list of related categories with checkboxes (not all parent categories like we have), and the checkbox for the selected subcategory is checked. When I looked around in the documentation for Geodirectory, I’m guessing this could be accomplished with separate custom post types for each main category, but we are one week from the launch date without the time to move all of our 500 listings around, so we will need to come up with something code-based instead. Can you assist?
December 22, 2016 at 7:55 pm in reply to: Category search questions – subcategory order and/or hide #329372So, the client has three more requests. Can we make the sub categories appear below the main category when checked? (So the sub categories are hidden at first and then when the user checks a category – the subcategories below it appear?)
And can the current category be checked by default when a website visitor is on a category’s archive page?
And unrelated to the search, with the events add on, how can we get the location name (for the linked listing) to show up with the address on the listings page and details page?
I’m not an advanced programmer, but pieced together information from a couple different support topics and added this my child theme’s functions file to get a class for one specific GeoDirectory Place Category. Now I can style that category as I want.
function my_custom_body_class_in_category($classes) { // add 'my-class' to the my-category archive and single posts of the category. if ( has_term ( 'my_class', 'gd_placecategory' ) ) $classes[] = 'my_class'; // return the modified $classes array return $classes; } // add my custom class via body_class filter add_filter('body_class','my_custom_body_class_in_category');
December 2, 2016 at 9:33 pm in reply to: Category search questions – subcategory order and/or hide #317767Thank you!
December 1, 2016 at 3:20 pm in reply to: Category search questions – subcategory order and/or hide #316611This reply has been marked as private.November 30, 2016 at 10:18 pm in reply to: Category search questions – subcategory order and/or hide #316122This reply has been marked as private. -
AuthorPosts