10 Oct, 2026

Enable & Use HTTP/2 with Digital Ocean LAMP

Required: An Ubuntu 22.04 LAMP server or any LAMP server running Apache 2.4.26 or higher  Enable HTTP/2 on Apache First check the Version of Apache by using this command in your terminal. Enable HTTP2 Open your website’s configuration file (replace domain.com with your domain name): Just below the <VirtualHost *:443> tag, type or copy/paste the following code: To apply the changes, restart Apache web […]

1 min read

Add A CSS Style Sheet For WP Admin Section

1. Define $theme_version within the function You can define $theme_version within your function by getting the current theme’s version using the wp_get_theme() function: 2. Use a static value for the version If you prefer not to dynamically fetch the theme version, you can simply use a static value like ‘1.0.0’ or increment it whenever you […]

1 min read

Show WordPress Posts that belong to two or more custom taxonomies

You can achieve this by using the tax_query parameter in a custom WP_Query loop. Here’s how you can do it: Replace ‘taxonomy_name_1’, ‘taxonomy_name_2’, ‘term_slug_1’, and ‘term_slug_2’ with the actual names and slugs of your taxonomies and terms. This query will find posts that belong to both taxonomies specified in the tax_query array. You can adjust […]

1 min read