WordPress.org

Ready to get started?Download WordPress

Forums

Integration & Extensions (1 post)

  1. tibbb
    Member
    Posted 2 years ago #

    Hello,

    I'm trying to integrate WordPress 3 in another PHP site.

    At this point, I can retrieve the content of a post but I don't understand how to apply changes planned by installed extensions.

    My code :

    define('WP_USE_THEMES', false);
    require('../blog/wp-load.php');
    $post = get_post(3);
    $contenu = apply_filters('the_content', $post->post_content);
    echo $contenu;

    I have two installed extensions (iframe, autolink). These extensions have to modify post content but I don't know how to realize their treatments.

    Thank you in advance !

Topic Closed

This topic has been closed to new replies.

About this Topic