sam_tots
Forum Replies Created
-
Forum: Your WordPress
In reply to: Review my websiteIt looks like a theme from elegantthemes.com? I think it is a nice theme, I just recognize it from checking out other sites and stuff, so with that said, maybe try and change up the overall graphic look of it to make it more yours and more your companies? I suppose most people would not know the difference so I am, I guess a little more critical on that part.
Forum: Plugins
In reply to: [Plugin: Flickr Gallery] TabsThanks, I will try that. It seems as if there has to be at least one tab set in “setting” panel… My gallery is really simple, and I just want to show the thumbs, nothing more… there are no sets, etc…
Forum: Fixing WordPress
In reply to: Listing number of fieldsOk, I was able to output the number of images in the set based on how many get loaded up with the custom field. It just outputs a static number if; if there are 3 images then the numer “3” is out put.
here is the code
<?php $imagelist = get_post_meta($post_id, 'image' , false); $number_of_images = count($images); ?> <p><?php echo $number_of_images ?></p>How would I go about getting it to count? like this 1/3 based on which images is up?
Forum: Fixing WordPress
In reply to: Listing number of fieldsThis is what I am using to get the images. If anyone wants to see the code, how would i integrate some other code to get the image #list?
<div class="featured-bar"></div> <div id="sections"><ul> <?php $images = get_post_meta( $post->ID , 'image' , false );?> <?php if($images) : foreach( $images as $image ) { ?> <li class="position"> <div class="featured"><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php echo $image ?>&h=277&w=950&zc=1" alt="<?php the_title(); ?>" width="950" height="277" /></div> </li> <?phpForum: Fixing WordPress
In reply to: Listing number of fieldsThanks, I will look into that. Still new at php and the wp platform, so things take a bit to get my head around.
<?php $imagelist = get_post_meta($post_id, $key, false);
$number_of_images = count($imagelist); ?>Then I would echo out the results into a div or whatever would hold it?
Thanks for you insight, I am having a blast working this site out with WP…
Forum: Fixing WordPress
In reply to: Listing number of fieldsForum: Fixing WordPress
In reply to: Custom FieldNever mind I got it!
I will post what I did up here, I am sure others are looking for something similar.
Forum: Fixing WordPress
In reply to: Custom FieldAwesome, that worked! Now, if I wanted each image to get placed within 1 div and as a list.
So the final output would look like
<div id=”projects”>
- <img src=”img.jpg”>
- <img src=”img.jpg”></l1>
etc…
</div>
The dynamic content is obviously between the
how I was able to get it to work now out puts each li in between a new div id “projects” and an ul…
Thanks so much, I am almost there.