Dirk1312
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Foodica] Article photo shown on start page AND in receiptForum: Installing WordPress
In reply to: Installing two instances of WP with one docker container?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.
Forum: Themes and Templates
In reply to: Change twenty ten templateAh, ok. Great! This works perfectly! Thanks a lot!
Forum: Themes and Templates
In reply to: Wrong menu after changing templateI 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
Forum: Themes and Templates
In reply to: Wrong menu after changing templateHi 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
Forum: Themes and Templates
In reply to: Change twenty ten templateOh, 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.
Forum: Themes and Templates
In reply to: Change twenty ten template<?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
Forum: Themes and Templates
In reply to: Change twenty ten templateHi,
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
Forum: Themes and Templates
In reply to: Change twenty ten templateWow, thanks a lot! That’s really great!
One more question: Is there a possibility to display comments not the way
[code]
- 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