sailormarcus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Change “upload max filesize directive in php.ini”same problem here. Where do I find php.ini?
Forum: Themes and Templates
In reply to: Defining css on page, not in style.css?Thanks, exactly what I was looking for.
Forum: Plugins
In reply to: How to implement “hook”?d’uh, never mind me, I was just being stupid, realized it was 100 times easier using get_category_link, I have no idea how I could miss that. sorry!
Forum: Fixing WordPress
In reply to: How to get “echo date” to use wordpress database time?I resolved it by asking my host to install PHP 5, thanks anyway
Forum: Fixing WordPress
In reply to: How to get “echo date” to use wordpress database time?I realized the time isn’t UTC, but probably the server’s time (located in the US). I don’t know if this makes any difference, but…
Forum: Fixing WordPress
In reply to: How to get “echo date” to use wordpress database time?Hmm it seems I only have PHP 4.4.7 installed… I guess that’s the problem then?
Anybody knows any other way of changing the output from the echo date function?
Forum: Themes and Templates
In reply to: get_posts problem: several categoriesThanks, but I ended up resolving it another way.
Forum: Themes and Templates
In reply to: get_posts problem: several categoriesYes it does, it gives me the 5 latest postings (no matter category), so I guess it has to be “category” and not “cat” for get_posts.
Forum: Themes and Templates
In reply to: get_posts problem: several categoriesI mean, there’s nothing malfunctioning with the code – it will give me all posts labelled “3”, but I want it to give me all posts labelled 3, 20, 21 etc, ie not just one category but several.
Forum: Themes and Templates
In reply to: get_posts problem: several categoriesyeah, I just want the posts from category 3, and it’s sub-categories, ie. 20-32 to show up and I want exactly 5 posts, from those categories.
only using “category=3” would give me all posts from that category, I expect (only I don’t have any posts with that particular number right now as all posts are now subcategorized)
numberposts=5 gives me the latest 5 blog entries, irregardless of category.
Forum: Themes and Templates
In reply to: get_posts problem: several categoriesI did try and change it to
<?php $posts = get_posts( "category=3,20,21,22,23,24,25,26,27,28,29,30,31,32&numberposts=5" ); ?>
(20-32 being the sub-categories I want to include in the listing)
but it didn’t work either.
Forum: Fixing WordPress
In reply to: apostrophe problem: ‘ turns into ’Resolved – apparently it’s only in Japanese IE it looks bad.
Actually, I found a plug-in to deal with the “autop”. (I swear, I was looking around for a long time before I posted, but it’s always like that – I’m never able to find the solution by myself until after I’ve posted here)
But I still have a problem – it seems the_category() doesn’t do quite what I want it to – I want it to JUST display the category name, not contain a link to it. I figured I could use the single_cat_title command but apparently it doesn’t work in the loop. Then I figured I could use category_description – but that doesn’t work inside the loop either.
So that leaves me with get_the_category, right? But I’m not entirely sure it can do what I want it to and I don’t quite get what kind of code I should use when I want something to be displayed. Any help would be much much appreciated!
Forum: Fixing WordPress
In reply to: apostrophe problem: ‘ turns into ’anybody? it affects all ‘ on my site in IE, and looks really really bad.
Forum: Fixing WordPress
In reply to: Changing link color for one div classSilly me, it DID work! Thanks a bunch!