Support

Account

Home Forums General Issues Saving Field as a variable not working Reply To: Saving Field as a variable not working

  • Hi @o3odesigns

    Use the get_field() function, instead of the_field() function to store it as a variable. Look at the example below:

    <?php $colourHoy = get_field('colour_pagina'); ?>