clayfx
Forum Replies Created
-
Forum: Themes and Templates
In reply to: strange XHTML errorsIt seems that WP defines a Content-type by the way of wp-blog-header.php, which is different from the one which is written on the header.php file. Then here, as Beel, said, the first one was not defined, so it created a confusion.
Also, in wp-blog-header.php, line 118, I’ve deleted:
@header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
Then my blog becomes valid XHTML, as it takes in consideration the content-type defined in header.php.
My solution is quite dirty, I’ve still not understood where the informations deleted were, to be able to modify them in a clean way.
(excuse my english and the explications not very clear)
Thanks for Beel, ceo, Lorelle.
Forum: Fixing WordPress
In reply to: Current AuthorFinally it works fine with this code:
<?php $nposts = get_usernumposts($author);
echo $nposts;?>Forum: Fixing WordPress
In reply to: Current AuthorHow is it possible, in the author.php page, and outside the loop, to display the number of posts already written?
I’ve try to put:<?php $posts = get_usernumposts($user_ID);
echo $posts;?>before the loop, but it destroys it.
Thanks.
Forum: Plugins
In reply to: comments on index pageThanks it works fine.
Forum: Plugins
In reply to: comments on index pageExcuse me, I didn’t want to be sarcastic. Sometimes my questions can be so stupid that it doesn’t merit an answer, I just wanted to know.
I use WP 1.5 with a modified kubrik theme:
I use miniposts.
http://krylenko.net/live/
Thank you.Forum: Plugins
In reply to: comments on index pageIs it too simple, or too difficult, that anyone answers?
Forum: Plugins
In reply to: Custom FieldsOk, it works with the plugin “Get Custom Field Values”.
Thank youForum: Plugins
In reply to: Custom FieldsI prefer not to create a new thread for my question, which is related to custom fields.
I have the plugin miniposts activated on my blog, then, when I put <?php the_meta(); ?> in the Index.php file, it displays:
“_mini_post: 0” (in a normal post)
or
“_mini_post: 1” (in a minipost)Question is:
How can I display the other fields and not the minipost one.Thanks!
Forum: Fixing WordPress
In reply to: Limit of the lenght of a postThank you very much. I made searches before but i couldn’t find it because of my english faults. Very sorry. 🙁