• hello, im new to wp
    i searched and read bunch posts about no sidebar template
    i removed get sidebar but im having trouble to resize content to fit the screen with the zbench theme
    here is my code

    <?php /*
    	Template Name: No sidebar page
    */ ?>
    <?php get_header() ?>
    <div id="content">
    	<?php the_post(); ?>
    	<div <?php post_class('post post-page'); ?> id="post-<?php the_ID(); ?>"><!-- post div -->
    		<h2 class="title title-single"><?php the_title() ?></h2>
    		<?php if ('open' == $post->comment_status) { ?>
    		<div class="post-info-top">
    			<span id="addcomment"><a href="#respond"  rel="nofollow" title="Leave a comment ?">Leave a comment</a><?php comments_number(' (0)', ' (1)', ' (%)'); ?></span>
    			<span id="gotocomments"><a href="#comments"  rel="nofollow" title="Go to comments ?">Go to comments</a></span>
    		</div>
    		<?php } else { ?>
    		<div class="post-info-top" style="height:1px;"></div>
    		<?php } ?>
    		<div class="fixed"></div>
    		<div class="entry">
    			<?php the_content(); ?>
    			<?php wp_link_pages('before=<div class="nav_link"><strong>Pages: </strong>&after=</div>&next_or_number=number&pagelink=<span class="page_number">%</span>'); ?>
    		</div><!-- END entry -->
    	</div><!-- END post -->
    	<?php comments_template( '', true ); ?>
    </div><!--content-->
    <?php get_footer() ?>

    also how do i disable wp from sending me e-mail whenever new member registered

Viewing 4 replies - 1 through 4 (of 4 total)
  • The email for notification is under Settings >> General.

    You should be able to re-size the content with the style.css file.

    Michael

    Thread Starter Eudemon

    (@eudemon)

    sry but i can’t find any email notification setting under setting>>general
    also what about the style.css file, what am i gonna do with it?
    cuz i only gonna use this template for certain pages, not all of them
    thx for your reply

    Thread Starter Eudemon

    (@eudemon)

    ok, so i commended out new user notification in pluggable.php
    still need help with editing no side bar template
    how to make the content expand to fill the page for certain pages(see my code on 1st page

    Thread Starter Eudemon

    (@eudemon)

    nvm i finally managed to make it work, thx anyway
    sry for posting again, cuz the edit button disappeared O_O

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘about page.php’ is closed to new replies.