forcetwelve
Forum Replies Created
-
does that make sense?
here’s my code on the single.php – this is where the gallery is.
<?php get_header(); ?> <?php while(have_posts()) : the_post(); ?> <div class="post"> <div class="left"> <h2><?php the_title(); ?></h2> <?php the_content(); ?> <div class="clear"></div> </div><!-- left --> <div class="right"> <?php $id = get_post_thumbnail_id(get_the_ID()); // gets the post thumbnail ID ?> <?php echo do_shortcode("[portfolio_slideshow exclude={$id}]"); // insert the gallery without the thumbnail ?> </div> </div> <!-- post --> <?php endwhile; ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
hi again – thx for responding.
that works, although it pulls in all the images from the media library – not just from the post.
for instance, i have 16 images in my media library, and the gallery shows all 16, not just the 4 for that post.
any ideas why?
thanks for coming back to me dalton.
what i am trying to do is somehow remove the get_thumbnail image though without having to exclude it’s unique image tag each time.
someone has written a function here:
but i can’t seem to get it working with your plugin. maybe you would know how i could edit that code to make it work? many thanks.
Forum: Fixing WordPress
In reply to: Page Template Missing in 2.8i recently did this too and it was due to me removing the index.php from my theme folder. i had done this as i was using all custom templates and forgot that index.php must be in there!
Forum: Fixing WordPress
In reply to: custom fields stopped working & more errors!FYI – i have worked it out. i had the jquery code in my header twice!
<script type="text/javascript" src="js/jquery.js"></script>
Forum: Fixing WordPress
In reply to: custom fields stopped working & more errors!interestingly – when i change the theme to the default theme it works. i have built a custom theme which is the one that is producing the errors, however this has worked in the past, up until a few days ago.
is there a way i can diagnose the errors to better see what code is wrong?
Forum: Fixing WordPress
In reply to: custom fields stopped working & more errors!no – that doesn’t work – it was the first thing i tried.
i checked the firefox error console and found this but i don’t know if it’s releavant.
Forum: Fixing WordPress
In reply to: custom fields stopped working & more errors!anyone have any ideas?
Forum: Fixing WordPress
In reply to: custom fields stopped working & more errors!it’s not that as i’ve got a different WP install on the same hosting/domain and it works fine.
anyone have any ideas please??!!
Forum: Fixing WordPress
In reply to: How do I add code to htaccess file?you need to be able to see invisible files.
if you haven’t added a htaccess file yourself already – just open up a text editor, paste that code in there and save it as htaccess.
then upload it to your root directory and then add the ‘.’ before the htaccess.
it should disappear then if you can’t see invisible files on your ftp server.
Forum: Fixing WordPress
In reply to: custom fields stopped working & more errors!interesting. i might email them.
Forum: Fixing WordPress
In reply to: custom fields stopped working & more errors!does anyone even read these forums? i swear i have never had a decent reply from anyone.
is my issue unclear or something?
i’m getting the same issue with 2.9.2. working everywhere else on older versions.
Forum: Themes and Templates
In reply to: loop inside the loop?that is my index template code – which works fine…