WordPress.org

Ready to get started?Download WordPress

Forums

Google Doc Embedder
[resolved] Shortcode showing instead of the embed file (6 posts)

  1. pierino84
    Member
    Posted 1 year ago #

    Hello, I've just installed the Google Doc Embedder plugin, but I cannot get it to work. WHen I insert a media file in the editor, a shortcode is created (one like this) :

    [gview file="http://www.gaussteam.com/wordpress/wp-content/uploads/2013/01/xxx.pdf"]

    When I preview the page, or publish it, there's no sign of the embed file, there's just the same shortcode written in the page.
    My theme is Unite, WP 3.4.1, PHP v5.3.19.
    Do you have any clue about what I can do to make it work?
    I tried deactivating all the other plugins. No luck.
    Thanks a lot.

    http://wordpress.org/extend/plugins/google-document-embedder/

  2. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    If the shortcode is being written to the page, the plugin would seem to be deactivated. With GDE activated and a proper shortcode, these are the only possible outcomes:

    * the viewer displays
    * the download link displays (file is too large to embed)
    * an error message displays (some error occurred)
    * nothing displays at all (the error is hidden in HTML comments per setting, or the browser cache needs to be cleared)

    Displaying its own shortcode isn't possible under normal use unless the plugin is deactivated, or perhaps your theme is stripping them for some reason. If you're sure it's activated and the shortcode is clean (no hidden HTML in it, etc - check the HTML editor, not just the visual), try switching momentarily to one of the WP default themes to see if that resolves the problem.

    Thanks

    Kevin

  3. pierino84
    Member
    Posted 1 year ago #

    Hello,
    thanks for your reply.
    The shortcode is ok, I had already checked the html code. The plugin is activated.
    Unfortunately it would be a big issue for me to switch to a default theme right now. Please let me know if I can do anything useful for debug purpose.

  4. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    Unfortunately, since you have already tried disabling other plugins, the theme is the only possible culprit I can think of that could interfere with the shortcode.

    You could try installing another plugin that relies on shortcodes just to see if all shortcodes are affected. That would again point to some outside interference but wouldn't necessarily solve the issue.

    It's possible your WP install itself is incomplete or corrupted, but I highly doubt this.

  5. pierino84
    Member
    Posted 1 year ago #

    Hello Davis, sorry for my late answer. There was a bad misconfiguration of the WP install. Now everything is working fine. Thanks and bear with me for troubling you.

    Rick

  6. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    Glad it's working now!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.