WordPress.org

Support

Support » Themes and Templates » need help tweaking a theme

need help tweaking a theme

Viewing 6 replies - 1 through 6 (of 6 total)
  • I would imagine looking at the theme you would edit the theme’s single.php and move the entry-meta stuff under the post

    soundwolf.net

    @soundwolfnet

    Hi, Thank you for that. I don’t know anything about php. Do you know what I would tweak in this file? I tried moving the meta entry a little… I couldn’t get it to do anything…

    <?php get_header(); ?>
    
    	<div id="container">
    		<div id="content" class="hfeed">
    
    <?php the_post(); ?>
    
    			<div id="post-<?php the_ID(); ?>" class="<?php barthelme_post_class(); ?>">
    				<div class="entry-date"><span class="meta-sep">{</span> <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s', 'barthelme'), the_date('Y m d', false)) ?></abbr> <span class="meta-sep">}</span></div>
    				<h2 class="entry-title"><?php the_title(); ?></h2>
    				<div class="entry-content">
    <?php the_content('<span class="more-link">'.__('Continue reading &rsaquo;', 'barthelme').'</span>'); ?>
    
    <?php link_pages('<div class="page-link">'.__('Pages: ', 'barthelme'), "</div>\n", 'number'); ?>
    
    <?php edit_post_link(__('Edit this entry.', 'barthelme'),'<p class="entry-edit">','</p>') ?>
    
    				</div>
    
    				<div class="entry-meta">
    					<?php printf(__('<span class="entry-published">Posted by %1$s on <abbr class="published" title="%2$sT%3$s">%4$s at %5$s</abbr>.</span> <span class="cat-links">Filed under %6$s.</span> %7$s <span class="entry-rsslink">Follow any responses to this post with its <a href="%8$s" title="Comments RSS to %9$s" rel="alternate" type="application/rss+xml">comments RSS</a> feed.</span>', 'barthelme'),
    						barthelme_author_link(),
    						get_the_time('Y-m-d'),
    						get_the_time('H:i:sO'),
    						get_the_time('l, F j, Y,'),
    						get_the_time(),
    						get_the_category_list(', '),
    						get_the_tag_list('<span class="tag-links">Tagged ', ', ', '.</span>'),
    						comments_rss(),
    						wp_specialchars(get_the_title(), 'double') ) ?>
    
    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php printf(__('You can <a href="#respond" title="Post a comment">post a comment</a> or <a href="%s" rel="trackback" title="Trackback URL for your post">trackback</a> from your blog.', 'barthelme'), get_trackback_url()) ?></span>
    <?php elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php printf(__('Comments are closed, but you can <a href="%s" rel="trackback" title="Trackback URL for your post">trackback</a> from your blog.', 'barthelme'), get_trackback_url()) ?></span>
    <?php elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php printf(__('You can <a href="#respond" title="Post a comment">post a comment</a>, but trackbacks are closed.', 'barthelme')) ?></span>
    <?php elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php _e('Both comments and trackbacks are currently closed.', 'barthelme') ?></span>
    <?php endif; ?>
    				</div>
    			</div><!-- .post -->
    
    <?php comments_template(); ?>
    
    			<div id="nav-below" class="navigation">
    				<div class="nav-previous"><?php previous_post_link(__('&laquo; %link', 'barthelme')) ?></div>
    				<div class="nav-next"><?php next_post_link(__('%link &raquo;', 'barthelme')) ?></div>
    			</div>
    
    		</div><!-- #content .hfeed -->
    	</div><!-- #container -->
    
    <?php get_sidebar() ?>
    <?php get_footer() ?>

    I’m out of my league here but I would think take this bit

    <div class="entry-meta">
    					<?php printf(__('<span class="entry-published">Posted by %1$s on <abbr class="published" title="%2$sT%3$s">%4$s at %5$s</abbr>.</span> <span class="cat-links">Filed under %6$s.</span> %7$s <span class="entry-rsslink">Follow any responses to this post with its <a href="%8$s" title="Comments RSS to %9$s" rel="alternate" type="application/rss+xml">comments RSS</a> feed.</span>', 'barthelme'),
    						barthelme_author_link(),
    						get_the_time('Y-m-d'),
    						get_the_time('H:i:sO'),
    						get_the_time('l, F j, Y,'),
    						get_the_time(),
    						get_the_category_list(', '),
    						get_the_tag_list('<span class="tag-links">Tagged ', ', ', '.</span>'),
    						comments_rss(),
    						wp_specialchars(get_the_title(), 'double') ) ?>
    
    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php printf(__('You can <a href="#respond" title="Post a comment">post a comment</a> or <a href="%s" rel="trackback" title="Trackback URL for your post">trackback</a> from your blog.', 'barthelme'), get_trackback_url()) ?></span>
    <?php elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php printf(__('Comments are closed, but you can <a href="%s" rel="trackback" title="Trackback URL for your post">trackback</a> from your blog.', 'barthelme'), get_trackback_url()) ?></span>
    <?php elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php printf(__('You can <a href="#respond" title="Post a comment">post a comment</a>, but trackbacks are closed.', 'barthelme')) ?></span>
    <?php elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) : ?>
    					<span class="entry-interact"><?php _e('Both comments and trackbacks are currently closed.', 'barthelme') ?></span>
    <?php endif; ?>
    				</div>

    and move it below the loop
    <!-- .post -->
    right after that

    notice you have 2 closing <div>‘s – just grab the 1st

    hope that works

    soundwolf.net

    @soundwolfnet

    Thanks, I gave it shot. Didn’t quite work out. This theme is built on the sandbox that the theme write and a buddy have created. The sandbox thing, uses all css to do its um… design. So the css style sheet, is just massive. ANd it decides the way the site looks I believe. I don’t quite know how they did it.

    I suppose I could try and create my own theme out of sandbox, but I’d really like to tweak this one, and I’d be quite happy.

    Thanks

    someone better than me will come along and help – just maybe not today :>)

    soundwolf.net

    @soundwolfnet

    cool thing, i’ll be patient.

    🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘need help tweaking a theme’ is closed to new replies.
Skip to toolbar