rosacreative
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Blog Previous and Next links not working properlyThat did the trick. Thanks so much!
Forum: Requests and Feedback
In reply to: Thumbnail Cropping from top left instead of middle centerThat’s a workaround but ideally WordPress should allow the user control over the crop position of every image.
Is this something that will come in WordPress 3? I hope so..This is really frustrating especially for a portfolio site where you want to showcase the best part of the image in the thumbnail.
Forum: Fixing WordPress
In reply to: Display the post only if thumbnail is set uplol..Well I think i had tried both variations, but the variation you just posted, gives me NO thumbnails at all. Which is why I had to get creative! haha
Any idea why its not returning any thumbnails?
Forum: Fixing WordPress
In reply to: Display the post only if thumbnail is set upIs this what you were suggesting? It didnt work for me π
<?php if( has_post_thumbnail() ) { ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="work-item"><?php the_post_thumbnail(); the_title(); ?> <a href="<?php the_permalink() ?>">View Details</a> </div> <?php endwhile; endif; ?> <?php } ?>Forum: Fixing WordPress
In reply to: Display the post only if thumbnail is set upI understand. But there are two if’s…I tried wrapping the if has_post_thumbnail around the whole loop, but was unsuccessful. π
I’m creating my first wordpress theme and am no PHP-coder.
Thanks for helping though.Forum: Fixing WordPress
In reply to: Display the post only if thumbnail is set upWhen i use that, I only get 1 thumbnail displaying because its not in the loop. How can I incorporate the “if statement” into the loop?
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="work-item"><?php the_post_thumbnail(); the_title(); ?> <a href="<?php the_permalink() ?>">View Details</a> </div> <?php endwhile; endif; ?>Forum: Fixing WordPress
In reply to: Display the post only if thumbnail is set upthat didnt seem to work. any other suggestions? Im just not sure of the proper PHP to use.
this is the if statement I need to incorporate:
if ( has_post_thumbnail() )Forum: Fixing WordPress
In reply to: URL for portfolio projects (domain.com/work/work-item)Oh..I see..a child page for each project item? and will it work the same as a post essentially?
Forum: Fixing WordPress
In reply to: URL for portfolio projects (domain.com/work/work-item)If you make your work-item Pages children of your work Page, you should get the url structure that you want.
Hmmm…but if the work-items are posts, how do I make them children pages?
so sorry about all the questions. Appreciate your help!
Forum: Fixing WordPress
In reply to: URL for portfolio projects (domain.com/work/work-item)/%year%/%monthnum%/%day%/%postname%/
I dont understand how that permalink helps me achieve my goal of domain.com/work/work-item?
Forum: Fixing WordPress
In reply to: URL for portfolio projects (domain.com/work/work-item)You ideally need a numeric at the front of the custom permalink structure so that WP can easily distinguish between Pages & Posts.
Can you give me an example esmi?
Forum: Fixing WordPress
In reply to: URL for portfolio projects (domain.com/work/work-item)It’s not too late to change the permalinks since my site is still local. If that’s the only way, then I’m fine with that.
I initially set up my permalink structure that way because I read somewhere that it’s better for SEO and it was what a lot of the very popular blogs were doing.