• Resolved thomgian7

    (@thomgian7)


    I know there are over 200 posts about this, but I was not finding the information I needed. I recently have written an e-book that I would like to put on my website. All of my pages are static pages, except for my blog page. I want to be able to place my e-book on all my pages so anyone who wants to can just click on it and it will download for them. It is a short book and I am giving it away for free, as this is like a sample book for people to read. Any help would be greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • David

    (@thatseoguydavid)

    If I understand you correctly you want to add a download link for your ebook to every page on your site?

    There are a couple ways you could do this but the easiest would be to link to the file in a text widget. You could also add the code manually to the sidebar.php file.

    The first step is to upload the ebook file to your server, than you can simply provide a link to that file. It depends what your trying to do exactly.

    Thread Starter thomgian7

    (@thomgian7)

    I have the ebook uploaded under Media in WordPress. Is that enough to be able to have it on my website? Also, is there a way that I can have a picture of the front cover of my book on the side bar and then have it say underneath the picture “Click Here to Download” or something to that extent. If I have to write some kind of code, I will do that, however I will need a step by step instructions as to what exactly to write, as I am new to coding.

    David

    (@thatseoguydavid)

    Yes thats fine that it’s uploaded to media, all that does is put it into a folder called uploads on your server. If your site has widgets and you have the ability to add a text widget to the sidebar put the code in there, than you can position it where ever you want in the side bar. If you don’t have a sidebar you’ll need to add it to the sidebar.php file. Which I can walk you through.

    Heres the code
    <a href="link to file goes here"><img src="link to image goes here" width="" height="" border="0"></a>

    What you want to do is go into your media and click show next to the book, this should give you the path to the book, paste that where it says “link to file goes here” the quotes are essential so don’t remove them

    Now you do the same thing to the image of the book where it says “link to image goes here” again keep the quotes also add the height and width(like this height=”90px” width=”90px”

    you can read more about it here https://thatwebguydavid.com/how-to-add-social-media-icons-and-affiliate-banners-to-your-wordpress-blog

    Thread Starter thomgian7

    (@thomgian7)

    Thank you so much. Everything worked as I hoped it would. This was a test run, so I wil probably run it live this weekend coming up. Again, thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding An E-Book’ is closed to new replies.