mrtsherman
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to create a template for a particular PageThank-you. This seems great.
Forum: Themes and Templates
In reply to: Relocating cancel button in comment_formI ended up using jQuery to sort this for me. Sorting through the WP codebase is a headache. They could use a doc spec similar to jQuery’s where there are lots of examples of things people are commonly trying to accomplish.
$("#cancel-comment-reply-link").insertAfter(".comment-form-comment");
Forum: Hacks
In reply to: Twitter Widget font color change?Do you have a link so that we can check it out? Seems as though a quick CSS change would sort it out for you.
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeCould I use apply_filter? If so, what tag do I use to hook into the reply-to link?
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeI have an existing class which styles links as buttons. This is pulled in from an external stylesheet. I know alternatives are to add the reply button class to the third party stylesheet (have to ask them) or to copy the styles over into the wordpress installation, but I would prefer to keep special cases to a minimum.
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeSolved adding the span tags. Just used reply_text param for comment_reply_link. Totally stuck on the additional class thing though.
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeFor comment_reply_link -> How do I change the actual link. For example instead of having the default which is:
<a class="comment-reply-link" href="/hello-world/?replytocom=1#respond" onclick="return addComment.moveForm(\"div-comment-1\", \"1\", \"respond\", \"1\")">Reply</a>
I want to add
- Additional Class
- Wrap ‘Reply’ with span tags
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeThank-you esmi
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeIn regards to wp_list_comments. I want to modify the actual comments display heavily. Not just CSS, but content. From my installation I can see that this function interacts with
comment-template.php
from wp-includes directory. Is modifying this also a no-no? If so, what is the proper way to modify the display of posted comments?Forum: Themes and Templates
In reply to: Copy default WordPress comments codeThanks, I now understand how comment_form works. I’m not sure if I am a big fan of this display system verse what the deprecated system. It is difficult to modify the form using an argument array if you are not intimately familiar with the form and its html. Although the old system is harder to maintain, I think it is far easier to modify because you can visually see the markup and where things are coming from.
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeThis template is good. Quite straightforward and easier to get through than the twentyten template. Say I wanted to edit the following section though:
Your email address will not be published. Required fields are marked *
Where is this content coming from?
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeSo not sure what to do. I copied over the twenty ten commenting theme, but I still can’t figure out how the thing works. At this point I think I would be fine starting from scratch. Are there any good examples out there that get all the basics up and going?
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeI will start mucking around with twentyten theme. Looks like I need comments.php as well as twentyten_comment from the functions.php file. Hopefully this won’t be too rough. I will post back as I have questions. Thanks again.
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeIf you need to make modifications to the comment-reply form, we can help you learn how to do so in a forward-compatible manner
Where would I go to get help with this? Start a new thread, use this one?
I am interested in knowing why the current method I am using is a bad idea while the twenty ten is a good idea.
Forum: Themes and Templates
In reply to: Copy default WordPress comments codeAHA – a find all on my wordpress directory led me to wordpress\wp-includes\theme-compat\comments.php which is what was being used by default in the absence of my own. Copied that into my theme directory and now I can make my modifications. Thank-you for leading me in the correct direction Chip. Nice suit gravatar with greenery in the background too =)