WordPress.org

Ready to get started?Download WordPress

Forums

Scribd code not working! (16 posts)

  1. rajesh0228
    Member
    Posted 4 years ago #

    The special code for WP that I'd copied from Scribd.com & pasted in my Page is not working. That is, instead of displaying the document the code is being displayed.

    What could be the possible reasons?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    You can't place PHP code inside a Post or Page's content without using a PHP include plugin.

  3. If you want to insert a Scribd doc into a post, try embed'ing it instead. For example:

    [embed]http://www.scribd.com/doc/22444938/NIKON-SB-800-AF-Speed-Light-Manual[/embed]

    It works in my test post. See http://codex.wordpress.org/Embeds for more info.

  4. rajesh0228
    Member
    Posted 4 years ago #

    esmi, I do not know why you mentioned PHP code. Coz the Scribd code has nothing to do with PHP.

    The code is in this format:
    [scribd id=<id> key=<key value> mode=list]

    jdembowski, this code is supposed to work just by pasting it in one's Post/Page. In fact, I've done & seen that myself in a WordPress.com. But this is my 1st experience in a self-hosted WP-based site.

    jdembowski, I will try using your technique:
    [embed]....[/embed]. Inform you later about the result.

    I really find it strange that the code is not working!

  5. rajesh0228
    Member
    Posted 4 years ago #

    Ok jdembowski, your technique just shows the link in my Post/Page. But what I want is the document's INTERFACE in my Post/Page. And this is possible ONLY through the special Scribd code.

  6. The embed method works in 3.0-RC3

    http://test.blog.dembowski.net/2010/06/17/test-scrib-post/

    Used to work in 2.9.2 but I'm not running that anymore.

    As esmi pointed out, you can't copy PHP code into a post without a plugin.

  7. rajesh0228
    Member
    Posted 4 years ago #

    jdembowski, did you read my 2nd last post?
    For me your response is not proper - sans you reading that post.

    Btw, what's "3.0-RC3"?

  8. 3.0-RC3 is the version of WordPress.ORG software I am running. Like most, I was previously running version 2.9.2. According to the sidebar here, you are running version 2.9.2.

    jdembowski, did you read my 2nd last post?
    For me your response is not proper - sans you reading that post.

    In fact I did read your posts. My intention was to provide an alternate means for getting a Scribd document into your post using a method that works for me and has worked in the past.

    This is a volunteer driven support forum, so good luck with your problem and have a nice day.

  9. rajesh0228
    Member
    Posted 4 years ago #

    This is a volunteer driven support forum, so good luck with your problem and have a nice day.

    jdembowski, mind explaining this sarcastic comment of yours. What prompted you to do so? Are you trying to act too smart or what?

    Of course, I know this is a "volunteer driven support forum". So?

  10. Tom Weston
    Member
    Posted 4 years ago #

    Hello rajesh0228,

    For this to work on your own hosted site, go to your WordPress Dashboard and install and activate the 'Simpler iPaper' plug-in.

  11. rajesh0228
    Member
    Posted 4 years ago #

    Thanks Tom Weston, I've already done precisely that!
    And it works!

    But we're supplied with only 2 parameters - Width & Height.
    What about alignment? Coz the interface is aligned in the middle & I want to align it to left.

    But I wonder why we should be using the plug-in when the Scribd code should work on it's own, as I'd experienced in WordPress.com (sans using any plug-in)!

  12. Tom Weston
    Member
    Posted 4 years ago #

    I think WordPress.com has its own plug-in installed by default, possibly hidden from the user?

    Not sure about the alignment - you could try putting the code inside a div or table with some alignment settings, but I'm just guessing.

    If that does not work, then the embed technique descibed by jdembowski should give you more control over placement.

  13. Passageiro
    Member
    Posted 3 years ago #

    Yes, of course. The shortcode Scribd don't work to me in my blog wordpress (self-hosted) too.
    Use "ZD Scribd iPaper plugin", ok?
    Good luck
    I'm brazilian (sorry by the wrong words)...

  14. NickFTB
    Member
    Posted 3 years ago #

    Hi, may somebody explain me what is the utility of a specific WordPress code for the Scribd document embed function ? given the fact that the html embed code seems to be effective

  15. If the native HTML embed code works for you, cool. But HTML embed codes often don't survive mangling by TinyMCE. Short codes such as [embed]your supported URL here[/embed] will not get munged by the visual editor.

  16. EC (Lisa) Stewart
    Member
    Posted 3 years ago #

    Thank you Jan! Your embed solution worked! I do wish there was a way to modify the width, however.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags