Support

Account

Forum Replies Created

  • Never mind, fixed the problem. I was using “get_field” in the If statement rather than “get_sub_field”. It’s always the little things! 🙂

  • Hi there, I had a similar problem. Are you putting the code into your theme’s function.php rather than the core wordpress function.php?

  • Nevermind I realised my mistake. I was entering the data into the core functions.php rather than the one belonging to the theme. I’m only just getting back into wordpress after a few years working with other CMS’s so I’m a little rusty haha.

    Thanks for your help anyhow!

  • Hi elliot. I only get the error if I remove the If function exists statement, when it’s put at the end of functions.php as…

    if( function_exists('acf_add_options_sub_page') )
    {
        acf_add_options_sub_page( 'Footer' );
    }

    No php errors show up, its just that nothing happens.

    No spelling mistakes made, just copying and pasting. The options add-on is installed and works fine. Let me know if you need any more details, this is a great plugin.

  • No, I don’t think it’s related. I’ve just reinstalled wordpress which fixed the “F” problem, but this is still there.

    I’ve just installed it as a regular plugin yes via the admin panel.

    I’m just adding the code in my original post to functions.php then uploading it via FTP but nothing happens.

  • Hi, it was on a test wordpress so I’ve reinstalled wordpress and it seems to have fixed the problem. Thanks for the help though. Not sure what went wrong.

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