jackson-kelly
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Post has pushed sidebar to the bottom of the pageThanks Gangleri, I’ll give that a go.
Forum: Themes and Templates
In reply to: Post has pushed sidebar to the bottom of the pageThe post was pulled from an article directory using a plugin called Caffeinated Content. There is some HTML in there though, for the image.
I’ve removed that part and the sidebar is now okay, thank you.
Is there any way of being able to restore that HTML and it still looking okay? No big deal though as the sidebar showing is obviously more important.
Forum: Themes and Templates
In reply to: White Space Below HeaderWith the THesis theme, it has an addon (not a plugin) where you can edit numerous parts of the theme. It’s called Thesis OpenHook.
I added some code to a part called Header (Equivalent to adding to thesis_hook_header in your custom_functions.php file)
This is the code I added:
<img src=”http://wedshine.com/wp-content/themes/thesis%5Bv.1.5%5D/images/weddingbanner.jpg”>
Forum: Themes and Templates
In reply to: White Space Below HeaderThanks Esmi.
But I currently have this for my header.php file:
<?php
/**
* Handle the opening HTML and actions.
*
* @package Thesis
*/
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”http://gmpg.org/xfn/11″>
<title><?php thesis_output_title(); ?></title>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<?phpif (is_singular())
wp_enqueue_script(‘comment-reply’);wp_head(); ?>
</head>
<body<?php thesis_body_classes(); ?>>
<?php thesis_hook_before_html(); ?>
Forum: Themes and Templates
In reply to: Posts incorporating earlier onesOkay, that’s resolved.
It’s the category IDs I was having trouble with.
I’ve installed a plugin to reveal them and now all is well.
Thanks for all your help,
JacksonForum: Themes and Templates
In reply to: Posts incorporating earlier onesThanks doodlebee, I’ve posted it to pastebin here:
http://pastebin.com/m2dbdbe1cJackson
Forum: Themes and Templates
In reply to: Posts incorporating earlier onesSorry about the wording. It doesn’t look like it I know but I’ve installed WordPress themes and posted on numerous occasions but this theme’s giving me a headache.
This is from page.php
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1><?php the_content(__(‘Read more’));?><div style=”clear:both;”></div>
<!–
<?php trackback_rdf(); ?>
–><?php endwhile; else: ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p><?php endif; ?>
</div>
</div>
<?php include(TEMPLATEPATH.”/sidebar.php”);?>
</div>
<!– The main column ends –>
<?php get_footer(); ?>
and this is from home.php:
<div class=”featured”>
<?php $recent = new WP_Query(“cat=1&showposts=1”); while($recent->have_posts()) : $recent->the_post();?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read the story »’));?><div style=”clear:both;”></div>
<?php endwhile; ?>
</div><div class=”featured”>
<?php $recent = new WP_Query(“cat=1&showposts=1”); query_posts(1); while($recent->have_posts()) : $recent->the_post();?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read the story »’));?><div style=”clear:both;”></div>
<?php endwhile; ?>
</div><div class=”featured”>
<?php $recent = new WP_Query(“cat=1&showposts=1”); while($recent->have_posts()) : $recent->the_post();?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read the story »’));?><div style=”clear:both;”></div>
<?php endwhile; ?>
</div>Forum: Themes and Templates
In reply to: Posts incorporating earlier onesCool, thanks. I tried that earlier which has the current result of showing the one post per one but it’s showing my most recent post 3 times where there should be 3 different posts. Not sure which part I should be changing to call up the individual posts?
Forum: Themes and Templates
In reply to: Posts incorporating earlier onesSorry, also, where is the query name in the code?
Jackson
Forum: Themes and Templates
In reply to: Posts incorporating earlier onesThannks doodlebee.
Sorry for the basic coding question but I’m unsure how to code that. I tried the following:
<div class=”featured”>
<?php $recent = new WP_Query(“cat=1&showposts=2”); query_posts(1); while($recent->have_posts()) : $recent->the_post();?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read the story »’));?><div style=”clear:both;”></div>
<?php endwhile; ?>
</div>Thanks,
Jackson