Title: Post type
Last modified: August 21, 2016

---

# Post type

 *  Resolved [Johan Nijdam](https://wordpress.org/support/users/johannijdam/)
 * (@johannijdam)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/post-type-2/)
 * Hello,
 * I’m trying to load the viewer in a custom post type (so not the standard page
   or post), but now it doesn’t load the viewer.
 * I tried to find a solution myself, but couldn’t. Can you help me? Or am I doing
   something wrong? (I just installed the plugin and activated it, then uploaded
   some files to test)..
 * Thank you in advance!
 * Johan
 * [http://wordpress.org/extend/plugins/google-document-embedder/](http://wordpress.org/extend/plugins/google-document-embedder/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/post-type-2/#post-3951265)
 * Hi there,
 * If shortcodes work in your custom post type at all, there’s no reason GDE shouldn’t
   work out of box in that situation. What problem are you having exactly? Do you
   see an error, or just the download link, or nothing at all?
 * Thanks,
 * Kevin
 *  Thread Starter [Johan Nijdam](https://wordpress.org/support/users/johannijdam/)
 * (@johannijdam)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/post-type-2/#post-3951296)
 * Hi Kevin,
 * Thanks for your reply. I’m using multi site which works without a problem. Post
   and Pages shows GDE perfectly. But as soon as I add a “custom post”, I see only
   the shortcode (in the front- and backend). Looks like it’s not triggered for 
   a custom post type…
 * Thanks!
    Johan
 * PS: if I find the solution, I will let you know
 *  [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/post-type-2/#post-3951324)
 * Johan,
 * I haven’t used custom post types, but in order to use the shortcode in other 
   areas that aren’t shortcode-aware the [do_shortcode](http://codex.wordpress.org/Function_Reference/do_shortcode)
   function sometimes works. May or may not apply to your situation.
 * Let me know what you find out.
 * Kevin
 *  Thread Starter [Johan Nijdam](https://wordpress.org/support/users/johannijdam/)
 * (@johannijdam)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/post-type-2/#post-3951383)
 * Hi Kevin,
 * I found the solution, the problem was not on your plugin. I did something wrong
   on my template.
 * I wanted to echo my content of a post, which I did with this:
    `echo get_post()-
   >post_content;`
 * I found out that this is just the content, but you need to “apply a filter” over
   the content to get the plugin content doing his thing… so I did…
    `apply_filters('
   the_content',get_post()->post_content);`
 * and now it runs perfectly! So thanks for your fast feedback! And I hope other
   developers can use this small piece of information 🙂
 * Johan
 *  [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/post-type-2/#post-3951385)
 * Johan,
 * Thanks for your work on this and for reporting it here. Should be useful in case
   anyone else encounters this!
 * Kevin

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Post type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-document-embedder_484848.svg)
 * [Google Doc Embedder](https://wordpress.org/plugins/google-document-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-document-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-document-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/google-document-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-document-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-document-embedder/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [post_type](https://wordpress.org/support/topic-tag/post_type/)

 * 5 replies
 * 2 participants
 * Last reply from: [k3davis](https://wordpress.org/support/users/k3davis/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/post-type-2/#post-3951385)
 * Status: resolved