Ready to get started?Download WordPress


Improved Include Page - displaying teaser of page (5 posts)

  1. sefnerr
    Posted 4 years ago #

    I've installed the plugin iinclude_page.php and have inserted the shortccode API [include-page id="47" displayTitle="true" displayStyle="DT_TEASER_MORE" titleBefore="<h3>" titleAfter="</h3>" more="continue&raquo;"] using the WP admin page editor. This results in the entire content of page ID 47 showing on the page.

    Can anyone show an example to display just the first 10 lines of the pages content with a permalink to the given page? Is this even possible? I would ultimately like have excerpts/teasers from my subpages displayed on their parent page. Thanks

  2. physalis
    Posted 4 years ago #

    Same thing I want, and same thing happening here... not much of an excerpt showing but the full content as well... is there something we didn't get?!

  3. webbcity
    Posted 4 years ago #

    Me three...Can't seem to get the teaser version of this to work either. Has anyone successfully done this? I've been trying everything I can think of but can't get the code to work right.

    I have this on the front page:
    <?php if(function_exists('iinclude_page')) iinclude_page(26,'displayStyle=DT_TEASER_MORE&more=Learn More >&displayTitle=true&titleBefore=<h4>&titleAfter=</h4>'); ?>

    It works fine in terms of pulling the content from the appropriate page, but I only want a few lines, not the entire thing! I hope somebody has an answer for this, or even another possible approach or plugin...?


  4. webbcity
    Posted 4 years ago #

    Pretty please? Doesn't anyone besides the three of us use this plugin...? ;-)

  5. Jerm993
    Posted 3 years ago #

    I'm using the <!--more--> technique and i get the same result... maybe i should try your way, vice versa?

Topic Closed

This topic has been closed to new replies.

About this Topic