Menu Items disappearing/being empty on save or post edit

i got the same problems several times ago, and it’s caused by file permission in linux. for make sure about the problems, would you like to show us about the errors by adding below code in your wp-config.php define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, true ); be better if you give … Read more

Please help a newbie with blog page issue?

WordPress uses something called Post Types to generate different types of content. The first URL belongs to a post ( default type ). You can access it under the “Posts” menu. The seconds URL belongs to a post type called “page”, or simply a Page. You can access it under the “Pages” menu. To achieve … Read more

How to display the custom post related blog by category?

I don’t know below code is the best code but it’s solved my issues function relatedBlogPost($atts){ global $post; //this the the custom post type $args_cat = array( ‘taxonomy’ => ‘blogs_cat’, ‘orderby’ => ‘name’, ‘show_count’ => 1, ‘pad_counts’ => 1, ‘hierarchical’ => 1, ‘echo’ => 0 ); $categories = get_the_terms($post->ID, “blogs_cat”); // getting the category id … Read more