PDF embed not working once converted to shortcode

  • Unknown's avatar

    I am trying to embed a PDF onto my site using OneDrive using the instructions provided at http://en.support.wordpress.com/word-web-app/ . I know the code generated by OneDrive works because it will display correctly on Blogger. However, every time I update the page I am embedding onto, the code will auto change to a shortcode and not work. The embedded code use to work on WordPress, but now will not. I have tried using a Word doc and not a PDF and get the same problem.

    Is there a way I can stop WordPress from automatically making my code a shortcode?

    OneDrive code:
    <iframe src=’https://onedrive.live.com/embed?cid=B480B32805C40C6A&resid=B480B32805C40C6A%211022&authkey=AMNRTJaXlYZjIPM&em=2&wdStartOn=1′ width=’476px’ height=’288px’ frameborder=’0′>This is an embedded Microsoft Office PDF, powered by Office Online.</iframe>

    Auto generated shortcode:
    [office src="https://onedrive.live.com/embed?cid=B480B32805C40C6A&resid=B480B32805C40C6A%211022&authkey=AMNRTJaXlYZjIPM&em=2&wdStartOn=1"]

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    And sometimes it fixes itself for no reason and I don’t know why…

  • The topic ‘PDF embed not working once converted to shortcode’ is closed to new replies.