WordPress.org

Ready to get started?Download WordPress

Forums

need help tweaking a theme (7 posts)

  1. soundwolf.net
    Member
    Posted 5 years ago #

    Hi,

    I've finally settled on a wordpress theme I can be quite happy with. It is very slick, clean, and minimal and I'm totally chillin with it. Anyways, as you are probably aware... For those of us who don't code, css tweaks, can be difficult. I'd like to make a tweak, and I'd love advice and thoughts, on how to do it. If you know css style sheets like the back of your hand, two minutes of your time would make a world of difference to me.

    Here is a download link to the style sheet I'm using:

    ( afaik! i am using a gpl or a gnu licensed theme. i should be able to distribute this file freely. if anybody thinks that is not the case, send a pm )

    http://www.box.net/shared/4e03r9eryh

    Here are some visual helpers....

    photo 1

    photo 2

    photo 3
    As you can see in the photos above, there is meta information on the side of my blog posts, date, author, comment and permalink.

    photo 4

    I'd like to move this meta-info to below my posts, as seen in the above photo.

    I know this can be done, via the style sheet, and if you are a css wiz, who can spare two moments. I'd be much obliged.

  2. Samuel B
    moderator
    Posted 5 years ago #

    I would imagine looking at the theme you would edit the theme's single.php and move the entry-meta stuff under the post

  3. soundwolf.net
    Member
    Posted 5 years ago #

    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() ?>
  4. Samuel B
    moderator
    Posted 5 years ago #

    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

  5. soundwolf.net
    Member
    Posted 5 years ago #

    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

  6. Samuel B
    moderator
    Posted 5 years ago #

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

  7. soundwolf.net
    Member
    Posted 5 years ago #

    cool thing, i'll be patient.

    :-)

Topic Closed

This topic has been closed to new replies.

About this Topic