Why the Gutenberg Editor is Not Available In My WP Site?

You have to declare that your custom post type supports the editor, and have show_in_rest set to true when registering the post type. Here is what the official dev hub says about supports: ‘supports’ (array) Core feature(s) the post type supports. Serves as an alias for calling add_post_type_support() directly. Core features include ‘title’, ‘editor’, ‘comments’, … Read more

I want to display my 2. latest post

Try below code: It will display the second and third latest posts. $the_query = new WP_Query(array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’, ‘order’ => ‘DESC’, ‘posts_per_page’ =>’2′, ‘offset’ => 1 )); if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); the_title(); the_excerpt(); endwhile; wp_reset_postdata(); else : __(‘No post found’); endif;

Put post urls into their own category

You can’t add subfolders on individual posts. You can go to Settings > Permalinks and set it up there – you’ll want to use a custom structure: /blog/%category%/%postname%/

How to make blog posts appear under different menu items?

By default, “Category Archives” (which is what you’re describing) are at the URL example.com/category/{category}. I would recommend that you do the following: Delete your blog and portfolio pages. Don’t just trash them, but delete them permanently from your trash (this will free up the permalinks you mention in your post). Create the two categories, Blog … Read more

problem with wordpress author profile page URL

How are you creating the author’s link? If you put in your template: <?php the_author_posts_link(); ?> It will write the author’s name and link for the current post. To modify the template for the author page, wordpress search for the following files in your theme’s folder (in this order): author-{nicename}.php author-{id}.php author.php archive.php index.php

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)