• I wanted to switch my WP theme to “Rin 1.1” but I encountered a little problem. First the problem. I’m using WordPress 1.20 without modifications and “Spam Karma 2 final” as only plugin. The only modification is the use of the german WP language file (installed according to the instructions and no problems so far). When I activate Rin as theme it looks like this (screenshot taken using firefox 1.0.7):

    https://s01.imagehost.org/view.php?image=/0421/blog.jpg

    Two problems. Sometimes the word “comment” is still english and sometimes german (“Kommentar(e)”). The second problem is that the “x comments” link is sometimes centered whereas it should be on the right side.

    My knowledge to php, css etc. is very limited so I have no idea how to fix this or where the problem lies. The important part of the themes

    index.php looks like this:

    <div class="meta">
    <div class="author">
    <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?>
    </div>
    <?php _e("Filed under:"); ?> <?php the_category(' and') ?>
    </div>
    <div class="feedback">
    <?php comments_popup_link(__('No Comments'), __('1 Comment'),__('% Comments')); ?>
    </div>
    <?php wp_link_pages(); ?>

    For the css problem, the code for the feedback class looks like this

    in the style.css:

    .feedback {
    float: right;
    font-size: 1.0em;
    line-height: 35px;
    }

    Since “feedback” contains “float:right” and the parameters of “comments_popup_link” appear to be WP variables, I have no idea what the problem is.

    If it should be important the “author” class looks like this:

    .author {
    width: 200px;
    float: right;
    text-align: right;
    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • “WordPress 1.20”

    Is that right ?

    Thread Starter yggdrasil

    (@yggdrasil)

    Of course not. The is a 5 missing :). WordPress 1.5.2.0

    Ahhhhhhhh ??
    Had to ask, because there is a 1.2

    The Comments word would seem to be solved in the snippets of code you posted above.
    A link to your site would get the css answer – images don’t let us see what is controlling the words.

    Thread Starter yggdrasil

    (@yggdrasil)

    Of course, the link is: https://animeblog.sub-kultur.de/index.php

    Edit: Seems like “comment” is only used if there is more than one comment.
    Edit2: Changing “__(‘% Comments’)” to “__(‘Comments (%)’)” did the trick for the language issue. Seems to be a problem of the WP variables or the german language pack, no idea. But there is still the issue with the alignment.

    <?php comments_popup_link(__('No Comments'), __('1 Comment'),__('% Comments')); ?>

    Change those words in there ? (that’s the main index)

    And nothing is centred, so I can’t help with that right now.

    Thread Starter yggdrasil

    (@yggdrasil)

    Ok seems to be only a prob if you are logged in as admin. Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with theme/css/php’ is closed to new replies.