• Resolved Joe G.

    (@webgmclassics)


    Is it possible to use do_shortcode in a template file to insert a page?

    do_shortcode('[insert page="404-error" display="content"]');

    I’m using the above in a 404.php template.

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Insert Page Shortcode in Template’ is closed to new replies.