I am using Prose. I am not sure if this is the correct way to do it, but I uploaded a PDF to the media library and inserted it in a page in and it came up as a link, which is what I wanted.
However, I would like it to open in a new window and I am not sure how to do that.
There is a block to check off for opening in a new window but it is asking for a url. I typed in what I thought would be the url for the pdf, but it opened up the whole page, not the pdf.
Can I open the pdf in a new window, and if so, how would I do that?
Thank you for your help,
Please post a link to your site. You need to add to the end of the line target="_blank" before the closing ">;.
<a href="<a href="http://www.yahoo.com&quot" rel="nofollow">http://www.yahoo.com&quot</a>; target="_blank"><a href="<a href="http://www.yahoo.com&quot" rel="nofollow">http://www.yahoo.com&quot</a>; target="_blank"> </a>
I hope you can figure that out. The code is not applying properly on the forum which is very frustrating when trying to assist people.
Thanks for your help. I'm not set up yet, but I posted an example at http://unclaimed-funds.org/california/ all the way at the bottom where it says sample agreement.
Was the first step of putting it in the Medial Library correct/
When you upload using the Media Library - there is a box you can check to open it up in a new window and it will place the proper code in there for you.
Thank you Anitac, but I am not seeing that option.
Title, Caption, Description and then
Attachment Display Setting, Link to:
Media File, Custom URL, Attachment Page, or none.
Ok, once you attach and link the file, in edit mode - click the document, then the CHAIN LINK image - it will open up - you will see a check box to open it in a new window or you can add target="_blank" to the code in HTML mode.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!