Home Forums General Issues Custom Youtube Field Not Displaying


Custom Youtube Field Not Displaying

  • Custom youtube field stopped working all of a sudden. It just shows a blank youtube iframe on the front end with an error message (An error occurred. Please try again later…).

    Also when viewing the html code, it doesn’t look like it’s getting the value of the custom field.

    <iframe src=””></iframe&gt;

    Here’s our existing code:
    global $product;
    $pp_id = $product->get_id();
    $ff = get_fields($pp_id);
    <iframe src=”;?= $ff[‘youtube_section’][‘youtube’];?>”></iframe>

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.