WordPress Bad Cert

Scan your WordPress code to turn off SSL Check, if you are behind a Firewall that re-writes the certs.

Searching for: sslverify
wp-includes\class-http.php(230): 'sslverify' => true

WordPress Unable to Upload Files

Refer: https://goo.gl/iZ56R3

  • Log into your WordPress admin dashboard
  • Go to Media Settings menu (Settings -> Media)
  • Enter wp-content/uploads in the “Store uploads in this folder” text box
  • Save the changes by hitting the “Save Changes” button and you are done

 

Using PHP in WordPress Text Widgets

Have you ever wanted to use PHP in WordPress text widgets? All of us have. Here’s a neat little trick to allow you to insert PHP in WP text widgets. Sure, there are several plugins which allow you to do that. But isn’t it neat to use the default WordPress Text widget and give it the PHP dimension? Copy and paste this into your functions.php file and see the magic happen.

add_filter('widget_text', 'php_text', 99);
function php_text($text) {
 if (strpos($text, '<' . '?') !== false) {
 ob_start();
 eval('?' . '>' . $text);
 $text = ob_get_contents();
 ob_end_clean();
 }
 return $text;
}

How to turn off WordPress smart quotes

There are actually a few different ways to do this, including modifying the functions.php file in your theme folder, or modifying the default-filters.php file in your wp-includes folder. But I like creating a separate php file and making it into a WordPress plugin, as described in this post by Katja Stokley. Create a text file called TurnOffSmartQuotes.php and put this in it.

Source Code for TurnOffSmartQuotes.php

Then just upload this file to your wp-content/plugins folder, login to your WordPress dashboard, select "Plugins," and activate your new plugin. You've just turned off smart quotes on your WordPress blog.

Force WordPress to use SSL (HTTPS) for Login

To easily enable (and enforce) administration over SSL, there are two constants that you can define in your blog's wp-config.php file.

To Force SSL Logins

The constant FORCE_SSL_LOGIN can be set to true to force all logins to happen over SSL.

define('FORCE_SSL_LOGIN', true);

To Force SSL Logins and SSL Admin Access

The constant FORCE_SSL_ADMIN can be set to true to force all logins and all admin sessions to happen over SSL.

define('FORCE_SSL_ADMIN', true);

Which Should I Use?

FORCE_SSL_LOGIN is for when you want to secure logins so that passwords are not sent in the clear, but you still want to allow non-SSL admin sessions (since SSL can be slow).

FORCE_SSL_ADMIN is for when you want to secure logins and the admin area so that both passwords and cookies are never sent in the clear. This is the most secure option.

Changing WordPress home page

Check out: http://codex.wordpress.org/Template_Tags/wp_list_categories
This page may help too with what I'm going to say next: http://codex.wordpress.org/Template_Hierarchy

Your going to want to copy your current theme's index.php file, name it home.php. Then go in and replace the_content(); or the_excerpt(); with wp_list_categories();

I would also replace the post title line, which has the_title(); in it, to be a non-linking title that says "Categories" or something.

That's the basic idea... I bet there are going to be some things your going to want to change about it, such as the text size.