In Progress

Create a Wordpress [url removed, login to view] "BLANK page"

I am trying to make an admin page for a plugin in wordpress that does not output anything other then the data I want as output. Basically the page would be called as follows:

[url removed, login to view]

When you look at the page in the browser there would be no sidebar no topbar, just whatever the contents of the include page generated.

When I say generated, to create the page we include another php page with a hook in the wordpress plugin to be loaded based on the url string variable in "page". So in the example above "page=myblankpage". The include looks like this:

====== Start Code Below =====

add_submenu_page( '', 'My Page Title Here','My Page Name', 'manage_options', 'myblankpage', 'the_function_to_include_myblankpage_php_file' );

function the_function_to_include_myblankpage_php_file()

{

require_once('extrafiles'. DS .'[url removed, login to view]');

}

====== End Code Above =====

What happens is that Wordpress includes and displays an admin page with the sidebars and headers and whatever the output or contents of '[url removed, login to view]' that is located in the relative URL of wordpress:

[url removed, login to view]

What I need is to have wordpress not display the headers, footers, menus, HTML Body Tags nothing... but the contents of '[url removed, login to view]'.

The reason I want to do this is so that I can submit data from another page to this page and have the result only contain the data, or be able to do a header location redirect, which currently can not be done because when Wordpress creates the headers and footers, it can no longer manipulate the header, you get a Header already sent php error.

There is probably a hook that allows this to be done before anything else is executed, I just don't know what it is and have no time to mess around with it myself.

I have included a screenshot with what I want and what I am getting so you can see visually what I mean.

The first screenshot is named: [url removed, login to view] and it shows what is happening now.

The second is called [url removed, login to view] and shows what I want to happen.

PLEASE NOTE: the only data in the file '[url removed, login to view]' is “YES IT WORKED" so that is all I want in the source of the generated HTML.

If you think you can do this and fast, I mean in an hour or 2 because you know Wordpress, then apply, if not, please don't.

This should be quick for someone who knows what they are doing so please bid accordingly.

Skills: MySQL, PHP, Software Architecture, WordPress

See more: what can i say what can i do, php string to html, i need a quick code for wordpress

About the Employer:
( 14 reviews ) Hamilton, Canada

Project ID: #9825708

Awarded to:

$10 USD in 1 day
(9 Reviews)
3.6

6 freelancers are bidding on average $29 for this job

vickycolt

Hello Sir, my name is Vicky,i have read the description and clearly understood the details and i am interested in doing this project. Feel free to ask [url removed, login to view] You! Regards,Vicky

$30 USD in 1 day
(146 Reviews)
6.7
Khiroda

Dear Sir, As I can see from job posting, you are in need of a wordpress expert who can help you with your Wordpress developer project. Well, I am highly interested in applying for this. I have been working on wordpre More

$30 USD in 1 day
(2 Reviews)
3.5
stuertbanny

Dear Employer, Greetings!!! Thanks for posting this job [url removed, login to view] we can do this job with quick turnaround. So kindly share your details via PMB and come there to discuss more onto this job. Looking forw More

$25 USD in 1 day
(9 Reviews)
2.9
$25 USD in 1 day
(0 Reviews)
0.0
onlydhavalshah

A proposal has not yet been provided

$56 USD in 1 day
(0 Reviews)
0.0
sukhdevidhanoa60

im expert i can do within 1-2 hours

$35 USD in 0 days
(0 Reviews)
0.0