• Resolved sinnamon

    (@sinnamon)


    Hi

    I had created custom fields to display criteria on thumbnails for videos. Such as Duration: 5mins, Area of focus: back. It’s a yoga website.

    The variable names I created were working, but are no longer working. When I look at the Custom Layouts plugin settings, for the variables/custom field criteria (only some, not all) I get the message: Custom field not found for this post. And on the front end, it simply doesn’t display.

    Any thoughts?

    Seems to only have happened since updating the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Code Amp

    (@codeamp)

    Hey @sinnamon

    That sounds odd indeed.

    From what I can tell, nothing regarding our custom field element was changed in our recent updates – so it does sound odd its not working – but maybe a change has eluded me.

    To get to the bottom of this can you confirm a couple of things?

    1. Edit the yoga posts in question and double check the custom field is there with a value

    2. Double check the custom field key – if you are using ACF to create custom fields, then this uses 3 keys for any custom field:

    _my_custom_field
    my_custom_field
    field_123456

    What you would need is the second version, without the underscore: my_custom_field – but its possible you’re not using ACF

    3. Can you share a link to the page in question?

    Thanks

    Thread Starter sinnamon

    (@sinnamon)

    Have you an email where I can send screenshots? It’s a members site so you need to be logged in to see the page.

    The variable/custom field name is used on other pages and it works. But not with the one I’m having issues with. I use a – instead of an _ BUT other field/variable names which use a hyphen are working just fine. I’m perplexed!

    No. I’m not using ACF.

    Plugin Author Code Amp

    (@codeamp)

    Hey @sinnamon

    Sorry to hear you’re having this issue.

    I’m going to do a full test of this functionality in our plugin tomorrow – I will report back my findings and if I am able to recreate.

    Regarding an email – I’m afraid I think its against WordPress forum rules to ask / provide info here – I’ve been told off for this before!

    What might work is to recreate the issue on a dev site? If you can’t easily set one up, there are a couple of services I’ve used before that seem to do a great job of generating (free) throw away WordPress sites:

    https://tastewp.com/
    https://instawp.io/

    ** I think some of these sites get destroyed automatically after 8 hours on free accounts, so if you go that route, lets arrange a time I can be available to take a look?

    Thanks

    Thread Starter sinnamon

    (@sinnamon)

    Hi

    Did you get a chance to look at the plugin?

    Plugin Author Code Amp

    (@codeamp)

    Hi @sinnamon

    I did test our custom field, and it seems to work well.

    I tried all types – Text, Number, Date, Link, HTML – and it seems to work ok for me.

    I don’t think this would make much difference but you could try our 1.4.6 beta (it only has a couple of unrelated bug fixes) but it’s worth a shot:
    https://customlayouts.com/documentation/beta/

    If that doesn’t work, then I’ll need to access the issue somehow – can you try that using one the links I provided?

    Also: did you try this on a dev / test install to confirm the issue is reproducible?

    Thanks

    • This reply was modified 2 years, 11 months ago by Code Amp.
    • This reply was modified 2 years, 11 months ago by Code Amp.
    Plugin Author Code Amp

    (@codeamp)

    Closing this ticket for now, let me know if you managed to do the above and we can reopen.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Fields No Longer Working’ is closed to new replies.