How to Allow or Prevent New User Registration

As admin of your own site, you can decide whether to allow or disallow new user registration. If you’re the only author and user, disabling the new user registration feature is the best option. However, for a membership site, for example, you need to enable new user registration so anyone can register a new account on the site.

For any site that allows new user registration, in the login form, you will see a Register link at the bottom of the form.

new users registration

In this quick tutorial, I’ll show you how allow or disallow new user registration. To do so, go to Settings > General. You will see a checkbox to allow or disallow new users registration. Untick that. That’s it.

register new account

I recommend leaving the new user default role as subscriber or contributor. I believe granting author, editor or administrator role to a user should be done manually since those roles have greater access to the site. For security reason, those three roles should only be given to trusted person. Please read about users roles and capabilities in WordPress Codex for more information about this.

Although this prevent someone from registering an account in your site, if you wish to create an account for someone else (such as guest writers), you can still do so by manually creating an account for them from Users > Add New.

How To Get Notification for WordPress Updates on Email
wordpress updates

If you are a WordPress developer with lots of clients, it’s important to have a great tool to monitor all of the clients’ sites. WordPress core, plugins and themes should be updated immediately once the new version is released. However, how do you know whether there is a newer version of the WordPress, plugin or theme?

Recently I discovered a plugin that will notify you through email whenever there is an update to the WordPress core, plugin or theme.

What you need to do is to install WP Updates Notifier plugin. There are bunch of things you can configure such as the interval of time the plugin will check for new update, set the email where the notifications will be sent to, disable notification message to non-admin user and etc. The plugin is also developer-friendly. It comes with a number of filters and actions to modify the plugin. 

1. Install and activate WP Updates Notifier plugin.

2. Configure the plugin. Go to Settings > WP Updates Notifier.

notify updates

Even if you’re not a developer, I found this plugin to be very useful to get notifications on updates for your own website.

It’s very important to update your WordPress core, plugin and theme as soon as the newer version is released. This is important the new version usually comes with bug fixed, additional features and sometimes fixed security flaw.

How to do Liveblog With WordPress
liveblog

If you’re a journalist or someone who attend a great event and want to share or broadcast it instantly to your readers, liveblog is one of the great ways to do it. However, with default WordPress system, it isn’t possible.

Introducing Liveblog plugin by Automattic.

Here’s a demo video about the Liveblog plugin.

At first, the plugin was developed for clients at WordPress VIP. However, Automattic decided to release it as a plugin. The plugin will allow author to post updates right from the front-end of your site. It will also make adding pictures much easier by adding a drag-and-drop functionality. Moreover, all the updates through this plugin will be served to the readers instantly without needing to refresh the browser.

This Liveblog plugin is completely free. It is good to know that WordPress already has this kind of functionality with the use of additional plugin. The plugin might not need to be activated all the time, if you do not use it, you can simply deactivate it.

Note: There is difference between live blogging and mobile blogging. If you wish to blog from your mobile phone there are few mobile apps for WordPress for various mobile platform.

How To Limit Login Attempts in WordPress

There are many ways to hack your WordPress site. No one likes to be hacked, it is one of the scariest moment for any bloggers out there. In this quick tutorial, I’m going to share how to limit login attempts to your WordPress site.

Before this, I’ve also shown you how to change the default login URL to increase the security of your WordPress site. Be sure to check that out too.

Why It Is Important to Limit Limit Login Attempts

If you’re still new about this and still wondering why we should limit login attempt, please read on. As I mentioned above, there are many ways to break your WordPress site. Besides from known vulnerability from plugins or theme you use, someone might try to break into your dashboard by trying to login by using guess combinations of letters, numbers and keys many times. By many times, I meant hundreds or thousands of times. This kind of attack is also known as

By limiting someone from trying to login many times, you can prevent them hacbrute-force attack.king your website using this kind of attack.

To limit the login attempt to your WordPress site, I recommend installing

To limit the login attempt to your WordPress site, I recommend installing plugin.

1. Install and activate Limit Login Attempts plugin.

2. Configure the plugin. Go to Settings > Limit Login Attempts.

limit login attemps

From the settings page, there are number of things you can configure, such the number of attempts before lockout, limit the number of attempts to log in using auth cookies in same way and etc.

I found this plugin to be very useful and must-use plugin for every WordPress site. I’m currently using this plugin on WPSpeak and highly recommend you to do so.

Conditional Menu With Genesis Framework

Another tutorial on Genesis Framework. By default, Genesis comes with two menus – Primary and Secondary Menus. This is really great and gives more flexibility to do further customization on your website.

Sometimes you might want to use different menu on specific post and page. There are two ways to achieve this in Genesis, and in this tutorial I’ll show you both of them.

  1. Conditional Menu with Code Snippets

Love hardcoding or just want to use less plugins? So this is a useful snippet to do this.

/** Conditional secondary menu **/

add_action(‘template_redirect’, ‘wpsp_conditional_actions’);

function wpsp_conditional_actions() {
if ( is_page( 10 ) )
remove_action(‘genesis_after_header’, ‘genesis_do_subnav’);
}

  1. Is_page is the WordPress conditional tags. You may also use it for multiple posts and page or with other conditional tags such as is_home etc. Please refer to WordPress Conditional Tags in WordPress Codex for more info.
  2. 10 in the bracket is the ID of post/page. Use Reveal IDs plugin to help you find out the ID of the post or page.
  3. genesis_after_header is a hook specifically use with Genesis Framework. This is the default location for Secondary Menu in Genesis. See the Genesis Hook Reference page on StudioPress for more info. I also recommend using Genesis Visual Hook plugin to make life easier.
  4. What the code do is basically remove the secondary menu in post with ID: 10.

To make primary menu as the conditional menu, replace genesis_do_subnav with genesis_do_nav.

  1. Conditional Menu with Genesis Simple Menus plugin

This Genesis Simple Menus plugin was developed by StudioPress, the maker of Genesis Framework. The Genesis Simple Menus is available from WordPress.org Plugin repository for free.

  1. Install and activate the plugin.
  2. Create your menu. If you’re not familiar to this, read my tutorial – WordPress101: Using WordPress Menu.
  3. Every time you open the post editor for post and page, you will see a new metabox. This is where you specify the menu to be used for that specific post and page. Of course you are able to create as many menu as you wish and choose them from the dropdown.

WordPress Conditonal Menu

Please note that this plugin uses your secondary menu. So make sure you don’t remove them.

I found using plugin gives you more flexibility since you can create as many custom menu as you wish and use it at different places. This plugin was developed by StudioPress, so you can assure that the plugin is compatible with most Genesis child themes.