php - Display subheading with excerpt -


i want display subheading , excerpt of blog post

<?php { the_subheading(); the_excerpt();  } ?> 

when used above code displays subheading, follwed <p> , followed excerpt(). want remove <p>. possible? there other way?

i found answer.

<?php echo get_the_excerpt(); ?> instead of <?php the_excerpt(); ?> 

solved problem. hope useful someone!


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -