Wp divi theme how to add pdf download link
Enabling PDF lightbox on an image is the same as enabling the effect on a button. In this section, we will discuss how to automatically open a PDF lightbox on page load. First please follow the above tutorial to add a PDF lightbox to a button, image or text.
When adding the CSS classes, change the classes to:. In the above code, wplightbox-autoopen-true will automatically open the lightbox popup on page load. The class wplightbox-autoopenonce-true tells the lightbox to remember the status of the popup and open it only once. By default, the status is saved in session cookies, if the visitor closes the web browser and visits the webpage again, the lightbox will popup again. Step 5: Copy the URL. Step 6: Now you are ready to place the pdf download link on your desired page.
Step 7: From the list of pages, click on the title of the page you wish to edit where you wish to place your pdf download link. A text module is simple, and you can create your pdf download link as a text link.
To insert the download link into a button module or a module that uses a button link : Open the Module Settings, like you would with a text module these settings are automatically open when you add a new module. Write in your desired button text; Paste in your download link. If you don't want to wait, you can subscribe and we'll send you the link directly in your inbox. We also hate spams. Your download will start right away If not, click on the download link.
Recent Reviews Recommended. Brand viewer with you own logo Logo links to homepage of your site 4 Shortcodes with lots of parameters. Mar WordPress Tutorials. May By rifat Read More. Sep Optimized Hosting. Powerful WordPress Theme. About Us We're passionated web designers in love with what is trending, beautiful and handy. This website has links that might be an affiliate link.