Redirect User Profile Page to a Frontend Page

Redirect User Profile Page to a Frontend Page

If you managing a membership website or any website where you don’t want your member to go in to the back end of your WordPress than you may already figure it out that you may have a problem when someone wants to edit their profile.

Although you may find many plugins that will give you the option to edit the user profile on the fronted in most cases when the user click the edit profile link that can be found in the WordPress admin bar he will be redirected to back-end of your WordPress.

If you want to prevent this behavior and redirect the user to a page on the your website you can use this little code snippet.

Just put it inside your theme functions.php  or you can even create a simple plugin out of (if you know how to do it):

Before you insert this code into your website remember to change the URL:

This code will not prevent from you the website admin to access the back-end of your profile page.

Read more

8 Code Snippets to Improve WordPress Dashboard for your Clients

8 Code Snippets to Improve WordPress Dashboard

WordPress is one the most easiest CMS that you can find, many clients can use it without genuineness or instructions, but if you are building a website to a customer and want to make your and his life even more easier you can start by removing unneeded panels and branding his client website.

WordPress Dashboard by default include many panels that most of the client will never use and in most cases, seeing so many panel and settings can confuse them especially in the beginning.

With a little of code that can add inside the functions.php file of the template file or even as a separate plugin you can design the interface to be more newbie proof.

Here are 8 code snippets that can use:

Read more

Add Predfined TinyMCE Buttons in WordPress

Add TinyMCE Buttons

WordPress default text edit is TinyMCE, it’s one of most popular and power text editor.

WordPress developers has decide only to enable few features of the TinyMCE editor but with a liitle code that you can to any plugin or to your functions.php template your can enhance the look and feel of the default TinyMCE editor.

WordPress a dedicated filter that list of the buttons that will appear on TinyMCE editor.

Here is the simple code to enable a 3rd line:

Read more

How to Set Minimum Word Count On Posts Using Simple Code?

How to Set Minimum Word Count On Posts Using Simple Code?

Your content is one of the things that make you rank higher in Google especially after all the changes Google has made in the last few years.

Now days the content of your posts is more important than ever and you really invest your time in writing good content and not that publishing short 4 sentences post.

WordPress has a very neat feature and under every post  you write you can see the the number of WordPress very easily.

But watching the words count every time you write a post can be very annoying.

Using a simple code that can added to your functions.php inside your theme, you can set the minimum number of WordPress every post must have.

Read more

WordPress Spam Comments How to Reduce By Simple .htaccess Tweak

Stop Spam Using .htaccess File

WordPress is the most famous open source platform on the web and because of them many people have developed dedicated scripts and bots to send a comment to a WordPress website without even visiting the website.

The are a lot of reasons of why people spamming websites as there are many solutions for the problem but most the solution dealing with the problem after it already happened.

For example Akismet is identifying the a comment that has been to the your website as spam and put it inside the spam folder.

But we could approach the problem from a different way what if we could prevent access to our comment page unless the visitor is currently on our website.

Read more