WordPress theming a plugin custom php page with the same selected theme

I’m writing a plugin that is a gateway to a merchant server. The plugin is activated by a shortcode and then it shows a confirmation page. The confirmation page will get the user to the bank and it will get back to an OK or KO page of the plugin.

These two pages are into the plugin folder and I want their look and feel similar to the blog (almost for header and footer).

Read More

I cannot call the get_header or get_footer because they are not included.

Is there a workaround to my problem?

Related posts

Leave a Reply

1 comment