Hey @jojomccid,
Hope you’re well.
When I check your URL I can see the course title only once in page title area. Did you solve the issue? Or if you are referring to something else can you give more details, maybe screenshots?
Cheers,
Oguz
Yes. I simply used CSS and added display: none. However, I want to make the double header disappear even if I remove the CSS feature because the header for my other posts and pages also disappeared.
Hello @jojomccid
Hope you’re doing well!
I’ve tested the CoursePress plugin with standard WordPress theme and could not replicate the issue. The double title is coming from a theme that you’re using. Please create a child theme. Copy the template-parts/content.php file inside the child theme folder, edit the content.php and remove
<header class="entry-header">
<?php
if ( is_single() ) {
the_title( '<h1 class="entry-title">', '</h1>' );
} else {
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
}
if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php education_zone_posted_on(); ?>
</div><!-- .entry-meta -->
<?php
endif; ?>
</header><!-- .entry-header -->
*If you’re not comfortable editing code, be sure to consult the theme developer!
** Make sure to remove the CSS code that was added previously to hide the Title
Hope this helps!
Cheers,
Nastia