Customizing the display in the visual editor

The whole appeal of a WYSIWYG interface is to see what the page is going to look like before publishing … yet when the typography and other styling is customized in the theme the visual editor will still show the default/core back-end styling. So…

First insert this code into the active theme’s functions file:

Then create the […]

read the article

Various Login Form Controls

Replace WordPress login logo with your own

customize the login message source

redirect after login source (send all but admin to home page)

redirect after login source (sends all to a designated page page)

Redirect after logout source

A great plugin that addresses even more issues than above can be found here

read the article

Rendering the Dashboard in a Single Column

Roll up a plugin or insert into the active theme’s functions.php file

read the article

Customizing the Tiny MCE interface

the best source article I have found on this

The visual editor in WordPress is driven by Tiny MCE … whether you like it or not. But you can modify the controls either via constructing a plugin or the active theme’s function.php file.

First of all, it’s good to know what’s being used in the first […]

read the article

Creating a selectable “home” item in the menu

This is a no brainer for those cases when the home page is set to be an individual page … and really not a big deal when the default home page is selected.
The easiest workaround would be to use the link option and just set the absolute URL … but that’s a little in-elegant

Inserting this […]

read the article

Taming Tiny MCE 4.0

As of WordPress 3.9 the version of the WYSIWYG (or “visual”) editor is Tiny MCE 4.0
this change caused the following functions.php insertion to stop working:

Pre WP 3.9 the code above would insert an extra drop-down called styles that would allow styles to be associated with selected text

But after upgrading the “styles” dropdown went missing!

After digging […]

read the article

Customizing the admin dashboard

Here are a couple of things that I’ve started doing with my custom themes:

Insert a custom message at the admin foot:

Replacing the “Howdy” message in the upper right corner

Eliminating some of the widgets shown by default on the dashboard page:

A customized “welcome” widget:

read the article

Replace WordPress login logo with your own

Enter this into the functions file:

Once this is done:

  • make sure that your theme has an “images” folder
  • insert an image which corresponds with the named image (in this case “login.png”)
  • adjust the image to correspond to the specified background size (or vice versa)

read the article

Eliminating widgets

There are alot of default widgets available in wordpress … and you rarely need them all. Here is a block of code that you can use in the functions file to eliminate ALL the widgets

Of course that’s going way too far, but it can be selectively applied:

read the article