chriskalani
Forum Replies Created
-
Inside the loop:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
You could do something like this to find the category and then do something differently:
<?php if ( in_category('237') ) { ?> <div class="post-cat-237"> <?php } else { ?> <div class="post"> <?php } ?>
You should also check out this method if all you’re needing to do is style it differently. You can do the same sort of thing to give it a different class that you’re able to grab a hold of.
https://lorelle.wordpress.com/2007/09/06/using-wordpress-categories-to-style-posts/
Forum: Installing WordPress
In reply to: uploads folder outside WP root?Awesome! Works great for 2.5+
Forum: Installing WordPress
In reply to: uploads folder outside WP root?I have been trying to figure this out too. It was easy to do before 2.5… I posted the solution here: https://chriskalani.com/archive/upload-outside-of-the-wordpress-directory/
But that no longer works… ?? I really need to find a solution.
Forum: Developing with WordPress
In reply to: Posting via e-mail and mms, problem encodingGosh! me too, I have been playing around with this for a week now. I just want to make simple posts from my phone via mms… why does it have to be so difficult! Has anyone fixed this? We should all chat it up on IM and figure something out.
Forum: Plugins
In reply to: Make a post from a PageWorks great! Thanks Michael.
Forum: Fixing WordPress
In reply to: Change upload directory to outside the install directory?Check this out: https://chriskalani.com/archive/upload-outside-of-the-wordpress-directory
I had the same problem and got it to work pretty simply.
Forum: Plugins
In reply to: Search is limited to amount of posts to display…Thank you very much! That was super simple and it worked for search as well as by month in my archive. WOOOOO WEEEEE! Let me take you out to dinner or something.
Forum: Fixing WordPress
In reply to: Seperating postbypost view in the ArchiveFound my answer here:
https://www.sporadicnonsense.com/2006/05/04/clean-archives-20/