manitou22
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Disable URL for Comment AuthorI’m on version 2.8. What i did instead was to go to the comments.php inside the theme folder and find this line:
<input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" /> <label for="url"><small>Website</small></label>and comment it out like this
<!--<p><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p>-->It removes the field completely where a comment author can enter a URL which is great for future comment. To also remove the hyperlink overall from the author name (like I needed to because I had close to 100 comments already with author name hyperlinked) I found the following instructions (thank you techallica.com)
1. Go to the wp-includes directory in your wordpress installation via ftp, locate a file called comment-template.php (in older versions of wordpress you would need to find comment-functions.php) , download the file, create a backup of the file to make sure you can upload a working copy in case you mess up.
2. Open the php file with notepad (any text editor) or any code editing software you may have. Do search and locate a function called: get_comment_author_link()
You will see the line:
$return = "<a href='$url' rel='external nofollow'>$author</a>";Replace that with:
$return = $author;These two solutions did the trick for me.
But… If you have Gallery > Options > Gallery Settings set to Custom order, then go back to Gallery > Manage Gallery > Name of my gallery, that “Sort Gallery” button shows up and you can click it, and go into the gallery and drag the photos around into a custom order. But THEN what?!?!?! there is no way to save that custom order. If you click the “Update Sort Order” button, it resets the order to where it was when you first entered this area. VERY confusing why that would even be set up this way. How are you supposed to do a custom order? At this point you can only sort by ID, File Name, Atl Text, Ascending or Descending. There is a way to rearrange images in a custom order but no way to “implement” it. So i’m left to settle for Ascending order by Image ID. Which in my case right now, will work. But if anyone has an answer to the custom order thing… which means moving images around using the nifty drag feature offered, and then SAVING it, let me know.
THANK YOU!
Hallelujah. Thank you VERY much. I was stuck in Gallery > Manage Gallery > Name of my gallery > and there was a Sort Gallery button there that was throwing me for a loop. I guess that button is just for the visual purposes?!?!?! Anyway, thank you!
I am with you on this one. I uploaded 20 photos a month ago. Just uploaded 10 more to the same gallery, need to put the 10 new photos at the end. So if I Sort Gallery, and then Sort by ID number it puts it all in the right order, but there is no way to save that sorted order. When i hit “update sort order” it just puts it all back to where it was. How do i “save” the new sorted order so that it reflects it on the website?