Redirect From Old URL to New URL Format in WordPress

Working on redirect from old URLs to the new one in WordPress is quite simple, this technique is useful to keep the traffic going to the correct post if you have changed your URL. Here are steps on how to set up a redirect with simple REGEX command to bulk redirect posts to new URLs.

Displaying Instagram Feed without Access Token

Adding a public Instagram feed for my clients is a headache nowadays, it requires to generate an access token to include in a plugin, even for a public feed. The issue is that we have to contact the client back and forth to get this all things work.

Get Current Child Page with get_children

There are many method to display current child page in WordPress, this function is usefull to do the same command. Just Paste this code in functions.php function sb_child_page_menu( $current_parent )…

How to Switch to PHP 7.2 in cPanel

cPanel has been arround for years, and a very very popular server management for Web Developers, from novice to expert.

Since the PHP 5.6 will not get any support and update, it is strongly recomended to update to PHP 7.2.

Featured Image as Previous Next Post Navigation in WordPress

Just add this code to single.php, replace or comment the default function like the_post_navigation, get_previous_post, get_next_post, etc. $prev_post = get_previous_post(); $prev_thumbnail = get_the_post_thumbnail( $prev_post->ID, 'large'); $next_post = get_next_post(); $next_thumbnail =…