Support » Plugin: PDF Embedder » Conflict with OceanWP Product Quick View

  • Resolved stoicassistant


    I want to embed PDF on a Product’s Quick View using Advanced Custom Fields.

    Here is the code:

    <?php $pdf = get_field( 'datasheetquickview' ); ?>
    <?php if ( $pdf ) { ?>
    <?php echo do_shortcode('[pdf-embedder url="'.get_field('datasheetquickview').'"]'); ?>
    <?php } ?>

    Unfortunately, PDF is not returned as an embedded file, it only returns a link to the file (see image).

    What might be the issue here?

    (On the page I linked, only the 600W product quick view is testable for this issue.)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with OceanWP Product Quick View’ is closed to new replies.