Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter clayfx

    (@clayfx)

    It 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 Author

    Finally it works fine with this code:

    <?php $nposts = get_usernumposts($author);
    echo $nposts;?>

    Forum: Fixing WordPress
    In reply to: Current Author

    How 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 page
    Thread Starter clayfx

    (@clayfx)

    Thanks it works fine.

    Forum: Plugins
    In reply to: comments on index page
    Thread Starter clayfx

    (@clayfx)

    Excuse 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 page
    Thread Starter clayfx

    (@clayfx)

    Is it too simple, or too difficult, that anyone answers?

    Forum: Plugins
    In reply to: Custom Fields

    Ok, it works with the plugin “Get Custom Field Values”.
    Thank you

    Forum: Plugins
    In reply to: Custom Fields

    I 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!

    Thread Starter clayfx

    (@clayfx)

    Thank you very much. I made searches before but i couldn’t find it because of my english faults. Very sorry. 🙁

Viewing 9 replies - 1 through 9 (of 9 total)