Support

Account

Home Forums General Issues Add Field to before_widget in functions.php Reply To: Add Field to before_widget in functions.php

  • Hi @toad78

    Could you please make sure that the $widget_id has the right value? Could you please test it by specifying the widget ID manually like this:

    $backgroundimage = get_field('widget_background_image', 'widget_widget-name-99');

    Please change the ‘widget-name-99’ with your widget ID.

    Thanks 🙂