WordPress.org

Forums

Simple Google Docs Viewer
Template callback does not work (3 posts)

  1. tweetpressfr
    Member
    Posted 1 year ago #

    I'm trying to use this in my code.
    I grab URL from some custom field in post edit and echo it as :

    echo simple_gviewer_embed($my_link, array(640, 400, 'fr'));

    But It does not show. Am I missing smth?
    Any help would be much appreciated.

    http://wordpress.org/plugins/simple-google-docs-viewer/

  2. imahasneh
    Member
    Posted 12 months ago #

    There is an error in the function simple_gviewer_embed (line 95, simple-google-docs-viewer.php).
    Trying to call a global variable in line 96 that is never defined/given a value. Change it to something like this to work:

    $simple_google_docs_viewer = simple_google_docs_viewer();

  3. foroshgahe
    Member
    Posted 12 months ago #

    hi
    http://wordpress.org/support/topic/template-callback-does-not-work
    please check your web [signature removed]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Google Docs Viewer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.