I am trying to get a value from an ACF field into a Skill bar shortcode.
But I am not very good at PHP, can you please help me?
The field type is number. I also tried get_field but it didnt work.
<?php echo do_shortcode("[x_skill_bar heading="SVÅRIGHETSGRAD" percent=\"$grad\"]");
{
$grad = get_field_object('svarighetsgrad', [$load_value]);
}
?>
