How to Create a WordPress Child Theme - How to Create a WordPress Child Theme

How to Create a WordPress Child Theme

60 seconds or less, that’s all that takes to create a WordPress child theme and I highly recommend that you do it before even thinking about making any code or style modifications to your active theme. There are two files that you can use inside a child theme to overwrite parent theme’s functionality or style: … Read full article →

How to Show Different Themes to Logged in Users in WordPress - How to Show Different Themes to Logged-in Users in WordPress

How to Show Different Themes to Logged-in Users in WordPress

In this example, we’ll use the is_user_logged_in() to display a different theme on our website for visitors: if(is_user_logged_in()) { function wpxss_set_my_custom_theme() { //replace your theme name here return ‘your-theme-name’; } add_filter( ‘template’, ‘wpxss_set_my_custom_theme’ ); add_filter( ‘stylesheet’, ‘wpxss_set_my_custom_theme’ ); } else { // leave the default theme active for visitors } The template and stylesheet filters are responsible to select the activated … Read full article →

Top WordPress blog hosting - WordPress blog hosting compared ✍️

WordPress blog hosting compared ✍️

I wrote this simple guide knowing that hosting your WordPress site is an important decision and choosing the wrong hosting company can harm your site in many different ways. In what ways? Well, website speed is a crucial element these days when it comes to how Google sees your website. WordPress site is slow to … Read full article →

is home vs is front page - is_home() vs is_front_page()

is_home() vs is_front_page()

is_home() and is_front_page() are both conditional tags in WordPress that can be used to check whether the currently viewed page is the site’s Home Page. However, they have slightly different meanings and use cases: What is the difference between is_home and is_front_page functions in WordPress? is_home() check if the current page is the main blog posts index (latest posts) … Read full article →

How to exclude wp admin from Cloudflare - How to exclude wp-admin from ☁️ Cloudflare

How to exclude wp-admin from ☁️ Cloudflare

First and first, I must stress that this is a bad idea and that I do not recommend it. Why? Because you’ll remove all of Cloudflare’s protection for the wp-admin dashboard. Cloudflare waits 100 seconds for an HTTP response. If the origin doesn’t respond in that time, Cloudflare closes the connection and you’ll see “Error … Read full article →

Looks like somethings gone wrong. Wait a couple seconds, and then try again.

⚠️ Looks like something’s gone wrong. Wait a couple seconds, and then try again.

When editing the menu in customizer the changes failed to save with the error message: Looks like something’s gone wrong. Wait a couple seconds, and then try again. And when inspecting the page the following error appears: POST http://plugins.club/wp-admin/admin-ajax.php 403 (Forbidden) The 403 error is caused by something blocking access to the file such as … Read full article →