T5-Admin-Menu-Demo
T5-Admin-Menu-Demo copied to clipboard
how can I make it print full html page?
Hi. Great plugin! :) I want to basically have a "help" page for my clients so they know how to reach me. I want to design in a little bit so I used HTML + CSS files and created a designed page with information, link, and stuff like that.
I can't seem to get the code to show all the page (includes his css)
this is what I've changed
function wpse_91693_render()
{
global $title;
print '<div class="wrap">';
print "<h1>$title</h1>";
print '</div>';
$file = plugin_dir_path( __FILE__ ) . "index.html";
if ( file_exists( $file ) )
require $file;
print "$file"; // this line
}
You have to change the method for enqueuing the CSS file. Use your own file name there, that should work. Make sure the path matches. Good luck!