Create single page for display single event in wordpress

To display single event for wordpress like post we have to create new page in theme folder  single-event.php


Now go to single.php and copy all code and paste in single-event.php

and now come to the metabox and remove posted by and date category and add event title

like below

<span class="metabox__main">
        <?php the_title();  ?>
      </span>

and save



Comments

Popular posts from this blog

Basics Of PHP

Creating App.js for Node Application

WordPress Full Guide For Developer