Viewing 3 replies - 1 through 3 (of 3 total)
  • Madeline

    (@madelinepulley)

    You can make a page under the pages tab, you can select the layout you would like to use for that page and you would select the content only (make sure you have comments turned on for pages if you still would like your comments to show).

    Thread Starter AnthonySymes

    (@anthonysymes-1)

    Thanks Madeline.

    I don’t think I’ve explained myself clearly enough…

    My homepage is currently: https://www.anthonysymesphotographer.com.au

    and I would like to remove (via CSS I’m assuming if there is not a simpler way) both the body/post area and the comments area so the page then appears like this: https://www.anthonysymesphotographer.com.au/wordpress-question/

    This div is named: <div id=”entry full”> I think? But I only want to remove it from 1 page only…

    Kind regards

    Thread Starter AnthonySymes

    (@anthonysymes-1)

    RESOLVED.

    I removed the following from the Full-Page Width Template:

    <div id=”entry-full”>
    <div id=”page-top”>
    <h1 class=”title”><?php the_title(); ?></h1>
    <?php if( isset($meta[‘Subheader’] ) && $meta[‘Subheader’] <> ”) { ?>
    <span class=”subheader”><?php echo $meta[‘Subheader’]; ?></span>
    <?php } ?>
    </div> <!– #page-top –>

    <div id=”left” class=”full-width”>
    <div class=”post-full single full-width”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>

    <?php if ( has_post_thumbnail() && isset($options[$location . ‘_thumb’]) && $options[$location . ‘_thumb’] == ‘1’ ) :
    $thumbid = get_post_thumbnail_id($post->ID);
    $img = wp_get_attachment_image_src($thumbid,’full’);
    $img[‘title’] = get_the_title($thumbid); ?>

    <div class=”thumb loading”>
    <?php the_post_thumbnail(“large”); ?>
    ” class=”zoom-icon” rel=”shadowbox” >
    </div> <!– .thumbnail –>
    <?php endif; ?>

    <?php the_content(); ?>

    <?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
    </article>

    <div class=”meta”>
    <?php the_time(‘M j, Y | ‘); _e(‘Posted by ‘,’InterStellar’); the_author_posts_link(); ?> | <?php comments_popup_link(__(‘0 comments’,’InterStellar’), __(‘1 comment’,’InterStellar’), ‘% ‘.__(‘comments’,’InterStellar’)); ?>
    </div> <!– .meta –>
    <?php comments_template(); ?>

    <?php endwhile; else: ?>

    <p><?php _e(‘Sorry, no posts matched your criteria.’,’InterStellar’); ?></p>

    <?php endif; ?>

    </div> <!– .post-full –>
    </div> <!– #left –>
    </div> <!– #entry-full –>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove from 1 page ONLY!’ is closed to new replies.