Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter DigitalMirrors

    (@digitalmirrors)

    This isn’t a must have thing for me, My client isn’t currently using their calendar to take their payments. However, I’d like to better understand what is possible.

    Thread Starter DigitalMirrors

    (@digitalmirrors)

    The link to support for the Pro version takes me to this page.
    https://wpexperts.io/support/
    Which makes you select a product to open a ticket.
    However, Post Snippets is NOT one of the options.

    I’ve tried using the support off of the chat before but never received a reply. I’ve just tried again.

    BTW – This issue also occurs with your free version.

    Thread Starter DigitalMirrors

    (@digitalmirrors)

    Putting this option on Sections doesn’t help that much.

    If a section and all it’s children have to be set to actually fully hide a field it sounds like everything you want hidden separately has to be in it’s very own section.

    It certainly doesn’t work for a business listing, with multiple phone numbers, websites and social links. Put each one in it’s own section, that doesn’t seem practical. I’m not sure if it would even work and I bet it would look ugly at the end if it did.

    As I look at this more closely I see this happening on all fields not just those with images.

    In very few circumstances do I see it be useful to keeping the space something occupies when you are hiding that item. For example:

    —-
    Phone: 1 (222) 333-4444
    Mobile: 1 (222) 333-4445
    Fax: 1 (222) 333-4446
    —-

    If the listing doesn’t have a Mobile, this becomes ugly:

    —-
    Phone: 1 (222) 333-4444

    Fax: 1 (222) 333-4446
    —-

    You can make them inline sure, but if you add margin or padding then that still shows producing an ugly space.

    I did find one work around that seems to work.

    1. Install the free plugin Shortcoder.
    2. Make a new shortcode using your acf field and
      information you want attached to it. For example:
      Mobile: [acf field=’mobile-phone’]
      That gives you a new shortcode: [sc name=”phones-mobile”][/sc]
    3. Put the new Shortcoder shortcode into a text editor
    4. Set Visibility to Show when the following condition is met under Dynamic Conditions:
      Shortcode – [sc name=”phones-mobile”][/sc]
      Condition – Contains
      Compare Type – Text
      Condition Value – ACF Field (Mobile Phone)

    This gives you the much improved:
    —-
    Phone: 1 (222) 333-4444
    Fax: 1 (222) 333-4446
    —-

    This works, but it does seem a bit ridiculous to have to create a new shortcode for each and every field to compare in this way if you don’t want the space to remain when a field is empty. It also means you have to add something extra to the new shortcode even for fields that you may not want a label on.

    I’m not a programmer and don’t know the challenges. Is there anyway to something similar with your code to just get rid of all the space of the element itself when you are hiding it?

    • This reply was modified 4 years, 3 months ago by DigitalMirrors. Reason: trying to clarify what I was saying
    • This reply was modified 4 years, 3 months ago by DigitalMirrors. Reason: trying to clarify what I was saying
    • This reply was modified 4 years, 3 months ago by DigitalMirrors.
    • This reply was modified 4 years, 3 months ago by DigitalMirrors.
    • This reply was modified 4 years, 3 months ago by DigitalMirrors.
    Thread Starter DigitalMirrors

    (@digitalmirrors)

    That doesn’t work for me. The user could have any combination of a Phone, Mobile, Fax and Toll-Free number. They could also have a website, Facebook, Twitter. Maybe they have all of them, maybe none or maybe just one or two. It also won’t allow for styling of social media links since it removes the link but not the image or icon that link is attached to.

    I appreciate your trying to work this out for me, but it doesn’t sound like it will work like I need it to. I had purchased the Pro version a couple days ago to see if I could get it to work. I’m going to look it over a bit more and see if I can get enough use out of it without that, but I’m not sure about it.

    Thread Starter DigitalMirrors

    (@digitalmirrors)

    Unfortunately, there are multiple phone number and link fields and it doesn’t seem practical to put each phone number and link for a record into a section.

Viewing 5 replies - 1 through 5 (of 5 total)