Tag Archives: WordPress

Code Snippets: Adding PHP Functions & Filters Without Editing Theme Functions File In WordPress

For customizing the default behavior of WordPress, webmasters either use plugins or insert hacks i.e. PHP functions and filters inside activated theme’s function.php file.

This works but when you insert any code without creating a child theme, it gets is automatically washed away in new updates.

Earlier we have discussed about creating child themes, we have also discussed about generating child theme with a user friendly wizard and there is a plugin that allows you to generate child theme of any theme in a click of a button.

Yes, you can easily insert custom PHP function in the functions.php file of your child theme but today in this lesson you will learn about a more easy way of inserting and activating PHP hacks directly from your admin area dashboard.

Continue reading Code Snippets: Adding PHP Functions & Filters Without Editing Theme Functions File In WordPress

Keeping All Jetpack Modules Deactivated (Disabled) By Default In WordPress

When using Jetpack by WordPress.com plugin, whenever any new module is introduced, it gets automatically enabled on your WordPress installation and in-case of WordPress multisite network, all websites experiences the same issue.

In this lesson you will learn about keeping all Jetpack modules deactivated by default.

Continue reading Keeping All Jetpack Modules Deactivated (Disabled) By Default In WordPress

Front End Private Messaging System For WordPress

BuddyPress already provides you a private messaging system but the plugin is intended for creating social networking websites. Ever wanted to use a good private messaging system for the authors, editors and other users on a WordPress multiauthor website.

In this lesson you will learn about adding a private messaging system on WordPress sites and blogs.

Continue reading Front End Private Messaging System For WordPress

Redirect All Unattached Images To Homepage In WordPress

Earlier we have discussed about finding and deleting all unattached media files like photos and videos etc in WordPress. An unattached media file is one which is uploaded but not used inside your content.

The default behavior of WordPress generates attachment pages for images uploaded in your media library. This is useful but sometimes can cause problems. Attachment pages are also created for unattached media files and have no pretty permalink structure which is not good for SEO reasons and is not useful for anyone.  Continue reading Redirect All Unattached Images To Homepage In WordPress

Disable Emojis Or Revert Back To Classic Smilies In WordPress

Since 4.2 update, WordPress has introduced compatibility and support for emojis, the ideograms and smileys. Emojis are the ideograms or smileys 1f604.png used in electronic messages and Web pages. Originating in Japan on mobile devices, they are now commonly available on devices worldwide, ranging from mobile to desktop computers.

But there are many bloggers who don’t want this functionality on their WordPress sites, a few days back a SANGKRIT.net hosting user also asked us to post lesson on reverting back to classic WordPress smilies.

So in this lesson you will learn about disabling emojis and reverting back to classic smilies in WordPress.

Continue reading Disable Emojis Or Revert Back To Classic Smilies In WordPress

Automatically Add Images From ZIP File To Media Library In WordPress

Now you can upload media files like photos and videos etc directly from ZIP file to your WordPress media library and the use them inside your posts, pages and other custom post types.

The feature is great for photo blogging, portfolio websites uploading big amount of high quality images. It not only makes uploading faster but uses less amount of data, memory, resources and the very good thing is you can upload many images at once.  Continue reading Automatically Add Images From ZIP File To Media Library In WordPress

Expire Passwords: Harden WordPress Security By Preventing Unauthorized Access Of Stale User Accounts

Expire Passwords is the new WordPress plugin that allows you to automatically expire user account passwords after a set time interval. This way you can harden your WordPress site security and prevent unauthorized access of stale user accounts.

Continue reading Expire Passwords: Harden WordPress Security By Preventing Unauthorized Access Of Stale User Accounts

Bulk Converting Post Formats By Category In WordPress

WordPress post formats is a post presentation feature introduced with WordPress version of 3.1. It is a block of meta information used by theme to customize the display of post.

Post Formats are set from post edit screen, you can easily select a post format using ‘Format’ metabox on ADD NEW/EDIT screen. It provides you a standardized list of formats that works on supported themes.

Bulk Convert Post Formats 5678

In this lesson you will learn how to easily convert post formats by category. For instance: Suppose you have a category VIDEO where you have posted all video posts on your website.

And now you want to make use of WordPress post formats and display your videos in a better way, using a good presentation indeed. So the problem is how to convert that video category’s general blog posts into posts in video post format.

Continue reading Bulk Converting Post Formats By Category In WordPress

Bulk Resize Huge Media Uploads Maintaining Maximum Width For All Images In WordPress

When an image is uploaded to a WordPress site, the system automatically creates multiple image sizes, but keeps the original image (no matter how big it is). Smart bloggers upload optimized, resized and lightweight images but atleast once in a lifetime all make mistake of uploading very large image files.

When large image files are hosted and used on a website, you get massive image embeds inside your content, which can drastically slow down your website.

In this lesson you will learn about correcting this mistake by bulk resizing all images on your website. There are two good plugin you can use in your WordPress installation.

Continue reading Bulk Resize Huge Media Uploads Maintaining Maximum Width For All Images In WordPress

Process Outgoing Links Differently From Internal Links In WordPress

By default all external and internal links on a WordPress site works the same way. But you might have noticed various websites displaying and processing external links differently from internal links. For instance: Websites based on Mediawiki shows a small icon on external links, some websites open external links on a new window or tab etc etc.

In this lesson you will learn how to process external links i.e. outgoing links differently from the links interconnecting your website pages locally.

Continue reading Process Outgoing Links Differently From Internal Links In WordPress

Inserting Special Characters In WordPress

WordPress supports special characters and now its update of 4.2 has made writing in WordPress much better. It supports a host of new characters out-of-the-box, including native Chinese, Japanese, and Korean characters, musical and mathematical symbols, and hieroglyphs.

And even if you don’t make use of any of such characters then you can have fun with popular emoji, the ideograms and smileys 😃.

In this lesson you will learn about using special characters in your WordPress posts, pages and other custom post types using native visual editor of WordPress.

Continue reading Inserting Special Characters In WordPress

WordPress oEmbed Now Also Works With Tumblr, Kickstarter And More

oEmbed is a format to enable embedded presentation of any URL on third party websites. It enables the website to display embedded content like photos and videos etc simply by pasting a link to that resource, without having to parse the resource directly.

Continue reading WordPress oEmbed Now Also Works With Tumblr, Kickstarter And More

Schedule Part Of Post Content To Publish Or Expire In WordPress

Schedule Part Of Post Content To Publish Or Expire In WordPressThere are many plugins that allows you to extend native WordPress post scheduling functionality.

You can easily schedule any post using ‘Publish’ metabox present on post edit screen. All you have to do is click edit link on ‘Publish immediately‘ text and select the date-time when you want your post to be published. Earlier we have discussed about the plugin that allows you to expire posts after specified date and time in WordPress.

Now today in this lesson we will show you how to expire partial post content in your WordPress site.

Continue reading Schedule Part Of Post Content To Publish Or Expire In WordPress

Copy Protect Text, Source, Images, Video & Audio Files In WordPress

It is impossible to prevent any content from being stolen online. But by following a few aggressive techniques you can make your users know that your content is copyrighted material and cannot be used without prior permission.

Continue reading Copy Protect Text, Source, Images, Video & Audio Files In WordPress

Add All Available Image Size Options To WordPress Media Size Selection Drop Down

By default WordPress allows you to customize thumbnail. medium and large image size. In this lesson you will learn about enabling all other image size selection options on media size dropdown, which you use while inserting images inside content with ADD MEDIA button.

Continue reading Add All Available Image Size Options To WordPress Media Size Selection Drop Down

Change Old Image Format Size In WordPress Posts And Custom Post Types

Now you can easily find images inside your post content and change their format size. Great tool when switching to a new WordPress theme or changing the layout of your website.

When an image is uploaded to WordPress, it generates several versions of that image in different sizes. The image is then inserted in content using ADD MEDIA button in visual editor and a custom image size format is selected.

But when you switch to new theme with different content area size, your old post images starts to look odd. Sometimes they overflow to sidebars or to other elements etc.

This happens because the images you insert in your content becomes the part of your content, they are hardcoded in posts and remains the same even when you switch to a new layout.

Hence, in result your images do not fit perfectly with the new design.

Continue reading Change Old Image Format Size In WordPress Posts And Custom Post Types

Turn WordPress Gravatars Into Gmail App Like Alphabet Avatars

Gmail App like avatar shows you the initial letter of the user on a random background color. Earlier we have discussed about using first alphabet from the name as user avatar on WordPress  site and BuddyPress networks.

In this lesson you will learn doing the same thing forcefully all over your website in Google style. You can display first letter of user avatar using a random background color every-time.

Continue reading Turn WordPress Gravatars Into Gmail App Like Alphabet Avatars

Embed Google Spreadsheet In WordPress Posts And Post Types

Earlier we have discussed about a WordPress plugin that allows you to office files, PDF and more in your website. Now today in this lesson you will learn embedding public Google spreadsheets inside your WordPress posts, pages and other custom post types using a simple handy shortcode.

Continue reading Embed Google Spreadsheet In WordPress Posts And Post Types