Colin Helvensteijn
Forum Replies Created
-
Forum: Plugins
In reply to: How do you have comments from the admin show up in a different color/style?There’s a Author Highlight plugin. Allows you to apply a class to comments with a specified name and e-mail address.
Forum: Fixing WordPress
In reply to: Special characters in pagesTicket reopened. Hope someone will look into it, because I can’t really change a page with entities in it right now…
Forum: Fixing WordPress
In reply to: Special characters in pagesWill do that.
Forum: Fixing WordPress
In reply to: Special characters in pagesI never used the WYSIWYG editor. Always the code editor. Just for kicks, I enabled that monstrosity and disabled it again (maybe WordPress wasn’t entirely sure about it?) but to no avail.
And it doesn’t screw up my HTML tags, it screws my entities.
If I have some HTML code in my page escaped with entities (code examples), it makes HTML out of it.
Forum: Themes and Templates
In reply to: Problems with second loop and custom SELECT queryWordPress does caching by itself? I thought one needed a plugin like WP Cache for that?
Forum: Themes and Templates
In reply to: Problems with second loop and custom SELECT queryWell, after a lot of trying and faling, I finally got it to work. Right underneath the page loop, I make my custom query:
$parent = 55; $sql = sprintf( 'SELECT * FROM %s WHERE post_status = "publish" AND post_type = "page" AND post_parent = %d ORDER BY menu_order', $wpdb->posts, $parent ); $pluginPages = $wpdb->get_results($sql, OBJECT);
And then create a loop for it:
if($pluginPages):foreach($pluginPages as $pluginPage): setup_postdata($pluginPage); $title = get_the_title($pluginPage->ID); $permalink = get_permalink($pluginPage->ID); // some get_post_meta() calls here // make a nice blog-like list of sub pages here endforeach;endif;
And the result can be seen here.
Forum: Requests and Feedback
In reply to: Dynamic BreadcrumbsHow about this one? Works perfectly fine for me.
Forum: Fixing WordPress
In reply to: 2.3 Upgrade broke mod_rewrite/friendly URLsNah, your .htaccess it’s not. It looks exactly the same as mine (at least the WP section of mine).
I do have a similar problem on my local test installation, thouhg with me it’s only the RSS URL. Safari also claims that there are too many redirects (which it should even be aware of because Apache and WP o that all internally).
Anywhay, that only goes for the RSS feed URL, orther URL work perfectly fine.
No sure how this would help you, other than the confirmation that there’s nothing wrong with your .htaccess file…
Forum: Themes and Templates
In reply to: Static Front Page Blog<?php
/*
Template Name: Blog
*/// Which page of the blog are we on?
$paged = get_query_var('paged');
query_posts('cat=-0&paged='.$paged);// make posts print only the first part with a link to rest of the post.
global $more;
$more = 0;//load index to show blog
load_template(TEMPLATEPATH . '/index.php');?>
Save that as blog.php in your themes directory and select Blog as page template for your blog page.
Forum: Themes and Templates
In reply to: Problems with second loop and custom SELECT queryYeah, read that too. It uses
query_posts()
. If I could use that, it would indeed probably solve my problem. But I can’t seem to find apage_parent
parameter for it.Forum: Developing with WordPress
In reply to: Change theme via URL help!You’re gonna need a plugin for that. WordPress can’t do it by default. Have a look at this page.
Forum: Fixing WordPress
In reply to: Rewrite rules messed up after page editMarked the topic as resolved. Since I moved to a new web host, I have no more problems.
Forum: Fixing WordPress
In reply to: Rewrite rules messed up after page editWell, doesn’t work for me since I already tried with the default theme on a completely fresh install. I think I can assume that at least that one should work fine.
Forum: Fixing WordPress
In reply to: Rewrite rules messed up after page editUnnfortunately, that doesn’t work for me either. But my domain will be transferred to my new webhost within a few days, so I hope a fresh WP installation there will fix this…
Forum: Fixing WordPress
In reply to: Rewrite rules messed up after page editI’m going to move to another host soon, too. Going to do a fresh install, and I hope I’m rid of this problem then.