Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • John
    Participant

    Hi!

    Is it possible to generate a shortcode that includes the full content of a page? I’d like to include a page (A) in another page (B) using a shortcode.

    Thanks in advance!

    Hi John,

    Yes that would be possible. This can be only done in a static way (i.e copy the post content and paste it as shortcode content). It is not possible to dynamically fetch the post content. Shortcoder cannot be used for that purpose.

    Shortcoder is useful if you have a huge text/HTML which you want to create a short portable code.

    You can use a plugin like “display posts” to fetch the content using a shortcode.

    Display Posts – Easy lists, grids, navigation, and more

    Please let me know if have any more questions.

    Thanks,
    Aakash

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter