Using Our Shortcodes-Based Plugins with Custom Post Types & Page Builders

Using Shortcodes-Based Plugins with Page Builders

Some of the plugins we sell at HappyPlugins are shortcodes-based, and many of our clients want to use the shortcodes in different custom post types and / or themes.

First, an important clarification: All of our shortcodes-based plugins are using regular WordPress shortcodes, which means that if the element you are using inside the custom post type / page-builder supports WordPress shortcodes then you can also use any shortcode of these plugins as specified below:

Read more

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