Emlyn Jones

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • in reply to: How do I add these multi-select options #522860

    Emlyn Jones
    Full Member
    Post count: 32

    Cheers Alex – noted 😉

    E

    in reply to: How do I add these multi-select options #522780

    Emlyn Jones
    Full Member
    Post count: 32

    Hi there – jumping on this topic rather than opening my own, but happy to do so if needed.

    Is there any way to define the Label and value for these options?

    E.g. in the aboe example, the user would choose from:
    Classic
    Skate
    Backcountry

    But in the database they may be stored as:
    classic
    skate
    back-country

    Thanks,

    Emlyn

    in reply to: Binary search on nuber custom fields #512000

    Emlyn Jones
    Full Member
    Post count: 32

    Hi Kiran,

    Apologies for the delay in getting back to you.

    I’ve implemented the code and it seems to work great 🙂

    Thank you very much for this,

    Kind regards,

    Emlyn

    in reply to: Binary search on nuber custom fields #511101

    Emlyn Jones
    Full Member
    Post count: 32

    Thanks Alex – appreciate it.

    E

    in reply to: Binary search on nuber custom fields #511028

    Emlyn Jones
    Full Member
    Post count: 32

    Hi Alex,

    That’s great – thank you very much!

    Look forward to hearing back from you.

    E

    in reply to: WPML – Geodirectory v2 #498050

    Emlyn Jones
    Full Member
    Post count: 32

    Hi Alex,

    I quote my original post:

    [quote]
    All of the custom fields are numbers, which means I don’t want to translate Places, or store the information twice. However I would like a language switcher to be visible on the CPT to switch UI strings (translated in PO/MO), but show the same information.
    [/quote]

    I’d appreciate if you could take the time to flesh out your answers a bit more.

    Are you saying that for what I need, it is *essential* to make the listings translatable?

    Is there *any* way to not have the data stored twice, and to have the language switcher display on the pages?

    Here’s another example of what I am looking for:
    https://wpml.org/forums/topic/display-language-switcher-even-on-non-translated-cpt-pages/

    in reply to: WPML – Geodirectory v2 #498016

    Emlyn Jones
    Full Member
    Post count: 32

    Hi Alex,

    Sorry, can I press you for an answer to the question:

    Do I need an additional plugin to make multilingual possible?

    As to your suggestions re: WPML, I don’t think that is feasible. The language switcher needs to be visible at all times. If a user is on a listing, and hits the language switcher, then it should direct the user to the same page in a different language. The header and footer and all other strings will translate, but display the same content (i.e. not a translation – we do not want any duplicate data stored).

    A similar request can be seen here:
    https://wpml.org/forums/topic/display-language-switcher-even-on-non-translated-cpt-pages/

    Thanks,

    Emlyn

    in reply to: Issue with get_post_info v2 #494832

    Emlyn Jones
    Full Member
    Post count: 32

    Hi Kiran,

    That’s great – so simple! That’s fixed that problem, but unfortunately raised another one.

    I will investigate to see if there’s something I can figure out but may be back in touch.

    Many thanks,

    Emlyn

    in reply to: Issue with get_post_info v2 #494578

    Emlyn Jones
    Full Member
    Post count: 32

    Thanks Alex!

    E

    in reply to: Issue with get_post_info v2 #494538

    Emlyn Jones
    Full Member
    Post count: 32

    Hi Alex,

    Thanks for the reply.

    Can I confirm – my aim is not to output all the care homes onto the page, but to get all the imformation, calculate some statistics, and to store in a CPT as a snapshot for reporting purposes.

    I have had a look at the documentation and can only find what you’re referring to as shortcodes – are they also available as functions…?

    Do you have a link to the docs for those to see if they would work for my use case?

    Many thanks,

    Emlyn

    in reply to: Issue with get_post_info v2 #494488

    Emlyn Jones
    Full Member
    Post count: 32

    Thanks Kor!

    E

    in reply to: Issue with get_post_info v2 #494466

    Emlyn Jones
    Full Member
    Post count: 32
    This reply has been marked as private.
    in reply to: Issue with get_post_info v2 #494464

    Emlyn Jones
    Full Member
    Post count: 32
    This reply has been marked as private.
    in reply to: Issue with get_post_info v2 #494462

    Emlyn Jones
    Full Member
    Post count: 32
    This reply has been marked as private.
    in reply to: Issue with get_post_info v2 #494461

    Emlyn Jones
    Full Member
    Post count: 32
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 31 total)