Support

Account

Home Forums General Issues Get HTML Tag inside Custom Text Area Reply To: Get HTML Tag inside Custom Text Area

  • Hi @blasphemine

    You can’t use the get_field in this way, but you can use some simple PHP to do so like this:

    
    $text = get_field('content_left');
    $text = explode('</h1>', $text);
    $text = current($text) . '</h1>';
    
    echo $text;
    

    Not sure if that actually works, but the logic is there.

    Thanks
    E