How to add menu in WordPress admin

 


How to create custom post in WordPress

 


How to add menu icon to custom post in WordPress

If you want to add icon to you custom post you can add easily icon to you custom post . You need follow some steps Go to your function.php and create custom post in wordpress. Add  ‘menu_icon’ => ‘dashicons-building’,  to your custom post.

 


How to get custom fields in WordPress

If you want to get custom fields data to your post then you can show custom field data using this function.

 


How to show page content using page id

If you want to show different page content in one page, for example in home page you want to show about us page content , services page content and any other page content so you can get page content using WordPress query.

 


How to give limit to posts in WordPress

<?php $args = array( ‘post_type’ => ‘services’, ‘posts_per_page’ => 6,’order’=> ‘ASC’); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?> <div class=”service-content”> <?php the_post_thumbnail();?> <h2 class=”sub-heading”><?php the_title(); ?></h2> </div> <?php endwhile; ?>


How to order ASC and DESC posts in WordPress

 


How to create widget in wordpress child theme

 



How to create child theme in wordpress

How to create child theme in wordpress

  in function file you need enques_styles