WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Cyril v2.0.3

Page In Page

This plugin helps you insert a post or page from the WP posts database table within another, bring your Facebook posts and Twitter feeds to your blog.

Page In Page

The facts

Rating
4.3★ from 4
Active installs
200+
Price
Free
Last updated
24 Feb 2014
Added
Nov 2013
Requires WP
3.0.1
Tested up to
WP 3.7.41
Downloads
7,914

Our analysis

AI-assisted

Page In Page is a WordPress plugin that allows you to insert posts and pages within each other, facilitating the integration of content from your site and social media. You can use either widgets or shortcodes to display this content, with specific options for showing titles, content, and featured images. The plugin also enables you to bring in recent posts from Facebook and tweets from Twitter, although it limits the number of items displayed from each source.

Best for: This plugin is suitable for users who want to embed social media content and interlink their posts and pages easily.

What it does well

  • Insert posts and pages within each other
  • Supports both widgets and shortcodes
  • Displays recent Facebook posts and tweets
  • Customisable output templates for widgets

Where it falls short

  • Limited to the first 25 Facebook posts and 20 tweets
  • Last updated in February 2014, may not be fully compatible with newer WordPress versions
  • Directory score indicates potential issues

Verdict

Page In Page provides a straightforward way to enhance your WordPress site with embedded content. However, its outdated status and limitations on social media feeds may affect its usability.

From the developer

Cyril's own description of Page In Page, lightly tidied.

The page-in-page plugin has a very simple mission:

  • Insert posts and pages within each other with no stress.

  • Bring your Facebook Page posts to your WP pages.

  • Show your Tweets in your WP blog.

It provides possibilities to use both widgets and shortcodes. If using a widget you are only able to include pages within pages but if using the shortcode, you are able to able to insert posts/pages
within other posts/pages.

For Facebook Page posts, only the first 25 most recent posts are returned and for Tweets, only the first 20 most recent tweets are returned. In future releases maybe we will include pagination for social feeds.

Usage

Using the widget

The settings in the widget include:

  • Title: Widget Title. This title will be shown as the page’s title if ‘Show page title’ option is not selected.

  • Page: Select the page that will be included when widget is called.

  • Show page title: If checked (selected) then the page title will be shown and the ‘Widget Title’ ignored.

  • Show title as link: If checked (selected) the title will be displayed as a link to the page.

  • Show page content: If checked (selected) then the page content will be included in the output.

  • Show featured image: If checked (selected) then the featured image will be included in the output.

  • Show featured image as link : If checked (selected) then the featured image will be included and linked to page in the output.

  • Output Template: Insert an HTML template that will be used to display content of the widget. If not provided the default template will be used

    Slugs that can be used in your template are ${page_title}, ${page_content}, ${page_link}, ${page_image} . Each are self explanatory of what they will be replaced with.

    The default output template is

    ${page_title}

    ${page_content}

Using shortcode

With shortcodes, you can insert posts in posts, pages in pages, posts in pages and vice versa.

Settings that can be used in a shortcode are:

  • id : The ID of the page/post you want to insert
  • show_page_title: should the page title be displayed? (Can be 1 for true or 0 for false. Defaults to 1)
  • show_page_content: should the page title be displayed? (Can be 1 for true or 0 for false. Defaults to 1)
  • show_title_as_link: Can be 1 for true or 0 for false. Defaults to 0. If set to 1, the page title will be displayed as a link to the page/post
  • show_featured_image: Can be 1 for true or 0 for false. Defaults to 0. If set to 1, the page’s featured image will be included
  • show_featured_image_as_ink: Can be 1 for true or 0 for false. Defaults to 0. If set to 1, the page’s featured image will be included as a link

Note that if you are specifying a template in the shortcode, then the above settings will be ignored and the slugs you insert in your template will be replaced with appropriate content.
See a template example and allowed slugs above.

To insert a shortcode you can do one of the following:

  • To insert without specifying a template you can simply use

    [twl_page_in id=123] OR [twl_page_in id=123 show_page_title=1].

  • To insert your shortcode specifying a template for page/post’s title and content use the following. You can include other supported slugs mentioned above

    [twl_page_in id=123 show_page_title=1]

    ${page_title}

    ${page_content}

    [/twl_page_in]

    The template specified in the [twl_page_in] tag will be used to display the page/post with the specified id when inserting it. The template is optional and if not specified then the default template will be used.

    IMPORTANT!!! If you specify a template, you MUST have the slugs you want to be shown else you might get unexpected results

    IMPORTANT!!! This template has to be defined when Editor is in ‘Visual’ mode and NOT in ‘Text’ mode (see screen shot). If you do not respect this you might have unexpected results because HTML tags might not be parsed properly.
    However if you have escaping with magic quotes off on your server then template should be defined when editor is in ‘Text’ mode.

  • To insert posts from your Facebook page, Go to Admin > Settings > Page In Page Plugin and insert your facebook application credentials.
    Next edit the page where you want the posts to appear and insert the short code [twl_page_in_fb]. See screenshot 3 for output.

  • To insert tweets from your twitter account, Go to Admin > Settings > Page In Page Plugin and insert your twitter application credentials.
    Next edit the page where you want the posts to appear and insert the short code [twl_page_in_tw]. See screenshot 4 for output.

What Next?

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for social media.

Smash Balloon Social Photo Feed

Formerly "Instagram Feed". Display clean, customizable, and responsive Instagram feeds from multiple...

Free 1M+ installs 4.9★ (4,350)
Nextend Social Login and Register

One click registration & login plugin for Facebook, Google, X (formerly Twitter) and more. Quick setup and...

Free 200k+ installs 4.9★ (446)
Smash Balloon Social Post Feed

Formerly "Custom Facebook Feed". Display completely customizable Facebook feeds of a Facebook page....

Free 200k+ installs 4.7★ (1,508)
Custom Twitter Feeds

Display X posts (Twitter tweets) from any public user account in a clean, attractive looking feed that updates...

Free 100k+ installs 4.8★ (401)