Reply To: Need to remove post information

Home Forums WordPress Themes – Premium Preferential Need to remove post information Reply To: Need to remove post information

Sushil Adhikari

Hi ttm,

To hide post information from single post , please add this css in child theme[style.css]: header .entry-meta {
	display: none;

To show category list on single post, please follow this steps:

1> First copy content-single.php(Go to Theme folder->wp-content->Themes->preferential) file and paste it in to child theme directory(Go to Theme folder->wp-content->Themes->preferential-child)

2> This code outputs category name assigned to particular post, you just need to add this code at the place where you wants to display

$category_list = get_the_category_list( __( ', ', 'preferential' ) ); // variable $category_list holds name of category,  
        echo $category_list;  // This display  category name on single posts

Don’t hesitate to contact us for any further information

Note: Please use child theme to add this code otherwise your changes will be lost on theme update.