Create Programs custom post type and make relation between program and event
First we create custom post type for programs so go to mu-plugins and open php file for custom post. In university_post_types() copy event post type code and repeat this code inside function and rename the things. In program custom post type code remove excerpt from supports and add icon dashicons-awards After that go to dashboard create Math program with dummy text and publish and also go permalinks and update Now this program single post use single.php but i want create dedicated page for this like single-program.php Now copy code from single-event.php and paste in single-program.php Now change metabox like below code < a class = "metabox__blog-home-link" href = " <?php echo get_post_type_archive_link ( 'program' ); ? > " > < i class = "fa fa-home" aria-hidden = "true" ></ i > Programs Home </ a > and save Now to display program archive we have to create archive-program.php page and ...