• Resolved raisthlin

    (@raisthlin)


    WordPress: 2.7.1
    Theme: Oriental
    https://thailande.raisthlin.ca/

    Hi all, im currently translating a theme in french and theres 2 line of text i just cant manage to change.

    Those lines are the:

    “Leave a Reply” just before the reply form

    and

    the # of “comments” input just before posted comments at the end of each post.

    Note that i did change those strings and that they work everywhere else. But once you open a post the text is not edited. I used dreamweaver to search for “Leave a reply” in every single files and changed them all. Why isnt it working ?

    Any help much appreciated

Viewing 8 replies - 1 through 8 (of 8 total)
  • You may need to do like I have to do. For some reason sometimes added files are generated on the server that I did not have within the files I was working on. So, to be absolutely sure that everything on the server is in agreement with my working files, I will, from time to time, get all the files from the server and download them into my working files. I then conduct a search of the strings I want to change and upload those files back to the server. That seems to be the only solution that works for me.

    Thread Starter raisthlin

    (@raisthlin)

    I found out that the style.css command line

    /* Comment */
    h2.commentheading {
    	font-size: 1.2em;
    	color: #fefef6;
    	font-family: Garamond, Georgia, serif;

    controls the according text but i still cant manage to change the text at all even when it is edited in the php files….

    EDIT: i just conducted a search on the original files as well and theres absolutely no “Leave a reply” strings…only Leave a comment…how is it that “Leave a reply” shows up ? could it be that its located somewhere else ?

    You need to download all the files from your server and then do your search.

    Thread Starter raisthlin

    (@raisthlin)

    Thanks InterTrade ?? I tried already and it doesnt work. I made sure that files from server and computer matched and were edited correctly. Still cant figure this out…its really weird that this text shows up even if it isnt anywhere to be found in the files. Maybe it uses the comment.php from the default theme ? … so weird

    Thread Starter raisthlin

    (@raisthlin)

    I think i found an hint.

    usually the comment form title located in the comments.php file goes as follow

    <h2 class="commentheading" id="respond">Leave a comment</h2>

    but for some reasons…it is written like this is the oriental theme comments.php file

    <h2 class="commentheading"><?php comment_form_title(); ?></h2>

    now is there a way to change the text to which comment_form_title points toward

    or am i completely off track ?

    All functions are found within the WordPress working files. You can find the function by typing function <function name> within the Find and Replace dialog in Dreamweaver. However, I do want to emphasize that if you did not physically do a full download from your server, but just did a visual check, odds are you missed the file that contains your problem. The only way of ensuring you are searching through every file on the server is to do the full download. The full download should take you quite a while to do.

    Thread Starter raisthlin

    (@raisthlin)

    EDIT: thanks for all the help InterTrade. I will keep working on it and try to full download. Thanks again for the help i do appreciate it.

    I think it definetely is the

    <h2 class="commentheading"><?php comment_form_title(); ?></h2>

    line becuase i just changed it a little bit..adding a letter at the end of <?php comment_form_title and it completely messed up the comment form.

    Definetely is controling the comment form and the PLAIN simple text i want to change. Does anyone know how to make some change ?

    if you take a look at my page https://thailande.raisthlin.ca/?p=1#comments you can see the text i want to change ( huge sized white text )

    Thread Starter raisthlin

    (@raisthlin)

    i resolved the problem. heres how i did it which is kind of a miracle for someone who just found out about this wordpress thing.

    i changed the following code in the comments.php file in the oriental theme folder.

    <h2 class="commentheading"><?php comment_form_title(); ?></h2>

    into this one

    <h2 class="commentheading" id="respond">put text here</h2>

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Editing text problem.’ is closed to new replies.