• Hi,

    I am trying to integrate my wordpress blog into a custom website. I used get_post() to get $mypost->post_content and my blog post is loaded correctly.

    However, the content does not include plugins which are loaded when accessing the wordpress blog itself. Examples of plugins include jetpack, Simple Share Button Plus, WP Google Maps and Yoast SEO.

    May I get some help on how to include plugins into my custom 3rd party website which is not running on wordpress?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The get_post() function gets the posts content, and doesn’t get any of the other meta data (SEO, etc) that’s associated with it. You need to get all of that separetely with get_post_meta().

    Just be aware that a lot of the things that you’re talking about are used/displayed by the theme template files, and not the actual post content, so you might not be able to get much out of it.

    • This reply was modified 8 years, 5 months ago by catacaustic.
    Thread Starter edmundphuang

    (@edmundphuang)

    Thanks catacaustic, I managed to get some values of my Yoast SEO for meta tags.

    However, I need to get the non-wordpress site to display the plugins too, such as Google Maps and and Share Buttons. Any idea how do I integrate these plugins in?

    Example of my wordpress site with the share buttons and maps: https://blog.nestr.com.sg/index.php/bto-guide-skyline-i-ii/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Integrate plugins into non-wordpress website’ is closed to new replies.