• Resolved miruru

    (@miruru)


    I am currently using the Improved Include Page plugin to be included on my posts page. Its works however, it doens’t display the full content of the page, it displays about 20 words and it loses the formating of the pages as well i.e. i am using lists but it removes them off the page.

    The code i’m using is just:

    <?php if(function_exists('iinclude_page')) iinclude_page(628); ?>

    which is outside of The Loop.

    What do I need to do in order for it to display the full content of the page with its formatting?

    Many thanks in advance ^_^

Viewing 2 replies - 1 through 2 (of 2 total)
  • If I understand correctly, iinclude_page(628) returns the content you need except it is not formatted. You need to run through one of the filters that WP uses itself:

    apply_filters('the_content', iinclude_page(628));
     apply_filters('the_excerpt', iinclude_page(628));
    Thread Starter miruru

    (@miruru)

    i see. after hours of working on it, i decided to create a php template page to iclude the information i need so that the posts for certain categories would appear at the bottom. This way, i can keep the formating. This seems to have worked well. I just added the php include into my template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Improved Include Page] not display full content and formatting.’ is closed to new replies.