tombo
Forum Replies Created
-
Forum: Plugins
In reply to: Post with two titlesWaaaaaaaaaaaaait a minute… what’s this “custom fields” thingy?
Forum: Fixing WordPress
In reply to: php substr and the_title()Don’t worry.. I just wrote my own function for it.
Forum: Plugins
In reply to: Preventing PHP code from excecutingThat tool changes all the brackets and such into their ascii values so that I can paste it in HTML and have it show up as <?php include(‘wp-comments.php’); ?> when the page is viewed, and not disappear when compiled.
.
Thanks, but it doesn’t work. o_OForum: Fixing WordPress
In reply to: multiple loops and the_date();The time tag works the same as the date tag, you just have to tell it to display the date with the time. (ie. use all those letters, it’s like j A, Y or something.)
Forum: Fixing WordPress
In reply to: Grabbing 5 posts from a single categoryI’ve been having the same problem, <?php the_title(); ?> displays the correct titles, but <?php the_content(); ?> won’t show the proper content for the title. It just repeats the same content each time. In my case, it’s repeating the last content displayed from the previous get_posts call.
And here’s a question on the side.. you know how WP beautifys your text, ie. it adds <br>’s and stuff to make it look just as you posted it. Is there a way to disable that through using code? ie. some kind of tag in the_content function that disables any and all html code that is present in the post.Forum: Fixing WordPress
In reply to: Grabbing 5 posts from a single categoryThats fugging sweet! Thanks so much.
What I was hoping to do.. I wanted to use a category to put thumbnail photos in a column on the side of my blog. With this code (using the first example) I could display categories 1, 2, and 4, which would all have regular text, in the middle, then have category 3 on the side, only displayed five at a time (the latest five.) In order to post a photo, I needed to somehow input a folder name and a file name. Now, all I have to do in order to post a thumbnail on the side, is make the title of the post the folder name, the content the file name, then chose category three and bada-bing, it’s on the side.
Sorry if that doesn’t make sense.. I’m in a rush. Like I said, I have to go to work……
Thanks again.Forum: Fixing WordPress
In reply to: Grabbing 5 posts from a single categoryI gotta go to work right now, but thanks for the reply. The comments seem promising. I’ll be sure to try it. 😀
Forum: Fixing WordPress
In reply to: Grabbing 5 posts from a single categoryThe code I used to display the last 5 entries ignores the $cat variable at the top. No matter what category I specify to be shown, it will always show the newest five entries.
Forum: Fixing WordPress
In reply to: Parameters for running multiple WP loopsOkay, this is good…
For possible parameters, it lists “category=” as being “not yet implemented.”
I take it that means the feature is to be added in later versions, but currently does not work.
It mentions at the bottom that this information (wiki) was last updated on June 11th of this year. Seeing as of how that was a month-and-a-half ago, before I go updating my version of wordpress, does anyone know if the most up-to-date nightly version has this parameter implemented? Is there a mod anywhere or any source code I can modify to make this feature implemented?
The reason I want to do this: I want one loop for regular entries in my blog, then a second loop for displaying photos – both loops being displayed on the same page. For the blog entries I’d want the date and toipc and such, but for the photos I’d just like them listed as thumbnails on the side, with no date or time or anything attached to them. And I’d want to be able to add both entries to the blog and list of photos by simply chosing which category I’ll be submitting an entry in.
Aside from using two iframes that each only show posts for one category, I don’t know how else to do this. I’m looking for the most efficient method as well.
Thanks for the help.Forum: Everything else WordPress
In reply to: How difficult will it be to upgrade to 1.x?What about downgrading from 1.2 alpha to 1.01?