Posts Tagged ‘theme’

Require login to view a Wordpress site

On a Wordpress site I have setup, I needed the ability to require user authentication before allowing anyone to view the website. To do this, just add the following snippet to the theme files:
get_currentuserinfo();
global $user_ID;
if ($user_ID == ”)
{
header(‘Location: wp-login.php’);
}
Now you will be greeted with the Wordpress login [...]

Who turned off the light?

So I have once again changed the theme for this site, because I just don’t have enough things to do already. I started out with the Hemingway theme and changed the color scheme, fonts, layout and some other things.
As a result, some things will definitely be broken for a while until I fix everything up. [...]

Good morning — brighting it up

I have received some complaints for my website being white-on-dark, which supposedly makes it harder to read. So I will of course abide and change it, but now I will not just change the colors, but the entire theme has been upgraded. Sure, there are some kinks and other mind numbing problems, but they will [...]