sub-category showing up in wrong order in breadcrumbs

As you said, you’ve a category (parent one) named as Oregon and its sub-category ‘Southern’, therefore, Oregon / Southern is the correct output. It seems others are in wrong order. If Oregon is parent for Willamette Valley and Central then the result should be: Oregon / Central Oregon / Willamette Valley Consider what hierarchy you … Read more

How to change wordpress adminstrator user ‘s ID from 1 to 0?

The MySQL table that stores the user data wp_users have an autoincrement on the primary key ID. The database will handle it automatically to avoid duplicated values and the minimal value is 1. There is nothing you can do about it. Here is the WP tables shema if you want to have a look https://codex.wordpress.org/Database_Description#Table:_wp_users … Read more

Can’t send form data to wpdb when URL has query string

I see a few issues with the code: First, the form action is not set correctly. It should be something like: <form action=”<?php echo esc_url( get_the_permalink() ); ?>” method=”post”> In the PHP code, you are using the wrong table name. You are using the table name ‘invites’ instead of ‘rsvp’. You should change this line: … Read more

Display posts from specific slug of the custom taxonomy in WordPress

I would recommend becoming intimately familiar with the WP_Query parameters: https://developer.wordpress.org/reference/classes/wp_query/ In your particular case; dealing with taxonomies: https://developer.wordpress.org/reference/classes/wp_query/#taxonomy-parameters Here is the proper code to pull from a taxonomy: $args = array( ‘post_type’ => ‘post’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘units’, ‘field’ => ‘slug’, ‘terms’ => $term->slug ), ), ); $query = new WP_Query( … Read more