• Resolved jojomccid

    (@jojomccid)


    Can you please help me? I am using Education Zone theme. However, the title of the Course appears twice. How can I remove the other title? Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    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

    Thread Starter jojomccid

    (@jojomccid)

    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.

    Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Title of course appears twice’ is closed to new replies.