Forum Replies Created

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

    (@dirk1312)

    Hello @wpzoom

    thanks a lot! I’ll have a look into that in the evening.

    Kind regards,

    Dirk

    Thread Starter Dirk1312

    (@dirk1312)

    Thanks a lot for your assessment. Since I will, of course, first of all start with one page to get into wordpress again, it probably makes sense to run each of the containers separately.

    Thread Starter Dirk1312

    (@dirk1312)

    Ah, ok. Great! This works perfectly! Thanks a lot!

    Thread Starter Dirk1312

    (@dirk1312)

    I just remembered, that the menu is ordered not as I did it in the dashboard. The menu is ordered alphanumeric (please ignore the menu I showed above, because I translated it into english -> it’s not alpahnumeric anymore).

    Any idea, how I can sort it?

    Thanks and best wishes,

    Dirk

    Thread Starter Dirk1312

    (@dirk1312)

    Hi esmi,

    thanks for your response. I didn’t overwrite the theme, I copied it to another folder and edited it.

    Nevertheless I still have the problem with the menu. Any ideas?

    Thanks and best regards,

    Dirk

    Thread Starter Dirk1312

    (@dirk1312)

    Oh, I’m sorry for that inexact answer.

    This is the former
    <li>-Tag the comments were wrapped by (I changed it to div because I don’t want the comments to be listed that way):

    <div class"..." style="<?php global $comment_depth; if($comment_depth > 1) { echo 'margin-left: ' . $comment_deth * 3 . 'px;'; ?>">....</div>

    The result is style=”margin-left:px;”.

    Please remember, it’s the functions.php where I use it (in the twentyten template). I don’t know if this could be the reason.

    Thread Starter Dirk1312

    (@dirk1312)

    <?php global $comment_depth; $comment_wording = ($comment_depth > 1) ? 'replies' : 'comments'; ?>

    May someone tell me, why this doesn’t work? I think I have to set $comment_depth to global where it is initialized and not where I call it?!

    Is there no method to enter this property?

    Thanks and best regards, Dirk

    Thread Starter Dirk1312

    (@dirk1312)

    Hi,

    thanks for your detailed response.

    First at all: I made a copy of twenty ten theme, renamed it and changed the annotations in the top of each page. But thanks for that information!

    Hmm, ok. I think, this is not such a nice way to solve it just to change the “says” to “reply”. But looking at your example with fireburg and with your coding example I had an idea:

    I solve it using divs instead of lists, so, I can do it this way:

    <div class"..." style="<?php if($comment_depth > 1) { echo 'margin-left: ' . $comment_deth * 3 . 'px;'; ?>">....</div>

    So I have divs threaded by margin-left. Ok, if there’s a tooo big depth I get problems, but I would get them using lists, too?!

    Thanks and best regards,

    Dirk

    Thread Starter Dirk1312

    (@dirk1312)

    Wow, thanks a lot! That’s really great!

    One more question: Is there a possibility to display comments not the way

    [code]

    1. Comment 1
    • Reply to comment 1
    • One more reply to comment 1
    • Comment2
    • [/code]

      My problem is, when I give the list element from Comment 1 a CSS background-color and a border, the replies are of course always in the same box and it looks like they are quotes or something like that.

      Is there a best practice or a way to handle this?

      Thanks and best wishes,

      Dirk

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