Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter lisharts

    (@lisharts)

    Ah so simple, stupid me. Many thanks. ??

    Thread Starter lisharts

    (@lisharts)

    Fixed! Many thanks.

    Thread Starter lisharts

    (@lisharts)

    Thanks Esmi, I appreciate you taking the time to have a look. I’ll give that a go and let you know how it works out.

    Thread Starter lisharts

    (@lisharts)

    Hope this works. ??

    <?php get_header() ?>
    
    <div id="pageHolder">
    
    <div id="leftColumn"><?php get_sidebar() ?></div>
    
    <div id="centerColumn">
    
    <?php the_post() ?>
    
    <div class=”post-date”>
    <div class=”month”><?php the_time(’M') ?></div>
    <div class=”day”><?php the_time(’d') ?></div>
    </div>
    
    			<h2 class="page-title"><a href="<?php echo get_permalink($post->post_parent) ?>" title="<?php printf( __( 'Return to %s', 'sandbox' ), wp_specialchars( get_the_title($post->post_parent), 1 ) ) ?>" rev="attachment"><?php echo get_the_title($post->post_parent) ?></a></h2>
    
    			<div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
    				<h3 class="entry-title"><?php the_title() ?></h3>
    				<div class="entry-content">
    					<div class="entry-attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php echo wp_specialchars( get_the_title($post->ID), 1 ) ?>" rel="attachment"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></div>
    					<div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt() ?></div>
    <?php the_content() ?>
    
    				</div>
    
    				<div class="entry-meta">
    					<?php printf( __( 'Posted by %1$s on <abbr class="published" title="%2$sT%3$s">%4$s at %5$s</abbr>. Bookmark the <a href="%6$s" title="Permalink to %7$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%8$s" title="Comments RSS to %7$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'sandbox' ),
    						'<span class="author vcard"><a class="url fn n" href="' . get_author_link( false, $authordata->ID, $authordata->user_nicename ) . '" title="' . sprintf( __( 'View all posts by %s', 'sandbox' ), $authordata->display_name ) . '">' . get_the_author() . '</a></span>',
    						get_the_time('Y-m-d'),
    						get_the_time('H:i:sO'),
    						the_date( '', '', '', false ),
    						get_the_time(),
    						get_permalink(),
    						the_title_attribute('echo=0'),
    						comments_rss() ) ?>
    
    <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?>
    					<?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
    <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?>
    					<?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'sandbox' ), get_trackback_url() ) ?>
    <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?>
    					<?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'sandbox' ) ?>
    <?php elseif ( !('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Comments and trackbacks closed ?>
    					<?php _e( 'Both comments and trackbacks are currently closed.', 'sandbox' ) ?>
    <?php endif; ?>
    <?php edit_post_link( __( 'Edit', 'sandbox' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
    
    				</div>
    			</div><!-- .post -->
    
    			<div id="nav-images" class="navigation">
    				<div class="nav-previous"><?php previous_image_link() ?></div>
    				<div class="nav-next"><?php next_image_link() ?></div>
    			</div>
    
    <?php comments_template() ?>
    
    </div>
    
    <div id="rightColumn"><?php include (TEMPLATEPATH . '/sidebar2.php'); ?></div>
    
    <!--<div id="longColumn">Base</div>-->
    
    <?php get_footer() ?>
    Thread Starter lisharts

    (@lisharts)

    Getting a 500 – Internal Server Error message

    Thread Starter lisharts

    (@lisharts)

    I can’t get that link to load. Is there an alternative?

    Forum: Fixing WordPress
    In reply to: category structure
    Thread Starter lisharts

    (@lisharts)

    Oh that sounds interesting, thank you I’ll take a look and let you know how it works out.

    Thread Starter lisharts

    (@lisharts)

    That sounds more like it. I’ll give it a go. Thanks for the help, Dor.

    Thread Starter lisharts

    (@lisharts)

    I had a quick look but I’m not sure that’s what I’m looking for (excuse me if I’m wrong, php is a bit foreign to me still). I don’t want to change or reorder the category list, I want to display posts from only one category on the Main Index Template file. Will I be able to do that with the code on that page?

    Thread Starter lisharts

    (@lisharts)

    ok nevermind, I’ve backed everything up and I’m going to try rewriting. Thanks again dino.

    Thread Starter lisharts

    (@lisharts)

    Oh and if it helps I can provide the original css before I began editing (if it’s a mess I’ve made ;)). If I could just get the 3 columns set to the right widths that would be great.

    Thread Starter lisharts

    (@lisharts)

    Hi dinosrules,

    Thanks for your reply.

    This is my first time using wp and if I was coding it from scratch I would do so how you suggested above, however I have no idea how to reproduce that within the wp templates.

    How would the divs position automatically without margins? If say I wanted a 10px space to the right of one column is there somewhere else in the wordpress admin I would specify that rather than putting it onto the stylesheet?

    Thread Starter lisharts

    (@lisharts)

    Hi,

    Thanks for your post. In the end I found there were two seperate classes controlling these. I got the columns all set to the correct size but for some reason they all now seem to be sitting one after another on the page, rather than sitting side by side. Anyone know what could cause this?

    https://ymlc.com/mge/

    Thanks.

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