Nipon
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Change order of comment-form-fieldsI changed the order of comment fields using the following code but someone on the same link has mentioned that this is not the best practice.
// comment form field order add_filter( 'comment_form_defaults', 'remove_textarea' ); add_action( 'comment_form_top', 'add_textarea' ); function remove_textarea($defaults) { $defaults['comment_field'] = ''; return $defaults; } function add_textarea() { echo '<p class="comment-form-comment"><textarea style="width:100%;" rows="8" id="comment" name="comment" aria-required="true" placeholder="Type your comment here..."></textarea></p>'; }
Any inputs?
Forum: Themes and Templates
In reply to: Change order of comment-form-fieldsThanks for the link. I am looking for the same thing.
Forum: Hacks
In reply to: Adding placeholders in comments formThanks. That really helped.
Forum: Fixing WordPress
In reply to: White Page After Permalinks ChangeI wish to add that at this point if I set the default theme then I am not getting a blank page anymore! But upon switching back to the current theme, the problem reappears!
All plugins are deactivated too, I even renamed the plugins folder and created a new empty folder and named it ‘plugins’ because at times even inactive plugins may create problems (so I heard).
Forum: Fixing WordPress
In reply to: Save Changes goes to blank white pageI am also having the same problem.
When I save anything from admin or post a comment/post, I get a blank page. The comment/post gets posted alright though.
Things are fine on the default theme. But only when I change theme, the problem appears.
Only two days ago, things were fine. But I messed up my permalinks and started having this problem. Then I went back to an old database. But still I am having this problem.
Forum: Fixing WordPress
In reply to: Unicode characters not showing after 2.5.1 upgrade@manchumara: that didn’t work for me! Actually defining the charset and collation will work for new installations only.
Anyways I solved this problem and forgot to update here. What I did was, I deleted the two lines
define(‘DB_CHARSET’, ”);
define(‘DB_COLLATE’, ”);This is the easy workaround. The other lengthy solution is to convert your database character set. Details here https://codex.www.ads-software.com/Converting_Database_Character_Sets
Forum: Fixing WordPress
In reply to: Unicode characters not showing after 2.5.1 upgradeNo it was a manual upgrade. But yes, I changed the wp-config.php replacing the old one with the new. This I did to enable the secret key feature.
These are the lines in my wp-config.php
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);Forum: Fixing WordPress
In reply to: Database errorwell i hav upgraded my akismet when i upgraded wordpress to 2.1. my akismet version is 2.
Forum: Fixing WordPress
In reply to: How to customize wordpress into a small business site?to explain myself further — an user should be able to login and upload his files and download files meant for him.
Forum: Fixing WordPress
In reply to: WordPress errors: help neededthanks a lot. problem solved.
Forum: Fixing WordPress
In reply to: I am getting database error. Site not running. Help!ohh… the problem is fixed. my host had a problem with the mysql database. ??