I notice you’re using jquery cycle plugin (http://jquery.malsup.com/cycle/) on your site with jquery version 1.3.2.
I don’t know if this will help at all but for all sites that I’ve used the jquery cycle plugin on, it only worked with jquery version 1.2.6
I’m not sure if that’s the issue you’re experiencing (I didn’t go through your code where you defined the cycle) but, it’s worth trying.
Good luck.
I 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.
your jQuery looks to be working fine, you just dont have any images in the HTML to manipluate – just empty A tags
I 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=”” />