oliverw
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Jquery SlideshowI understand that I have empty tags in my html when I look at my page source I can see that. But what file do I edit or add the picture codes into?
this is my:
Featured.php file<!– begin featured –>
<div class=”fwrapper”>
<div id=”featured-img”>
<div id=”featured”>
<div class=”featured”>
<?php
$tmp_query = $wp_query;
query_posts(‘cat=’ . get_cat_ID(dp_settings(‘featured’)));
if (have_posts()) :
$first = true;
while (have_posts()) : the_post();
ob_start();
?>
<li<?php if ($first) echo ‘ class=”first”‘; ?>>“><?php dp_attachment_image($post->ID, ‘full’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>
<?php
$photos .= ob_get_clean();
ob_start();
?>
<li<?php if ($first) echo ‘ class=”first”‘; ?>>
<h2>“><?php the_title(); ?></h2>
<p><?php echo dp_clean($post->post_content, 300); ?></p><?php
$text .= ob_get_clean();
$first = false;
endwhile;
endif;
?>
<ul class=”photo”>
<?php echo $photos; ?><ul class=”text”>
<?php echo $text; ?></div>
</div>
</div>
</div>
<?php $wp_query = $tmp_query; ?>
<!– end featured –>For some reason I think it is missing this? and if it is where exactly do I add it into?
<?php if (get_post_meta($post->ID,”articleimg”,true) != ”): ?>
ID,”articleimg”,true); ?>” />
<img src=”<?php echo get_post_meta($post->ID,”articleimg”,true); ?>” alt=”” />
Forum: Themes and Templates
In reply to: Jquery SlideshowI have tried using version 1.2.6 but it still didn’t work is it possible that instead of “articleimg” I have to use something else? I have tried other themes and I seem to be having the same issue with the image not appearing.
Forum: Themes and Templates
In reply to: Jquery SlideshowBUMP! Please help
Forum: Themes and Templates
In reply to: Integrate WordPress With Current WebsiteBump!
Forum: Themes and Templates
In reply to: Integrate WordPress With Current WebsiteThanks for the help but I’m having some issues. I posted this into the 800px by 1350px window so I’m just wondering what I did wrong.
<?php
// Include WordPress
define(‘WP_USE_THEMES’, false);
require(‘./blog/wp-load.php’);
query_posts(‘showposts=1’);
?>
<?php while (have_posts()): the_post(); ?><?php endwhile; ?>
I wasn’t sure if I was suppose to post this into my BODY:
<?php
// Include WordPress
define(‘WP_USE_THEMES’, false);
require(‘./blog/wp-load.php’);
query_posts(‘showposts=1’);
?>Or am I missing something else?
When I upload it, it just doesn’t display.