• I am using the theme blogtxt I would like to take out the date, user name, categories, and comment links. I just want the post title and content, nothing else. I don’t want to have anything below the post content.

    I took a look at the theme files and found this section in the index.php file

    </div>
    					<div class="entry-meta">
    						<span class="meta-sep">&para;</span>
    						<span class="entry-date"><?php _e('Posted', 'blogtxt') ?> <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'blogtxt'), the_date('d F Y', false)) ?></abbr></span>
    						<?php blogtxt_author_link(); // Function for author link option ?>
    						<span class="meta-sep">&sect;</span>
    						<span class="entry-category"><?php the_category(' &sect; ') ?></span>
    						<span class="meta-sep">&Dagger;</span>
    						<span class="entry-comments"><?php comments_popup_link(__('Comments (0)', 'blogtxt'), __('Comments (1)', 'blogtxt'), __('Comments (%)', 'blogtxt')) ?></span>
    						<span class="meta-sep">&deg;</span>
    						<span class="entry-tags"><?php the_tags(__('Tagged: ', 'blogtxt'), ", ", "") ?></span>
    <?php edit_post_link(__('Edit', 'blogtxt'), "\t\t\t\t\t<span class=\"meta-sep\">&equiv;</span>\n\t\t\t\t\t<span class='entry-edit'>", "</span>\n"); ?>
    					</div>
    				</div><!-- .post -->

    Taking this section out or commenting it, did not help. I know this is the right section. I just don’t know how to take it out. Can you please help.

    Thanks
    -mike

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • here goes your template its best if you save it as home.php and retain the index.php (WP will load home.php first).

    <?php get_header() ?>
    
    			<div class="hfeed">
    
    <?php while ( have_posts() ) : the_post() ?>
    
    				<div id="post-<?php the_ID() ?>" class="<?php blogtxt_post_class() ?>">
    					<h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'blogtxt'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h2>
    					<div class="entry-content">
    <?php the_content('<span class="more-link">'.__('Continue Reading &raquo;', 'blogtxt').'</span>'); ?>
    
    <?php link_pages('<div class="page-link">'.__('Pages: ', 'blogtxt'), "</div>\n", 'number'); ?>
    
    					</div>
    				</div><!-- .post -->
    
    <?php endwhile ?>
    
    				<div id="nav-below" class="navigation">
    					<div class="nav-previous"><?php next_posts_link(__('&laquo; Earlier posts', 'blogtxt')) ?></div>
    					<div class="nav-next"><?php previous_posts_link(__('Later posts &raquo;', 'blogtxt')) ?></div>
    				</div>
    
    			</div><!-- .hfeed -->
    		</div><!-- #content -->
    	</div><!-- #container -->
    
    <?php get_sidebar() ?>
    <?php get_footer() ?>

    IMHO sandbox theme is made for good plain old semantic markup its a waste of good microformats template to remove all those meta data.

    Thread Starter monkeymartingmailcom

    (@monkeymartingmailcom)

    Thanks for the help I will give this a shot. I will let you know if this does the trick

    Thanks again

    Thread Starter monkeymartingmailcom

    (@monkeymartingmailcom)

    Thanks for the help that did the trick. The only problem I am having now is, sidebar 2 is showing up under the main content. This only happens when the content is shorter then the sidebar.

    One more thing I was hopping you could help me with.

    How can I prevent the sidebar from changing when I click on the post title.

    You can take a look at my site at this link https://myslavelake.com/directory

    You have been a big help Thank you Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please help me mod this them’ is closed to new replies.