dains
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: “get_the_category” returns wrong parents?Hi, I’m struggling with sorting out the order as well. My purpose is to put a list of the categories/subcategories that a post belongs to within the post so that it’s completely evident what subject matter the post touches on.
For me it returns all subcategories first, then all parents, instead of parent/sub, parent/sub as one would expect, and as the_category tag does. I can’t use the_category tag because I need a clean list without links and such.
I asked someone for help but their code is wrong- it returns the same parent/cat all the time. But I don’t know enough about PHP to fix it.
Here it is, just in case you do 🙂
‘
function ordered_cats() {foreach((get_the_category()) as $cat)
{$parents_1 = get_category_parents($cat);
$parents = substr($parents_1, 0, -1);
$string = $parents.”, “.$parents;
// don’t have a clue what this is doing, doesn’t make any // sense to me at all. It should pull the elements from the // array and sort them into a string by parent/cat? weird
}echo $string;
‘Sorry I couldn’t help more!
Forum: Plugins
In reply to: WordPress.org design- what plugins-customizations?Thank you for the information, I am looking at the source for WordPress.org’s main page, but it doesn’t say “Hey, this site is powered by <whatever>”. I see that it’s using divs, not tables, and lists styled by CSS, all of which matches up with what I know of WordPress. The only possible reference I see is to a css sheet from Mediawiki, but there’s a lot more to WordPress.org.
So how would I have known? Anyways, who the heck makes web software and doesn’t use it for their own site as a showcase?
Forum: Plugins
In reply to: WordPress.org design- what plugins-customizations?Wait, wait. WordPress.org is not powered by WordPress, or did you mean that it was WordPress MU?
If not, can you tell me what WordPress.org does run on?
As to the question, thanks for the links. I’ll revise my list to match what I find there.
Forum: Plugins
In reply to: News Briefs – Widget availible?If you’ve tried searching Plugins (in Extend/Plugins) and come up blank, I’d look at using an RSS feeder and setting it for today’s news from those sites. It will probably be a manual job to put in the code though, unless the RSS is a widget, in which case you could drag and drop the item.
Best of luck!
Forum: Plugins
In reply to: Looking for RSS post manager….Uhh, ok. Then I’m looking for an RSS feed AGGREGATOR.
Does anyone happen to know of any?
Forum: Installing WordPress
In reply to: Hi, does this work on WAMP test installs?Hmm, wouldn’t that be classified as a site functionality issue? Anyone to report that to? Comments on plugins should probably stay with the plugin so that the author of said plugin can respond instead of tying up the time of WordPress core support people, at least imho.
I still need that answer, so I’ll go search for another way to communicate with the author. Maybe he/she’s got a site…