Forums

How do I remove the redirect? (1 post)

  1. auroram31
    Member
    Posted 4 months ago #

    I have two questions about my website (www.rippedabsforever.com).
    I am using iTheme2 1.1-wpcom by Themify.

    1. How can I delete the page title? I read through the documentation here and tried replacing:

    <h1 class="entry-title"><?php the_title(); ?></h1> to:

    <?php if ( !is_front_page() ) :?><h1 class="entry-title"><?php the_title(); ?></h1><?php endif;?>

    in content-page.php and it didn't seem to work.

    Here's the code for content-page.php:

    <?php
    /**
    * The template used for displaying page content in page.php
    *
    * @package WordPress
    * @subpackage iTheme2
    * @since iTheme2 1.1-wpcom
    */
    ?>

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <header class="entry-header">
    <?php the_post_thumbnail( 'large-feature' ); ?>
    <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-link">' . __( 'Pages:', 'itheme2' ) . '', 'after' => '</div>' ) ); ?>
    <?php edit_post_link( __( 'Edit', 'itheme2' ), '<span class="edit-link">', '</span>' ); ?>
    </div><!-- .entry-content -->
    </article><!-- #post-<?php the_ID(); ?> -->

    2. My home page icon redirects immediately to a different page. I am not sure how this is happening. Any ideas?

    Thanks in advance!

Reply

You must log in to post.

About this Topic