Blog

Page 193 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How do you add a WordPress admin page without adding it to the menu?

How do you add a WordPress admin page without adding it to the menu?

Published on September 2, 2023

📝 **Blog Post: How to Add a WordPress Admin Page Without Adding it to the Menu** 🚀 Are you a WordPress plugin developer looking to create a hidden admin page that is not visible in the menu? 🕵️‍♂️ We've got you covered! In this guide, we'll show you ho

Cover Image for How to keep :active css style after click a button
csshtml

How to keep :active css style after click a button

Published on September 2, 2023

🔥📝 How to Keep :active CSS Style After Clicking a Button 🔥📝 Are you frustrated by buttons that lose their active style as soon as you release the click? Don't worry, I've got your back! In this blog post, we'll tackle this common issue and provide you

Cover Image for Redirect after Login on WordPress
redirect

Redirect after Login on WordPress

Published on September 2, 2023

🎉🔌🌟 Boost Your WordPress Experience: Redirect After Login! 🌟🔌🎉 Are you tired of your users being redirected to the default WordPress dashboard after logging in? Do you want to provide a personalized experience by sending them to a custom page instea

Cover Image for How to Use AJAX in a WordPress Shortcode?
ajax

How to Use AJAX in a WordPress Shortcode?

Published on September 2, 2023

# How to Use AJAX in a WordPress Shortcode? 💻🔄 So, you want to update the content on your WordPress page using AJAX? Well, you've come to the right place! In this blog post, we will walk you through how to use AJAX in a WordPress shortcode, addressing c

Cover Image for wp_nav_menu change sub-menu class name?

wp_nav_menu change sub-menu class name?

Published on September 2, 2023

# How to Change Sub-Menu Class Name in WordPress Navigation Menu? 🌐💻 If you're a WordPress user, you are probably familiar with the `wp_nav_menu` function, which allows you to easily create and display navigation menus on your website. But what if you w

Cover Image for Get cart item name, quantity all details woocommerce

Get cart item name, quantity all details woocommerce

Published on September 2, 2023

📝 The Easy Way to Get Cart Item Name, Quantity, and Details in WooCommerce 🛒 Hey there, fellow WooCommerce enthusiasts! Are you struggling to grab the item name, quantity, and individual price from your WooCommerce cart and send them to a third-party sh

Cover Image for Local wordpress install only shows home page, all other pages Not Found

Local wordpress install only shows home page, all other pages Not Found

Published on September 2, 2023

🖥️🌐🔍 Troubleshooting Local WordPress Install: All Pages Not Found 🏠 So you're working on a local install of a live WordPress site and encountering a frustrating issue – only the home page is accessible, while all other pages display a "Not Found" erro

Cover Image for Which method performs better: .Any() vs .Count() > 0?
.netperformance

Which method performs better: .Any() vs .Count() > 0?

Published on September 2, 2023

🔍 **Which method performs better: .Any() vs .Count() > 0?** So here's the deal, my tech-savvy buddies! Today we're going to dive into the exciting world of extension methods in the `System.Linq` namespace. Yay! 🎉 Now, picture this: you have an `IEnumer

Cover Image for WordPress: Disable "Add New" on Custom Post Type

WordPress: Disable "Add New" on Custom Post Type

Published on September 2, 2023

# WordPress: Disabling "Add New" on Custom Post Type 🚫👀 So, you want to disable the "Add New" option for a specific Custom Post Type in WordPress 🤔 No worries! I got you covered! 🙌 ## The Dilemma 😕 Imagine this scenario: you have created a fantasti

Blog | Matheus Mello