All Articles by Sangkrit

Register/transfer domain names at http://system.sangkrit.net and mail to system@sangkrit.net to get your web/app made/managed as per the budget allocated.

4508 Articles

How To Reset bbPress Forums Of Your WordPress Site ?

You can reset your bbPress forums completely. Visit your Dashboard->Tools-> Forums and  clicking “Reset bbPress” button will reset your bbPress forums to a complete new installation.

Using this option you can clean all your forums, topics, replies, meta data, settings, activity, forum user roles etc

Automattic Launched Liveblog Plugin For WordPress That Allows Quick & Simple Blogging For Following Fast-paced Events

Today Automattic launched its own Liveblog plugin for WordPress. It allows quick and simple blogging for following fast-paced events.

Continue reading Automattic Launched Liveblog Plugin For WordPress That Allows Quick & Simple Blogging For Following Fast-paced Events

How To Allow Your BuddyPress Site Members To Invite Their Friends To Register ?

Make your BuddyPress invitation feature more powerful and engaging by adding ability to invite members to your site by email, first of all install and active Invite Anyone plugin and then follow these steps:

Continue reading How To Allow Your BuddyPress Site Members To Invite Their Friends To Register ?

How To Change Default Language Configuration To Your Native Language In WordPress ?

By default English is the localized language of your WordPress site that can be changed to your native language:

Open your wp-config.php file and add these lines:

define(‘WPLANG’, ”);
define(‘LANGDIR’, ”);

Important: Language translation file (.mo) must be placed in the default location – wp-content/languages (first) and then wp-includes/languages(second). As in the above function, you can define your own language directory. Learn more about WordPress in Your Language

How To Increase PHP Memory Limit In WordPress ?

You might have noticed common WordPress error sometimes while activating a new plugin or some other task:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/wp-includes/plugin.php on line xxx

This error shows up when you exceed your default Memory Limit. For fixing it up wp-config.php file and add the following line:

define(‘WP_MEMORY_LIMIT’, ’64M’);

How To Modify Post Auto-Save Configuration In WordPress ?

By default WordPress auto saves post on every 60 seconds, but you can easily modify this time according to your like. Open your site’s wp-config.php file and add the following line just above the Happy Blogging line:

define(‘AUTOSAVE_INTERVAL’, 120); // in seconds

In the above line I have given time of 120 seconds, you may change that as per your requirement.

You can also modify post revisions by limiting the number of revisions per post:

define(‘WP_POST_REVISIONS’, 5);

And for disabling post revision, set it to false as shown below:

define(‘WP_POST_REVISIONS’, false);

How To Preserve Editor Scroll Position In WordPress ?

After you save you any draft in WordPress, the page reloads and leaves you at the top of your post and then you scroll down to begin from where you left. This becomes irritating while writing long posts. So if you like you can easily recover old scroll position in your WordPress Editor after saving your draft. Works both in either HTML or visual editor.

Continue reading How To Preserve Editor Scroll Position In WordPress ?

Globally Disable Comments On Any WordPress Post Type Including Posts, Pages & Attachments Etc

Disable Comments, another WordPress plugin allows administrators to globally disable comments on their site. Comments can be disabled according to post type.

Remember:

Use this plugin if you don’t want comments at all on your site or on certain post types. After activating it, plugin settings can be accessed from the ‘Settings’ menu in the administration area.

Related Plugin:

Read this article to Disable Comments By Default On New WordPress Pages And Custom Post Types.

How To Disable Comments By Default On New WordPress Pages And Custom Post Types ?

You can easily disable comments by default on new pages and custom post types, with the ability to individually set them on a page or post basis.

By default, WordPress provides you two options:

  1. You can have them active by default.
  2. You can either disable comments and trackbacks by default for all pages and posts.

WordPress doesn’t provides you any specific setting that allows comments and trackbacks to be active by default for posts, while disabling them on pages or any other post type but using No Page Comment plugin you can have these options also. Simply install, activate it then visit its options from Dashboard->Settings->No Page Comment.