Paul Sheldrake
  • Member for 11 years, 4 months
  • Last seen more than a month ago
1 answers
votes
510 views
How to grab the first two image attachments from a post?
Accepted answer
5 votes

Looks like you may have just not had a loop setup, try this one <div class="two_images"> <?php global $post; $args = array( 'post_parent' => $post->ID, 'post_type' => '...

View answer
9 answers
votes
12k views
How to automatically add rounded corners to thumbnails?
3 votes

Here is my take on an using one of the wordpress image filters, I tried using the one suggested by Chip Bennett but didn't have any success. What I've done is create a custom size and then check each ...

View answer
9 answers
votes
21k views
How can I version the main CSS file?
3 votes

EAMann is correct, you don't have to use the style.css file for all your CSS. For versioning the style sheet and other files in your theme you can add this to your functions.php file function ...

View answer
1 answers
votes
603 views
How can I create podcast posts automatically from the contents of a particular directory?
2 votes

I've created a very basic plugin for that now. Let me know what you think or if you have any questions.

View answer
1 answers
votes
523 views
How to detect a user that is not logged in
2 votes

You could check for this cookie wp-settings-1 it lasts for 1 day and then also check if wordpress_test_cookie is available. Or you could just write a simple plugin that checks if the user is logged ...

View answer
5 answers
votes
2k views
Best way to show map of tagged posts?
1 votes

I would suggest rolling your own. Create a metabox that allows posts to store lats and longs on posts. Then create a page that finds all the posts with the tags that you want that can grab the lats ...

View answer
1 answers
votes
233 views
Is there a Wordpress Plugin that allows voting "does this coupon work" on specific links like Retailmenot
1 votes

I would use vote it up, it does support two way voting but can be a bit buggy about accurate tracking of votes

View answer
2 answers
votes
281 views
Need some templating advice for templating with custom post types and taxonomies
1 votes

From your description, it seems like you would need 2 custom post types, one for the list of winners page and one for the individual winners. On the list of winners page type you can select which ...

View answer
1 answers
vote
229 views
How to obtain the html stripped version of $category->description?
Accepted answer
1 votes

Have you tried something like this? strip_tags($category->description) Here the reference page for the strip_tags function

View answer