How to view in Catgory Name wise Recent Post view in WP?

You can add below code where you want in your php file inside :
<?php query_posts(‘category_name=pre-work-out&showposts=10’); ?>
<?php while (have_posts()) : the_post(); ?>
<h3><a href=”<?php echo get_permalink($page->ID); ?>”><?php the_title(); ?></a></h3>
<?php the_excerpt(); ?>
<?php endwhile;?>

This is show what you like in your recent post from your specific category wise. What you like change you “query_post” inside.

how to insert in magento category names?

Here i mention some of sample category name:

Main
Main/Sub
Main/Sub/Sub
Main/Sub/Sub/Sub
Main Featured

The above type useful for all magento category creating.

Here i attached sample .csv also.sample_csv_fileport_all_products

© 2020 Spirituality