[Resolved] Use embedding on some pages and links on others
Can you clarify what you mean about “I want to the text to be linked to the doc”?
For pages where you don’t want the viewer, you don’t need to use the shortcode at all, but just insert the link using standard WP means. I presume this isn’t what you mean, though, so feel free to explain further.
No worries, I figured it out, I have to code the href to do what I want.
I think I have the same question as JTobey. The Upload/Insert button in the Edit Page section of WordPress appears to automatically default to Google Doc Embedder when adding media to the page. If I’m editing the page that’s not a problem as I can just code the href on the HTML side like JTobey seems to have done. However, that’s a bit of a fiddle for my users who are trying to edit their own pages.
Is there any way to make the Upload/Insert button default to the standard WordPress text link and only have the Google Doc Embedder work when it’s button is used from the editing bar?
Many thanks, great plugin by the way!
Certainly, this behavior in GDE can be turned off.
In GDE 2.4.x:
GDE Settings > Advanced Options/Editor Behavior > uncheck “insert shortcode from Media Library”
In GDE 2.5:
If you’re using WP 3.4.x, you can check/uncheck a box in the media library itself to use the shortcode or not at the time of insertion. This does not work with the uploader changes in WP 3.5 beta yet, but the above setting still exists also:
GDE Settings > Advanced tab > uncheck “Insert shortcode from Media Library by default”
Hope this helps.
My pleasure. Thanks for the kind remarks about the plugin.
In hindsight, I’m sorry JTobey for misunderstanding your question. Hopefully this answer is more helpful. 🙂
- The topic ‘[Resolved] Use embedding on some pages and links on others’ is closed to new replies.