WP University
Forum Replies Created
-
Right on. See the little snippet of code that says:
<?php _e('Name', 'thesis')That needs to be changed to:
<?php _e('Name (Optional)', 'thesis')Change that for each of the fields and upload the file and you should be good to go.
As far as upgrading, yeah that’s the downside of having these types of themes. They allow you to do a lot yourself, but you are subject to losing custom code when upgrades are made because the theme isn’t meant for people capable of doing custom code.
Let us know how it works out. If it does, don’t forget to mark the post as “Resolved”. If not, let us know and we’ll keep at it.
Forum: Fixing WordPress
In reply to: getting 404 when updating pageExcellent. They are known as one of the hosts to cause this exact same issue… I found several previous posts including this one here:
http://wordpress.org/support/topic/clicking-update-page-results-in-a-404?replies=13
Don’t forget to mark the post resolved if it does turn out to be a host issue. Otherwise, let us know and we can continue to research it for you!
Forum: Fixing WordPress
In reply to: getting 404 when updating pageOK, there are a number of things that can be causing this.
First off, have you recently edited the wp-admin\page.php file at all?
Also, who is your web host? A lot of the time this can be an issue with their security settings (mod_security, specifically).
I would try to add the following info to your .htaccess file at the root of your WordPress install (you’ll need FTP to access it and a text editor like Notepad ++ to edit it).
<IfModule mod_security.c> SecFilterInheritance Off </IfModule>Forum: Fixing WordPress
In reply to: getting 404 when updating pageEven when you hit “Preview Post”?
Forum: Fixing WordPress
In reply to: getting 404 when updating pageOK, can you try to Update it or hit “Preview Changes”, then copy the URL that is showing in the address bar at that time and paste it here?
Thanks. You can try what you mentioned before, but I think that’s just pulling data from existing comments and preparing them for display.
Which comments.php file is that? There should be another file with more detailed info for comment input.
It might be in
classes/ * comments.php.
This would also be a good post to put out there to the Thesis forums. Just ask them which file contains that form for posting new comments, then you’ll want to look for the input fields and edit the labels for them to include the text “Optional).
Forum: Fixing WordPress
In reply to: getting 404 when updating pageIt seemed to work okay for me. I clicked through a few others with no problems also. The 404 error is happening on the front end of the site, correct?
Forum: Fixing WordPress
In reply to: getting 404 when updating pageCan you post a link to the page in question?
Have you clicked “View Page” from the admin to see if the URL or Permalink has changed?
If you can post your comments.php file here we can tell you exactly where to edit:
Based on what you posted, I would check the files inside the HTML folder:
# html/
* content_box.php
* footer.php
* frameworks.php
* header.php
* hooks.php
* sidebars.php
* templates.phpThere’s also a functions/comments.php file, but I doubt you were editing that in Dream Weaver.
It is possible you overwrote a WP file, but if it was a WordPress core file then it would have been overwritten when you made your last upgrade.
To be honest with you, without having any real idea of what you have or haven’t edited, the way to go may be to backup your theme and just reload it to the FTP site.
I would start with the Thesis Play child theme first, then Thesis, then WordPress. I seriously doubt it’s WordPress though, because you’re on the most recent version.
Do you see an index.php file when you go to Appearance >> Editor? This would be the next most likely place to find the comments code. As I said before, I can see the comments DIV there, so I would look at the PHP code and see if it’s calling the comment hook.
Looking at the file structure for Thesis, my guess would be the next likely place to look after that would be wp-content/themes/thesis_18/index.php.
Another place to look is at the comments.php file located in the thesis_18 folder. As I said before, I know there was a few trackbacks listed on some older posts, so I guess it’s possible that maybe just the comments code was edited and the trackbacks were left in place.
Let us know how that pans out.
Great. I checked and http://afterbankruptcycanada.ca/wp-content/themes/thesis_18/comments.php does seem to be on your server, so I don’t think you deleted the comments.php file.
The other thing you could do is check to see if the call to include comments was deleted or commented out. It appears as though the comments DIV is still there, and on some much older posts I see some trackbacks, so my guess would be that the call to comments is missing.
I would look in your single.php file under Appearance >> Editor and see if you can locate the contents of the “comments” DIV near the bottom and post them here so we can take a look.
Ok, so you think you deleted the comments.php file? What’s your theme’s name?
Do you know the name of the theme you are using and the version of WordPress you’re running? Adding comments back in is pretty simple, especially if we knew those two things.
Does your theme have a file under appearance >> editor called single.php?