Support

Account

Forum Replies Created

  • Hello.

    Yes that works. I also removed an item called carousel_order that I wasn’t using in the PHP code and I think this may have been causing some problems too.

    Thanks.

  • Actually, I’m not convinced that the errors on debugging were the problem as I’ve noticed I had the same code in the site that I have got working.

    I noticed that the custom field information I’d put in before had disappeared and thought this may have happened when I reinstalled the Advanced Custom Fields plugin and so reentered the first item and then it worked. I did this at the same time as correcting the errors in functions.php. Now I think it wasn’t working before because the data had been deleted.

    However, I can now only enter one set of custom field information (so, only one carousel item) in Chrome. If I try to add another set then it takes ages trying to save the changes but never gets anywhere. If I use Firefox I can add a second carousel item in with no problem.

    I don’t know if these problems are related.

  • Thanks Nuro. The opening tag was there but I hadn’t copied it in.

    Anyway, I seem to have solved this problem now. I hadn’t switched on debugging mode and when I did a few errors came up – one about automatic feed links and another about how I had enqueued jquery. I’ve sorted these out and now get_field() is working.

    I now have another issue where I can’t add more than one item in my repeater field (which I had been able to before) but if I can’t sort that out I’ll start up another topic.

    Thanks again,
    Elizabeth

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