Title: nested shortcode in dflip
Last modified: May 21, 2021

---

# nested shortcode in dflip

 *  Resolved [ajnajao](https://wordpress.org/support/users/ajnajao/)
 * (@ajnajao)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/nested-shortcode-in-dflip/)
 * i want to add a shortcode in the dflip shortcode . like below.
 * [dflip source=[amazon_s3 bucket=booksinpdf object=private/wp-content/uploads/
   2021/05/21113858/RaviJayagopal.pdf] type=”button”]Button[/dflip]
 * i know the proper format, that is as below
    [dflip source=url type=”button”]Button[/
   dflip]
 * But i want to execute shortcode within dflip shortcode so that url will be hidden
   for all the public even in the “page source”.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Deepak Ghimire](https://wordpress.org/support/users/deip/)
 * (@deip)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/nested-shortcode-in-dflip/#post-14469465)
 * Hi,
    We understand that you want to hide the url. But we doubt the url will be
   visible in the final output. In short, if the plugin can load the PDF file, user
   can too! That’s a shortcoming of using PDF.js as rendering engine.
 * For testing try without dflip shortcode and use HTML.
 * `<div class="_df_thumb" source="[amazon_s3 bucket=booksinpdf object=private/wp-
   content/uploads/2021/05/21113858/RaviJayagopal.pdf] > Open FLipbook</div>`
 * [https://dearflip.com/responsive-html5-flipbook-jquery-plugin/#popup-examples](https://dearflip.com/responsive-html5-flipbook-jquery-plugin/#popup-examples)
 * Best Regards,
    Deip
    -  This reply was modified 4 years, 10 months ago by [Deepak Ghimire](https://wordpress.org/support/users/deip/).
    -  This reply was modified 4 years, 10 months ago by [Deepak Ghimire](https://wordpress.org/support/users/deip/).
 *  Thread Starter [ajnajao](https://wordpress.org/support/users/ajnajao/)
 * (@ajnajao)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/nested-shortcode-in-dflip/#post-14469527)
 * 1:i tried the HTML shortcode that you provided above.
    But the problem is: dflip
   not executing shortcode within the source. can you tell me the method how can
   i make shortcode to execute ? 2: you was saying that ” But we doubt the url will
   be visible in the final output” but that will not be a problem, if above code
   will execute within source. because above shortcode will generate signed url 
   every time when it will get executed between source. so there will be no problem
   if url will still visible, it will work only once. 3: many users want to hide
   url from the public. Problem for every user will get solved. i will share the
   whole tutorial, how shortcode is working. that’s way kindly do something that
   shortcode within the above code get executed.
 *  Plugin Author [Deepak Ghimire](https://wordpress.org/support/users/deip/)
 * (@deip)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/nested-shortcode-in-dflip/#post-14471055)
 * Hi,
 * A shortcode inside a shortcode tag won’t work. So this doesn’t work:
    `[dflip
   source=[amazon_s3 bucket=booksinpdf object=private/wp-content/uploads/2021/05/
   21113858/RaviJayagopal.pdf] type=”button”]Button[/dflip]`
 * Have you really tried that?
 * so far we know that nested shortcode work if the shortcode are after the tags..
   `[
   dflip [next_shortcode] ][/dflip]` won’t work
 * `[dflip] [nextshortcode] [/dflip]` works
 * As workaround we tried setting the url in flipbook post (PDF source).
    `http://[
   home_url]/wp-content/uploads/2021/05/glfw.pdf` using plugin [https://wordpress.org/plugins/basic-url-shortcodes/](https://wordpress.org/plugins/basic-url-shortcodes/)
 * and changed the output of that shortcode to remove `http://` so that it would
   work with dflip.
 * Using a file handler as middlelayer is indeed a solution to stop unwanted PDF
   access. But the major issue had been IDM(Internet Download Manager), that can
   hijack the PDF in just one single attempt. There are ways to stop IDM too, but
   then partial loading stops!
 * We had been through these, tried and gave up and yet we love to help someone 
   who is trying to find a solution.
 * Best Regards,
    Deip

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘nested shortcode in dflip’ is closed to new replies.

 * ![](https://ps.w.org/3d-flipbook-dflip-lite/assets/icon-128x128.gif?rev=3175518)
 * [Dear Flipbook - PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer](https://wordpress.org/plugins/3d-flipbook-dflip-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/3d-flipbook-dflip-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Deepak Ghimire](https://wordpress.org/support/users/deip/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/nested-shortcode-in-dflip/#post-14471055)
 * Status: resolved