Title: Ramesh (thecodeisclear)'s Replies - page 6 | WordPress.org

---

# Ramesh (thecodeisclear)

  [  ](https://wordpress.org/support/users/thecodeisclear/)

 *   [Profile](https://wordpress.org/support/users/thecodeisclear/)
 *   [Topics Started](https://wordpress.org/support/users/thecodeisclear/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thecodeisclear/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thecodeisclear/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thecodeisclear/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thecodeisclear/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thecodeisclear/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 76 through 90 (of 237 total)

[←](https://wordpress.org/support/users/thecodeisclear/replies/page/5/?output_format=md)
[1](https://wordpress.org/support/users/thecodeisclear/replies/?output_format=md)
[2](https://wordpress.org/support/users/thecodeisclear/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/thecodeisclear/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/thecodeisclear/replies/page/5/?output_format=md)
6 [7](https://wordpress.org/support/users/thecodeisclear/replies/page/7/?output_format=md)…
[14](https://wordpress.org/support/users/thecodeisclear/replies/page/14/?output_format=md)
[15](https://wordpress.org/support/users/thecodeisclear/replies/page/15/?output_format=md)
[16](https://wordpress.org/support/users/thecodeisclear/replies/page/16/?output_format=md)
[→](https://wordpress.org/support/users/thecodeisclear/replies/page/7/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [prepare() function issues](https://wordpress.org/support/topic/prepare-function-issues/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/prepare-function-issues/#post-5942617)
 * Hi,
 * From the first link you gave, I think you don’t need a prepare call at all (since
   no arguments are being passed)
 * You could replace the line after `//the sql` like this
 * `$th_vers = $wpdb->get_var( "SELECT th_vers FROM $table WHERE id = 1 LIMIT 0,1");`
 * this should get rid of the warning.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Htaccess issue](https://wordpress.org/support/topic/htaccess-issue-18/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/htaccess-issue-18/#post-5948450)
 * Don’t remove the .htaccess file, but open it and remove the `Redirect 301` instruction.
   You can actually empty it out and have WP add the rewrite rules again (Settings-
   > Permalinks)
 * Since the site has been hacked, (the hacker has got access to your hosted folder),
   change your cPanel, FTP and webhost login passwords to prevent recurrence. Also,
   inform your webhost so that if there are any server level vulnerabilities, they
   can have a look.
 * _PS: My site was hacked 2 days ago, so I can understand what you are going through._
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [justification in wordpress preview](https://wordpress.org/support/topic/justification-in-wordpress-preview/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/justification-in-wordpress-preview/#post-5947985)
 * Ok. I just opened the theme’s CSS file and I can see that you can do CSS changes
   via the `Theme Options > Miscellaneous > CSS Overrides` menu.
 * Add the code that I suggested in that page and you should be able to fix this
   for all your posts without any plugins.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [justification in wordpress preview](https://wordpress.org/support/topic/justification-in-wordpress-preview/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/justification-in-wordpress-preview/#post-5947960)
 * Actually, the post status is not the problem. On the main page, the preview text
   is within the div class called `blog_text` and on the single post page, it is`
   blog_post`.
 * Rather than inline CSS edits, I would suggest to use a custom CSS plugin such
   as [https://wordpress.org/plugins/simple-custom-css/](https://wordpress.org/plugins/simple-custom-css/)
   and include the following code
 *     ```
       .blog_text {
           text-align: justify;
       }
       .blog_post {
           text-align: justify;
       }
       ```
   
 * PS: This will affect all posts. If you are looking for making this change only
   in a fixed number of posts, you will have to update the custom CSS accordingly.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [justification in wordpress preview](https://wordpress.org/support/topic/justification-in-wordpress-preview/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/justification-in-wordpress-preview/#post-5947951)
 * Can you please post a link to the content? By clicking on read more, you are 
   redirected to a new page right? I mean, the preview would be on one url and the
   read-more takes you to the entire post content.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [justification in wordpress preview](https://wordpress.org/support/topic/justification-in-wordpress-preview/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/justification-in-wordpress-preview/#post-5947939)
 * Hi,
 * I think what you are seeing is that the post extract is not justified while the
   entire post content is. Usually, they are bound by different `div` classes. Right
   click on the page source, find the enclosed class name and you can make changes
   to the CSS to justify this text as well.
 * Hope this helps,
    Ramesh
 * PS: If you can post a link, I can give you the exact class names to be changed.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to delete cropped images?](https://wordpress.org/support/topic/how-to-delete-cropped-images/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-delete-cropped-images/#post-5943142)
 * I think you need to regenerate your thumbnails. What has happened is that you
   have also deleted the default sizes WordPress resizes images to (i.e. thumbnail_-
   > This is what is shown in the Media Library_, medium and large).
 * Regenerating the thumbnails should fix this problem. Please use the plugin I 
   had linked earlier. Here are [addln. details](https://codex.wordpress.org/Function_Reference/the_post_thumbnail)
   on the default image sizes.
 * PS: In this file list ([http://1drv.ms/1xe4jvi](http://1drv.ms/1xe4jvi)), the
   files ending with 150×150, 300×169 and 1024×576 are WP defaults
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Resizing images all at once](https://wordpress.org/support/topic/resizing-images-all-at-once/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/resizing-images-all-at-once/#post-5942983)
 * The image size you need to resize to depends on where the images are used and
   what are the image sizes supported by your theme.
 * If you are including them in post content for display purposes, your image need
   not be wider than the size of the `div` `entry-content`. In my personal opinion,
   I think images need not be wider than 960px.
 * What is the theme you are using, if it is a free theme, I can have a look at 
   the code and tell you the sizes the theme supports.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Can't make Featured Image work!](https://wordpress.org/support/topic/cant-make-featured-image-work/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/cant-make-featured-image-work/#post-5942499)
 * From what I gather of your post, it appears that your theme does not support 
   featured images. ([more details here](http://codex.wordpress.org/Post_Thumbnails)).
   Updating TheLoop will not help if you were not able to add the featured image
   in the first place.
 * Like Mark mentioned above, a link to your site will help.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to delete cropped images?](https://wordpress.org/support/topic/how-to-delete-cropped-images/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-delete-cropped-images/#post-5942975)
 * By removing the code, are you referring to instances where the theme has added
   a `add_image_size` function?
 * I think this thumbnail would help ([https://wordpress.org/support/plugin/regenerate-thumbnails](https://wordpress.org/support/plugin/regenerate-thumbnails))
 * PS: Sorry, at work now, so I can’t see your image screenshots (firewall), so 
   I can’t be 100% sure that my suggestion works.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Change displayed author information from email to nickname](https://wordpress.org/support/topic/change-displayed-author-information-from-email-to-nickname/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/change-displayed-author-information-from-email-to-nickname/#post-5931985)
 * Hi,
 * Thanks for posting the link. I can see the problem now. Here is what you can 
   do
    - Go to your profile – [http://www.bitcoinhighroller.com/wp-admin/profile.php](http://www.bitcoinhighroller.com/wp-admin/profile.php)
    - In the dropdown `Display name publicly as`, select some other option than 
      the one that is your email
    - If you do not have more than one option, update the field `Nickname (required)`
      to something of your choice and save your profile
    - Now the dropdown should have the new value from field Nickname
 * Let me know if this helps.
 * Thanks,
    Ramesh
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [colored box](https://wordpress.org/support/topic/colored-box/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/colored-box/#post-5931793)
 * I think you can use the [Shortcodes Ultimate plugin](https://wordpress.org/plugins/shortcodes-ultimate/)
   to insert various types of contents (boxes, buttons, notes, spoilers etc.)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [ID overlap between posts & pages?](https://wordpress.org/support/topic/id-overlap-between-posts-pages/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/id-overlap-between-posts-pages/#post-5930743)
 * Yes, I believe so. There is a field `post_type` to modify your query accordingly.
   Here are a couple of links that give more details
 * From the Codex: [https://codex.wordpress.org/Template_Tags/get_posts](https://codex.wordpress.org/Template_Tags/get_posts)
   
   Some examples using `get_posts`: [https://code.google.com/p/wordpress-custom-content-type-manager/wiki/get_posts_examples](https://code.google.com/p/wordpress-custom-content-type-manager/wiki/get_posts_examples)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Change displayed author information from email to nickname](https://wordpress.org/support/topic/change-displayed-author-information-from-email-to-nickname/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/change-displayed-author-information-from-email-to-nickname/#post-5931790)
 * What is the theme that you are using? Please send a link. This could be due to
   the theme’s features and quite possible fixed by a simple code change.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP login has disappeared](https://wordpress.org/support/topic/wp-login-has-disappeared/)
 *  [Ramesh (thecodeisclear)](https://wordpress.org/support/users/thecodeisclear/)
 * (@thecodeisclear)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp-login-has-disappeared/#post-5877438)
 * Hi,
 * If you have access to the database (for e.g. via phpMyAdmin), you can revert 
   the theme to one of the default themes – twentyfifteen or twentyfourteen. Here
   is a quick walkthrough:
    - Access your wordpress database and open the `wp_options` table
    - Scan the rows for key value `template` and `stylesheet`
    - Change the value to twentyfourteen or twentyfifteen (for both rows)
 * _Details instructions with images [here](http://www.inmotionhosting.com/support/edu/wordpress/change-theme-in-db)_
 * I think you should be able to login now.

Viewing 15 replies - 76 through 90 (of 237 total)

[←](https://wordpress.org/support/users/thecodeisclear/replies/page/5/?output_format=md)
[1](https://wordpress.org/support/users/thecodeisclear/replies/?output_format=md)
[2](https://wordpress.org/support/users/thecodeisclear/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/thecodeisclear/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/thecodeisclear/replies/page/5/?output_format=md)
6 [7](https://wordpress.org/support/users/thecodeisclear/replies/page/7/?output_format=md)…
[14](https://wordpress.org/support/users/thecodeisclear/replies/page/14/?output_format=md)
[15](https://wordpress.org/support/users/thecodeisclear/replies/page/15/?output_format=md)
[16](https://wordpress.org/support/users/thecodeisclear/replies/page/16/?output_format=md)
[→](https://wordpress.org/support/users/thecodeisclear/replies/page/7/?output_format=md)