Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. How to embed PDFs in Laytheme

How to embed PDFs in Laytheme

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 649 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    achimaachen
    wrote on last edited by
    #1

    Hi there,

    I just got a Laytheme Pro Licence in oder to design an artists portfolio website in which the catalogs have to be embedded both viewable and downloadable as PDFs.

    • Using "Add Media" and then uploading the PDF-file as with images doesn't seem to work, right?
    • I uploaded the PDFs with Filezilla to my webspace on my provider's server (strato.de), but now, there seems to be no way to link the files on the server via URL.
    • Can you recommend a PDF-viewer plugin that works smoothly with Laytheme?

    Thanks in advance, best
    Achim

    1 Reply Last reply
    0
    • C Offline
      C Offline
      comedowntous
      wrote on last edited by
      #2

      Hi - A way to do this would be to create a folder within your theme files or the public html folder - perhaps using ftp and uploading the pdf file for each artist in a sub folder. You would then only have to create a link on the artist portfolio site and 'link' this to the file. Hope this helps.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        achimaachen
        wrote on last edited by
        #3

        Thanks!
        But where on the server) should I place the PDF folder, so that it later appears in Laytheme and I can create a link to the file?
        Achim

        Here is the folder structure of Laytheme on the server (accessed with FileZilla):

        Screen Shot 2020-01-17 at 17.49.35 PM.png

        1 Reply Last reply
        0
        • C Offline
          C Offline
          comedowntous
          wrote on last edited by
          #4

          I would actually create the folder outside of wordpress as to prevent any changes to the theme.

          When you log into the ftp you should see something similar to the image below - Screen Shot 2020-01-17 at 12.07.50 PM.png

          The folder highlighted 'public_html' is where you would like to create your pdf folder - I would then create a folder for each individual artist and upload the pdfs there.

          Once you have done that the next step would be to decide where exactly you would like to place these links on your page - then move on to creating the links.

          A basic link in html is done in the following way - using the html editor in LayTheme type the following:

          <a href="https://thenameofyourwebsite.com/pdf/artist name/the exact name of the pdf file.pdf">Here you type what you would like to appear as the actual link title</a>

          In essence you are creating a link to the pdf files which you've previously uploaded.

          1 Reply Last reply
          0
          • mariusjopenM Offline
            mariusjopenM Offline
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Dear @achimaachen
            you normally can upload PDFs into the media library!

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            C
            chrisboender
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search