Can't upload pdf files and display them like I used to
So, after reading the discussion about how to integrate pdfs I must say I am not much smarter because I don’t use the html code.
In a nutshell, in an earlier version of Graphene, I uploaded pdfs to the media gallery (I believe that’s where it was), and simply linked them to a word in any of my posts. Upon clicking on the linked word, the pdf would either open right there and then (in the same window), or another window with the exact same page opened and the pdf was displayed there.
I guess this function has been changed because now the results I get are different, and they don’t satisfy me.
What can I do to have it the way it was?
AndreaModQuote:because now the results I get are different, and they don’t satisfy me.
How are the results different? In which way are they are unsatisfactory?
AFIK, the media gallery is a WP function, not a theme function. This still works for me. Here is an example: http://teachingblog.kjodle.net/?attachment_id=498
how did you get the files on this page:
to open the way they do?
Because that’s what I am trying to do, but I find myself unable (or unwilling at this point) to accomplish that.
I re-posted the pdf on my webpage and the result is this:
When you click on ‘syllabus’, it takes you to another page, and then you can click on the file name (which isn’t supposed to be displayed like that), and then the pdf will (should) open in another window.
Okay, I admit that I cheated on the example you gave, because I actually uploaded those to a separate subdomain and just made a regular link.
But I think I see the problem you are having and this is with the new WordPress update.
If you edit those pages, you will see to the right a link to the File URL. That is the link you want to use in your blog post to link directly to the file.
Let me know if that works for you.
I tried what you suggested but the result is still the same, looks even more interesting respectively.
I have no idea why it automatically inserts X. Griffin and an email address in the comment function.
This is the URL I used:
It was so much easier in an older version of wordpress.
Help!ModQuote:I have no idea why it automatically inserts X. Griffin and an email address in the comment function.
I’m not quite sure what you mean by that.
The first syllabus link on that page opens to an attachment page, which I presume you don’t want.
The second syllabus link on that page opens directly to the pdf, which is what you want, I think?
You must be logged in to reply to this topic.