WordPress.org

Ready to get started?Download WordPress

Forums

Inline page (3 posts)

  1. banded
    Member
    Posted 6 years ago #

    All,

    Is there a plugin that can put a page into another page?

    I have a static page as front page and another one with my posts.
    I would like to be able to put multiple pages on one page

    There are a lot of inline post plugins, but none for pages.

    I found the aWP plugin, but thisone also seems to be only adressing inline posts

    thx,
    Robbie

  2. michaelisc
    Member
    Posted 5 years ago #

    Inline posts plugin should do what you want. Watch it, though. It's currently breaking my XML feed and I can't figure out why.

  3. chrizbo
    Member
    Posted 5 years ago #

    I was trying to add a page to my index page at the top (before the posts), like this:

    ...
    <div id="content" class="narrowcolumn">
    
    	<div>
    		<?php
    			$insertPage = get_page_by_title('InsertPage'); 
    
    			$insertPage->post_content;
    		?>
    	</div>
    
    	<?php if (have_posts()) : ?>
    ...

    The code doesn't seem to display anything though. Is there something I am doing wrong?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic