WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. tweetpressfr
    Member
    Posted 10 months 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 2 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 2 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.