To design the output by css class is very useful.  So when you want to design wordpress post thumbnil you have to add class to the post thumbnil. So you can add class to post thumbnil as below. <?php the_post_thumbnail('post-thumbnail', ['class' => 'CLASS_NAME']); ?> OR <?php the_post_thumbnail( 'thumbnail', array( 'class'=>

Sometimes you want to hide subheader for a particular page, while you want to keep the subheader for other pages. One option is to hide it from edit page section. Also, you can hide from a page by writing this CSS ( body:not(.template-slider) #Header {min-height: 0!important;} )in custom CSS section of that

Well, there are several ways you can create WordPress REST API but before that you need to understand what REST API is and how it works. The following ways are listed down below : WP REST API V2 SMIO Wordpress API Complete Solution You can look through these and decide which