Why I am unable to access my Wordpress admin page
I was trying to remove the sidebar for one of my Wordpress pages. I followed the instructions in one of the sites that said the following:
Open page.php in your favorite editor, or even in notepad.
Replace the following line:
< ?php get_sidebar(); ?>
With this:
< ?php if (is_page('X')) : ?>
< ?php else : ?>
< ?php get_sidebar(); ?>
< ?php endif; ?>
< ?php get_footer(); ?>
Replacing the x with the page number.
Next, add the following code directly after the closing php tag ?> in your theme's functions.php file:
< ?php
add_action('wp_head','wpi_custom_page_styles',11);
function wpi_custom_page_styles(){
// Conditional Tags « WordPress Codex
$pid = 'refi-google-search';
if (is_page($pid) ): ?>
<style type="text/css">
/* full width 926px + 25px (left & right) padding */
#content{ width: 901px }
</style>
< ?php endif; } ?>
When I did this I could not see the whole page. It came all white.
I tried to go back and change what I have done, but I am unable to enter the wp-admin page. It is also showing all as a white page. I am unable to access my account and change anything.
Please help.
Have a look at how you can optimize the use of your muscle supplements ==>
Muscle Supplement Blog
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."
Have a look at how you can optimize the use of your muscle supplements ==>
Muscle Supplement Blog
Have a look at how you can optimize the use of your muscle supplements ==>
Muscle Supplement Blog
Have a look at how you can optimize the use of your muscle supplements ==>
Muscle Supplement Blog
Have a look at how you can optimize the use of your muscle supplements ==>
Muscle Supplement Blog