Looking at this issuer closer, I’m not sure this is resolved with a php file, but rather being able to “see” the CONTENTS on the “add-event” page.
The “add-event” page just displays “CONTENTS”. How do I get it to display the actual code, so I can edit it? Is this an issue with the Theme “content-page.php”?
I am using the “Leaf” Theme and the “content-page.php” editor is showing the following:
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'leaf' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php edit_post_link( __( 'Edit', 'leaf' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post -->
Is there something missing in the code that is preventing the “CONTENTS” from displaying?