March 2024
WordPress Custom Form Submission directly to server to non WordPress database table
Submitting the form directly to the server without using JavaScript for form submission and using JavaScript for form submission both achieve the same end goal of sending form data to the server for processing. However, they differ in terms of how the form submission process is handled and the user experience. In summary, the choice […]
Create A Complete WordPress Custom Taxonomy (Categories) Dropdown
This code snippet generates a dropdown menu in an HTML form for selecting different breeds. Here’s a breakdown of what it does: Overall, this code snippet creates a dynamic dropdown menu for selecting breeds, ensuring smooth user experience with automatic form submission upon selection, while also providing a fallback option for users without JavaScript support.
Create A New WordPress Customizer Theme Section and fields
This code snippet is for WordPress theme customization. Here’s what it does: To display the information set in the WordPress customizer on the frontend of your website, you’ll need to retrieve these values and output them where you want them to appear. You can do this using WordPress template tags. Here’s how you can call […]
Add A New Custom Post Type with a Custom Taxonomy (Categories) to WordPress Functions.php
This will create a custom post type call Puppies and will have a non-hierarchical like standard WordPress Posts with a custom taxonomy called Breeds that will act like Categories.
Add A Custom Post Type to WordPress that acts like Pages.
This will add a a hierarchical custom post type that is like WordPress Pages and can have parent and child items.
Add New Custom Post Type to WordPress via Functions.php File
This will create a custom post type call Puppies and will have a non-hierarchical like standard WordPress Posts
