0

I am new to wordpress custom page development.

I'm trying to show flowpaper pdf in my custom page.

This is the shortcut code

[flipbook pdf="http://www.africau.edu/images/default/sample.pdf" lightbox="true" cover="" height="900"]

i want to show this on click.

<ul class="ul_items">
<li><a href="">one</a></li>
<li>two</li>
</ul>

i tried this

<?php echo do_shortcode('[flipbook pdf="http://www.africau.edu/images/default/sample.pdf" lightbox="true" cover="" height="900"]'); ?>

but this is showing in page. :(

suggest me how can i achieve this on click of "one" it should appear.

Thanks a ton in advance.

5
  • Have you seen this? wordpress.stackexchange.com/questions/72974/…
    – fuxia
    Commented Jun 27, 2018 at 10:18
  • nope .. but, for just to echo a shortcode, we have to develop this much code? Commented Jun 27, 2018 at 10:30
  • How does your shortcode code look like?
    – D. Dan
    Commented Jun 27, 2018 at 11:27
  • [flipbook pdf="africau.edu/images/default/sample.pdf" lightbox="true" cover="" height="900"] it isin my poseted question Commented Jun 27, 2018 at 12:03
  • Create a popup and add that shortcode in the popup. On click of your link, open the popup, so now your Flipbook will be opened in the popup. Commented Jun 27, 2018 at 15:35

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.