leflo
Forum Replies Created
-
Forum: Themes and Templates
In reply to: New Theme: MusilYou’re using WordPress 1.5.2, but the Musil theme only works with WordPress 2.0 only.
Forum: Fixing WordPress
In reply to: paragraph tags around html commentsthat code goes in the template.
Forum: Fixing WordPress
In reply to: can’t acces admin pageswhat about your .htaccess file, maybe there are some bad rewrite rules or so…
Forum: Fixing WordPress
In reply to: can’t acces admin pagesTry to replace the wp-admin directory with the one from the WordPress distribution, seems like an error in the files or the rewrite rules.
Forum: Fixing WordPress
In reply to: How to have multiple blockquote stles?Why don’t you use
<blockqoute class="myclass"></blockqoute>
and CSS classes?Forum: Installing WordPress
In reply to: MySQL upgrade problem.Maybe your MySQL version is not compatible with WordPress 1.5?
Forum: Fixing WordPress
In reply to: paragraph tags around html commentsYou can try to
remove_filter('the_content', 'wptexturize');
or toremove_filter('the_content', 'wpautop');
HIH
Forum: Fixing WordPress
In reply to: Please help me!!If you mean, that you updated the version of WordPress, you shoud check <yoursite>/wp-admin
Forum: Themes and Templates
In reply to: Arranging posts by date ascendingYou could use following code:
<?php
add_filter('posts_orderby', 'action_order_ascending');function action_order_ascending($orderby)
{
return 'post_date ASC';
}
?>untested, but WordPress source says that it will work.
Forum: Themes and Templates
In reply to: Best way to have two loops?You also could use
rewind_posts
andquery_posts
. I did this for the Musil theme.If you look at the home page for example, you’ll see four WordPress loops working (one for the featured post, one for the sidenotes, one for recent posts and one for the rest of the posts).
Be aware, that you might have to save and restore some internal WordPress variables to get it all working correctly. Peek at my source for examples. ??
Forum: Plugins
In reply to: displaying subpages dynamicallyYou could have read the codex finding that this will work fine:
wp_list_pages('sort_column=post_title&title_li=<h2>Subpages of '. get_the_title() .'</h2>&child_of='. $post->ID'.'&depth=1');
Didn’t test it, but it should work.
Forum: Themes and Templates
In reply to: New Theme: MusilMusil Beta 0.97.1 is out with two improvements:
- Sidenotes for Pages (see Musil project homepage) for an example.
- Menu with translucent background
Get it here: Musil project homepage
Forum: Plugins
In reply to: New Plugin: Content Negotiationshould be fixed now
Forum: Plugins
In reply to: New Plugin: Content Negotiationdepends on what you like more.
Forum: Themes and Templates
In reply to: New Theme: MusilThe German text should be in english, there was a problem with the content negotiation. I outsourced it and it should work like charm now (i.e. Musil 0.97 Beta).
Btw: Musil now works without defined WPLANG.
And for everyone who is wondering about which plugin get_scrobbler is: it’s Scrobbler: https://leflo.de/projekte/scrobbler