lisharts
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Attached images, removing the link?Ah so simple, stupid me. Many thanks. ??
Forum: Fixing WordPress
In reply to: Error when adding image attachments to postsFixed! Many thanks.
Forum: Fixing WordPress
In reply to: Error when adding image attachments to postsThanks 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.
Forum: Fixing WordPress
In reply to: Error when adding image attachments to postsHope 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() ?>
Forum: Fixing WordPress
In reply to: Error when adding image attachments to postsGetting a 500 – Internal Server Error message
Forum: Fixing WordPress
In reply to: Error when adding image attachments to postsI can’t get that link to load. Is there an alternative?
Forum: Fixing WordPress
In reply to: category structureOh that sounds interesting, thank you I’ll take a look and let you know how it works out.
Forum: Fixing WordPress
In reply to: Setting up categoriesThat sounds more like it. I’ll give it a go. Thanks for the help, Dor.
Forum: Fixing WordPress
In reply to: Setting up categoriesI 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?
Forum: Themes and Templates
In reply to: Strange spacing issue – Sandpress themeok nevermind, I’ve backed everything up and I’m going to try rewriting. Thanks again dino.
Forum: Themes and Templates
In reply to: Strange spacing issue – Sandpress themeOh 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.
Forum: Themes and Templates
In reply to: Strange spacing issue – Sandpress themeHi 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?
Forum: Themes and Templates
In reply to: would like to make div.sidebar widerHi,
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?
Thanks.