Category Archives: Wordpress

How to show the number of comments on the post in WordPress.

How to show or display the number of comments to your post? This can be useful for those who want to change the place of “number of comments” or those who want to add this feature to your blog, as … Continue reading

RSS

Transfer of website or WordPress blog to a new domain

Sometimes a situation may arise when you need to move the site working on the engine of WordPress, to a new domain. That is, the essence of this action is only to change the name of the domain, all the … Continue reading

RSS

How to import XML backup into WordPress

Restore WordPress from database backup in XML format?- No problem! If you engage in professional development of WP themes for the purpose of public offering on the official websites of WordPress, the theme should be checked for compliance with WordPress … Continue reading

RSS

Mass replace of TITLE in WordPress

The task: There is the site at WP, which consists of many pages, not the posts but the pages. The half od these pages has wrong title, (” – the title of the website”). We need to replace all “-” … Continue reading

RSS

WordAds of WordPress.com as an alternative to AdSense

Recently, the WordPress.com has announced the opening of the new program of service monetization, which will be an alternative to AdSense from Google. The monetization program is called WordAds, and formed the project in collaboration with Federated Media. According to … Continue reading

RSS

How to change the name and e-mail sender to WordPress

While sending the e-mail to admin or to those which are subscribed to the comments, WordPress put the name and e-mail, which are in your profile in the field “From”. You can change these data in the letter without changing … Continue reading

RSS

Switch off the attachment pages in WordPress

In WordPress it is possible to put a  link  from the picture  in the article to a separate page, where onle this image (or other media file) is hosted. This is called the attachment page. Often, however, links to these pages are placed randomly, inadvertently, instead of referring to the image itself, which can emerge and grow, for example, with beautiful effect Lightbox. … Continue reading

RSS

Easy way to protect wp-includes and wp-admin

In order to deny access to wp-includes, it’s enough to put the file .htaccess into the folder wp-includes with the following conteте: Order Allow,Deny Deny from all <Files ~ “.(css|jpe?g|png|gif|js|swf)$”> Allow from all It’s more complete as to wp-admin, but … Continue reading

RSS

Author Gravatar

Recently I was asked in the comments to explain, how to connect the gravatar of the author in the articles. In order to display author gravatar it’s enough to find index.php, archive.php, single.php etc. in the files. <?php while (have_posts()) : the_post(); ?> and then insert such a code:

RSS

Counting the number of characters in article

I have found a simple but very useful plugin  to count characters of WordPress posts. By default in WP there is just a word count, but sometimes it’s convenient to assume by thousands of characters. Who needs this plugin? 1. Editor … Continue reading

RSS