Support

Account

Forum Replies Created

  • I was looking around to do this and found this resource, maybe at one time it was a location setting but now seems it isn’t? I’m hoping all the code to display things is still about right from the below page.

    https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/

    For now ive set the location as taxonomy and showing category gets it to display on all categories pages but i cant filter which categories it will display in, just defaults to all of them, which will do me for now.

  • Cheers for this code, worked for my needs except for the

    $date_default_timezone_set

    it was throwing an error when the cron ran saying the variable wasn’t defined. My needs aren’t that time critical, an around about that time/day will do so I just removed them both and all good.

    Note that the second variable, in the above example for the expiring back to a draft is missing the $ at the start (wasn’t the cause of my error as I’m aware).

    I was at a loss on what to do when clients will inadvertently set a publish date in the future, then hit the publish button and of course contact me asking why its already published. Figure I will hide the publish button with CSS and beef up the Save as Draft text link to be button looking, should do the trick I’m hoping

    Thanks again for the post.

    Mac

  • Thank you John,

    Your switch code here was exactly what I needed. I was able to show/hide sections in Oxygen based on the repeater to show product descriptions, I am not a coder by any means, your explanation and code example was so easy to understand and implement though.

    Really appreciate it.

    macaulus

Viewing 3 posts - 1 through 3 (of 3 total)