Create a hierarchical list of posts that’s grouped and nested by category
Create a hierarchical list of posts that’s grouped and nested by category
Create a hierarchical list of posts that’s grouped and nested by category
It’s very likely that your CPT does indeed have custom fields, but because you’re using the classic editor, you need to have also enabled custom fields on the user you’re logged in as via the user profile/settings page This is how core decides if there’s a custom fields metabox: if ( post_type_supports( $post_type, ‘custom-fields’ ) … Read more
Modifying post_type_link hook messing up edit function for a custom post
Custom post type with custom taxonomies structure url not working archive of CPT
Get term link of shared taxonomy between multiple post types
You can use wp_get_current_user() function to retrieve user login data. Also use get_edit_profile_url() to get profile page link. Note: You can use wp_logout_url() function for logout url. Try following code: add_action( ‘wp_before_admin_bar_render’, ‘wpdd_admin_bar_edit’ ); function wpdd_admin_bar_edit() { global $wp_admin_bar; // Show username with profile link $current_user = wp_get_current_user(); $username = $current_user->user_login; $profile_link = get_edit_profile_url(); $wp_admin_bar->add_menu( … Read more
ACF has documentation for creating a form on the frontend. I would stick to their suggestions. https://www.advancedcustomfields.com/resources/create-a-front-end-form/ I was able to create this by assigning my field group for the form to the custom post type and using a unique template page for the form. <?php /** * Template Name: Form Page Template */ ?> … Read more
Two custom post type relations
Post content in bootstrap modal
Problem with shortcode