anders

Forum Replies Created

Viewing 12 posts - 91 through 102 (of 102 total)
  • Author
    Posts
  • in reply to: Popular post view widget, sort by + where clause #400273

    anders
    Full Member
    Post count: 121
    This reply has been marked as private.
    in reply to: Popular post view widget, sort by + where clause #399946

    anders
    Full Member
    Post count: 121

    Thank you Kiran,

    Unfortunately I´m still only at localhost with this.
    But I´m using a basic child theme for Directory Starter, trying to customize a “Popular Post View” -widget that is placed inside the GD Home Left Section.

    I have created a CPT with the GD Custom Post Types -addon then added a custom field (Date type).

    Inside the widget I would like to sort by the added custom field of date type and only show upcoming items (where the added custom field is, today or later)

    Thanks!

    in reply to: Hide empty locations #396214

    anders
    Full Member
    Post count: 121

    You´re right, that should solve this 😉
    Thank you for the advice on this!

    in reply to: Hide empty locations #395981

    anders
    Full Member
    Post count: 121

    Ok, I was hoping I could somehow add a “where clause” to the query that triggers the locations widget.
    …as an alternative, is there any way to let the gd_location_tab_switcher -shortcode work as a single selectbox where all cities are gathered (without the regions selectlist), even if “Enable Multi Regions” is selected?
    (I still need for users to able to publish from different cities)

    Thanks!

    in reply to: Hide empty locations #395936

    anders
    Full Member
    Post count: 121

    Well, the site is really about the events.
    So, preferably we should be able to filter out and only display locations where there upcoming events.
    We will encourage businesses behind the events to register companyinfo also (taking advantage of GD link to business -feature) and there will be at separate business directory section of the site.
    But the focus will be events.

    Thanks!

    in reply to: Hide empty locations #395789

    anders
    Full Member
    Post count: 121

    Thank you for your quick replies!

    Stiofan, I see your point with having a message shown instead.
    My concern here is mostly the large space all these city links would take up and especially since a majority of them would not lead to any events displayed.
    The main focus of the site is events but there will be another section where the businesses that publish events will be listed separately so I don´t think there will ever be a link broken for locations on google as the business will remain there even if there are no events at the time.
    Does it make sense?

    Thanks!

    in reply to: Hide empty locations #395757

    anders
    Full Member
    Post count: 121

    Ok,

    Would you say that it requires a big customization?
    Could you perhaps point me to a snippet or something similar so I know where to begin?

    …another option for me here for me would be if I could have all cities “hidden” in a select list (instead of displaying all at once, taking up lots of space)
    So I tried the [gd_location_tab_switcher] but once I´m using multiple cities I need to activate multiple regions also which makes this shortcode display two select lists (regions + cities) instead which isn’t a good option for us. Any way around that?
    It would be really great if all cities could be in one selectlist independent of region

    Thanks!

    in reply to: Event Schedule -functionality #395594

    anders
    Full Member
    Post count: 121

    Thank you Stiofan, that was great!

    I was able to turn this into just what I needed here.
    …I´ll be sure to rate 5 stars also

    Thanks!

    in reply to: Event Schedule -functionality #395391

    anders
    Full Member
    Post count: 121

    Ok I can understand that

    …but since I can sort by a custom date field in a new CPT, isn´t there a way to also include a “Where clause” for this listing so that only posts with equal or greater than todays date for this datefield will show up?
    or would you advise against this for some reason?
    Could you please point me to some direction to achieve this.

    Thanks!

    in reply to: Event Schedule -functionality #395307

    anders
    Full Member
    Post count: 121

    Regarding the post you linked to, would it be possible to divide event types in a similar way where one type/price package would disabled physical location?

    Thanks!

    in reply to: Event Schedule -functionality #395297

    anders
    Full Member
    Post count: 121

    Ok, thank you!
    I can see how that would be very useful, unfortunately it´s not really applicable for us.
    …I have added 2 date fields (called startdate and enddate) for a new Custom Post Type and included startdate under sorting option.
    Now, this is actually very close to what we need, all we absolutely still would need to make this work for us is the ability to only show “upcoming” posts, based on startdate.
    Any idea on how to do this?

    Thanks!

    in reply to: Remove region from listing slug #394955

    anders
    Full Member
    Post count: 121

    Ok, thank you!

Viewing 12 posts - 91 through 102 (of 102 total)