Introduction: This is a detailed page of the blank solution on the top of WordPress. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 329777 'rolling = 'no'>
Recently, I have been playing the WordPress topic,
I found a blank box on the top of the page,
This leads to poor advantages of page effects,
So try to remove it.
There are about two reasons for the blank box on the WordPress page:
One, UTF-8 is the file storage type
If the file storage type is different from the version used,
This will cause the above problems.
Solution: After opening all the files in the editor,
File type.
2. Admin-bar
Admin-bar is a toolbar that comes with wordpress3.1,
The default value is at the top,
My page problems also appear here.
Solution: 1. Hide admin-bar
There is a admin-bar.php file in the WP-topics folder,
You can directly set the margin-top of HTML * html body to 0.
2. Remove admin-bar directly.
This does not require forced deletion of files,
In this way, the page cannot be opened easily.
Remove the admin bar from the function. php file of the topic,
CodeAs follows:
Add_filter ('show _ admin_bar ',' _ return_false ');
More articles on "Blank solutions on top of WordPress"
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/329777.html pageno: 12.