In header.php Then in functions.php This will replace the class “sub-menu” to “my-class”.
Display post excerpt, thumbnail and title of wordpress custom post type
Replace with your post type and taxonomy query. WP Query :
How to create new Admin account in PHPMYADMIN – cPanel | WordPress
Below code will create new admin account named newadmin with the password pass1231. You can change ‘newadmin’, ‘pass1231’, ‘firstname lastname’, ’email@example.com’ field as per your requirement but leave other data as is.