Help…maybe?

This topic contains 18 replies, has 5 voices, and was last updated by  Jeff 8 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #111505

    Jeff
    Buyer
    Post count: 188

    Thanks Stiofan & the rest. It took some wrestling, but this is working great for me now. Screen shot attached.

    I’ll look at the schema shortly Stiofan.

    #113406

    Jeff
    Buyer
    Post count: 188

    Stiofan: If you get this, in testing it further your solution doesn’t actually work.

    Those actions and filters are wrapped inside of an

    if ($html):

    block, which means if the timing field is empty, they don’t run.

    So this won’t help Joy or I in our quest to replace the timing field in all cases.

    #113787

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jeff,

    I did mention that in my post 🙂 You could use this filter to make sure it always has a value, or indeed add a new value on the fly in the position you want (maybe after address) https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-functions/custom_fields_functions.php#L148

    Let me know if you need help or an example or anything.

    Thanks,

    Stiofan

    #114738

    Jeff
    Buyer
    Post count: 188

    For anyone watching, I just released version 1.3.7 today:

    * New: Able to pre-check the “Do not use business hours” for listings to allow users to bypass instead of getting the nag
    * New: Header for the hours table so you can add descriptive text/instructions – you can style the div with #gdbh_instructions
    * New: Replace the existing “Timing” field from WPGeoDirectory and put the hours inline with the other details

Viewing 4 posts - 16 through 19 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount