WordPress Themes, Plugins, Tutorials, Tips And More...

Category: Tutorials Page 2 of 21

Tutorials

How To Add PHP Functionality To WordPress Posts And Pages

Although by default, you are not allowed to execute PHP functionality in your WordPress posts and pages but with advancement in programming and with an increase in need arises, it is as important as to have such functionality on board with WordPress posts and pages. In this article, we are sharing the resource by which you can achieve this. Simply install and activate the plugin name “Allow PHP in Posts and Pages”.

PHP

Plugin To Use: Allow PHP In Posts And Pages

The plugin allows you to add PHP functionality in posts and pages by adding a shortcode [php] your code [/php]. On activating, the plugin will attempt to remove the automatically generated WordPress <p> and <br/> tags but still allows the addition of your own <p> and <br/> tags using a form of BBcode items such [p][/p] and [br /]

More Info | Download

Photo Credit: Flickr/Cal Evans

Enhancing WordPress Comments Layout With Adding Numbers

While we earlier talked about allowing users to add images and videos in the comment section, it will be better now if we take a step further and add numbers to the WordPress comments layout. You did notice one-to-many websites where numbers have been used to count on comments. Adding this to your own site, will further let you attract visitors more to your website. In this article we will show you how you can customize the comment layout by doing this minor addition of adding numbers to your WordPress comments layout.

To get started, first download, install and activate the plugin name Greg’s Threaded Comment Numbering. The plugin works well for WordPress 2.7 and later and will numbers your comments sequentially and hierarchically. It includes threading, paging, and your choice of ascending or descending date order.

The plugin provides an accurate sequential numbering for each comment, including hierarchical numbering up to the full 10 levels supported by WordPress. You can display the numbered comments in either ascending or descending date order, on multiple pages or on one long page, and with or without threading enabled. Moreover, it also handles pingback and trackback numbering.

Plugin In Use: Greg’s Threaded Comment Numbering

The plugin numbers comments sequentially and hierarchically; handles comments which are threaded, paged and/or reversed while coders can call the function directly.

More Info | Download

Numbers In Comments

Manually Updating WordPress Using FTP

Update

Quite isn’t a task on updating WordPress manually using FTP. You often noticed a notification in your admin area when WordPress comes to a stage where a new update is require running the whole of system smoothly. The updates can be a new minor release or sometimes a major one. While you can perform the task simply by doing so via WordPress admin area but sometimes it can’t be possible and you will found yourself in the situation where you have to resist on manual update with using an FTP client.

To Begin

  • In order to proceed with manual doing, you have to first take a backup of whole of system.
  • In case, if you don’t have any access to WordPress admin area, then you have to do this manually.
  • Once you done with backup, you need to download a latest version copy of WordPress from the site WordPress.org.
  • The downloaded file comes in zip archive, which you have to extract. In that zip archive file, you will notice on finding a folder named “wordpress.”

Uploading WordPress Using FTP (File Transfer Protocol)

  • To begin, first connect your website using FTP client. We recommend on using Core FTP LE, if in case, you don’t already have a FTP client installed on your computer.
  • Once connected, go to your website’s root directory and upload all the files inside “wordpress” folder from your computer to your website’s root directory.
  • Since the similar set of files already installed in your computer, you will notice that you will be getting a message that the filename already exists in the target directory, please choose an option.
  • All you have to do is to overwrite it and then the box “always use this action.”

Updating WordPress Database

  • Remember with every new WordPress release, changes must come into WordPress database which means an update is required.
  • On uploading of all the files to your website, all you have to is to go to WordPress admin area where you will see a note that you need to update database.
  • Simply click on Update WordPress Database button and you are done, once WordPress will show you a success message once updation got completely.

Socialize WordPress Sidebar Widgets With Displaying Your Latest Pinterest Pins

While we discussed earlier the best available Pinterest WordPress plugins, we thought of why not find the one which lets you display all your latest pins in your WordPress sidebar widgets. Moreover, the trend towards opting for Pinterest as one of the most favorite social tool is also on the rise so it does make sense that you too get the one such tool in your website by which you can display all of your pins. Well, in this article, we will discuss a way by which you can display your latest Pinterest pins in your sidebar.

Pinterest-2

Plugin To Use: Pinterest RSS Widget

The plugin “Pinterest RSS Widget” lets you put up a widget on your sidebar which fetches the most recent contents of a Pinterest user’s RSS feeds and result in displaying the corresponding thumbnail images. You can also choose to show the description below those images as well as also can set the height and width of the thumbnails to fit your theme. Further, the plugin also gives you the option to show four different sizes of the official “Follow Me On Pinterest” button below the list of your pins.

Installation

  • Upload the folder pinterest-rss-widget and its contents to the /wp-content/plugins/ directory or use the wordpress plugin installer
  • Activate the plugin through the ‘Plugins’ menu in WordPress
  • A new “Pinterest RSS Widget” will be available under Appearance > Widgets, where you can add it to your sidebar and edit all settings of the plugin.

More Info | Download

How To Change Your WordPress Username

User

This might sounds crazy at first but many of you do feel the same heat when they end up with nothing but having their WordPress username set as “admin” by default. Although the first time when you install WordPress on your server, WordPress CMS do ask you to set your username but many not known well over the idea that not changing will lead to set “admin” at par as a username. While the “admin” username will also offer a welcome space ground for the hackers, it is highly advisable to set your username something different than “admin” as soon as possible for you. There are two ways by which we can perform the act of changing the username which we are going to discuss in the article.

Method 1

  • Login into your WordPress admin panel using your admin account.
  • Select the”users” area from your dashboard panel, and click on “Add New User”.
  • Fill in the user form and choose “administrator” in the “Role” via drop down menu  while also make sure that the password you select have to be a strong one.
  • When finished, click on “Add New User”.
  • Log in again using your new WordPress admin username.
  • Navigate to the “Users” area.
  • From the users list tick the box of the previous “admin” username and select ”Delete” from the drop-down menu.
  • Next, you will be asked about the articles posted under the previous “admin” username.
  • Select the option “attribute all posts and links to:” and select your new administrator password. When ready click “Confirm Deletion”.
  • Make sure that the “display name” of your admin user is different from the username, especially if the admin user posts any blog articles.

Method 2

  • Login to your cPanel, scroll down to the databases section and click on phpMyAdmin.
  • Select the database in which your blog is hosted in.
  • Click on the table wp_users on the left hand side.
  • Once done click edit on the username that you want to edit.
  • Change the user_login value to whatever you like to have, say, for example you can replace “admin” to “Karan”.
  • Hit the Go button and you are done.
  • Go back to your site and login with your new username.

Photo Credit: Flickr/Ina Centaur

Adding Google Search In Your WordPress Blog

When it comes to search, WordPress drastically lacked the space although there are plugins available out there which may helps the one to improve search results. But for those who don’t want to add additional plugin for the purpose as well as increase the functionality, there is one such big option available out there. One can consider on replacing their by default WordPress search with Google custom search.

Google Search

Suggested Reading: Five Best Search Plugins For WordPress

Creating a Google Custom Search Engine

  1. Go to Google Custom Search Engine and sign in using a Google account.
  2. Once in, then click on New Search Engine and add your WordPress website’s URL.
  3. Click on Create button to proceed to the next step.
  4. Once done, you will notice a notification which says you have successfully created your custom search engine.
  5. An option then will comes in front of you either to add it to your site or get the public URL.
  6. To add this to your WordPress site, click on the Get Code button.

Adding In Your WordPress Blog

  1. Go to Appearance » Editor in your WordPress admin area and click on searchform.php file.
  2. The searchform.php file will open it in the editor.
  3. Paste the custom search engine code in the file.
  4. If your theme does not have a searchform.php file, then you need to create one using a text editor like Notepad.
  5. Once created, upload it to your theme directory using FTP client.
  6. Once code is pasted at its right place, go to Appearance » Widgets to drag and drop the search widget into your sidebar.

Photo Credit: Flickr/karlnorling

15 Most Useful And Required WordPress Snippets

Computer Program

Change footer-text in WP Admin

Using the code will change the text in the bottom of the WP admin pages.

Include Future Posts in RSS Feed

Adding the snippet to your theme’s functions.php file will let you appear your future posts in your RSS feed.

Remove meta-boxes

Using this snippet, you can remove the meta-boxes you don’t use.

Remove Gallery Settings

Gallery setting often make you irritated. The following snippet will simply remove all the gallery settings from the media upload section. All you have to do is simple add the code in your functions.php file.

Remove Login Shake

The following snippet has to be added to functions.php and it will remove the “wrong password” screen shake.

QR Code With Article Link

To have the QR-code rendered for every article, just insert the following snippet inside the WordPress loop.

Detect iPhone Users

The following snippet will helps you detect visitors which are using an iPhone, allowing you to create a better experience for them.

Remove Pages Columns

The code will allow you to remove a column from pages.

Enable debug mode

Add this to your wp-config.php and you will be able to debug your WordPress blog if something went wrong.

Check PHP Version

Since WordPress 3.2 version made its debut, PHP 5.2.4 is required for it to run. The time ever since development of plugins for this version come into existence you might require to check that whether the PHP version is up to date or not.

Hide admin ‘help’ tab

Seeing the ‘help’ tab all the time in the top right corner of the WordPress admin area will be a devastating experience for your clients. In order to let avoid such conditions on not to happen for them, simply add the following snippet in your functions.php template.

Hide ‘Screen Options’ Tab

If you hated the way the Screen Options tab appearing in front of you in your admin area, then adding this snippet to your functions.php template will do the trick for you. Simply add it.

Change Admin logo

Give your Admin panel a brand look just like whole of your blog; change the logo in the Admin panel with an image of your choice by using this snippet.

Get top level categories / taxonomy

The following code will allow you to get the top level categories and taxonomy.

Dynamic copyright text

The snippet below allows you to create an amazing copyright text for your footer by automatically updating the date using the the_date() function. Just add the code in to your footer.php file.

Photo Credit: Flickr/Helen Cook

Getting Word Count Stats With Word Stats Plugin

Well with time, when you single post turned into large number of posts in few months period and you will now get tangled with lots of stuff in your website. You wondered on finding out what are the different stats the site bringing in. The stats will be anything says total posts, total comments and so on. Just with same contextual, a reader of ours ask what we can do in order to get the total word count stats in WordPress, so that one can see word counts.

Word Stats

In this article, we are going to discuss about the plugin name Word Stats which will help you achieving the same. To start with you need to install and activate the plugin first. Once activated, you will see Word Stats link in your Dashboard area while clicking on it will take you to the word count stats page.

The plugin will bring you the stats showing total number of published word counts for different post types as well as different authors on board. Moreover, it allows you to search the word counts via using filters like keywords or from a specified time period and so on. The plugin will also let you show the word count to your users.

Plugin In Use: Word Stats Plugin

Word Stats adds a suite of linguistic diagnostics to help you keep track of your content and improve its quality. The reports page lets you select an author and period to analyze, and displays:

  • The total word count.
  • The number and percentage of posts of each post type.
  • The top 20 keywords.
  • The percentage of posts of basic, intermediate and advanced readability level.
  • A graph with monthly word counts for each post type.
  • Diagnostics tables, with links to edit the posts that may be too short, too long, too difficult, too simple, lack relevant keywords or abuse certain keywords.

More Info | Download

Getting Your WordPress Site ‘System Information’ Quickly

System Snapshot Report

Quite a time when you feel a need on to find out your WordPress hosting environment system information, including PHP version installed, filesize limits, among others. While you can grab all this information by simply entering into your hosting provider’s cPanel or WHM or Windows panel on offer BUT to ease the job, we have got a plugin for you to use.

To do so, please install and activate the plugin name System Snapshot Report plugin. There is nothing you have about on technical side. Just simply on activation, all you have to do is to go to Tools >> Snapshot area in your WordPress dashboard and the information will be there in front of you.

Plugin To Use: System Snapshot Report

The plugin provides a snapshot of data to anyone who has been looking for assistance on better determining possible issues. The plugin is a utility plugin and provides you with system and WP specific data for support or troubleshooting. It does not actually diagnose any issues, or fix any underlying problems. It is simply for data collection purposes.

More Info | Download

Creating A Table Of Content In WordPress

While we covered earlier about a plugin name Table of Content Plus pluginin a review article BUT still some of visitors get confused over on what context one can use the plugin or one can create a table of content in WordPress for either posts or pages.

Table Of Content Plus

Understanding Why It Is Necessary?

Adding table of content to your WordPress website will helps with search engine optimization as Google automatically adds a jump over to section links at the time when the site showed up in search results.

Why To Choose Plugin?

The process of creating a table of content can be done manually BUT it can be difficult for many WordPress beginners. Considering the situation, in this article, we have been showing you on how to achieve this.

Steps To Follow

  • You need to install and activate the plugin name Table of Content Plus.
  • On activation, you need to configure plugin settings. Simply click on Settings » TOC+ in your WordPress admin area.
  • You can select where and when you want your table of contents to appear in the main options tab while the plugin comes with default position set as “before the first heading”.
  • The second thing to keep an eye on is to decide on where the table of content will appear. By default, the plugin will display table of contents if a post or page having over four heading tags while if you wish, you can change it to the number of your choice.
  • There is also an option name ‘Auto insert for the following content types’ which on checking will enable table of contents for your posts as well automatically.

More Info | Download | Review

Page 2 of 21

Powered by WordPress & Theme by Anders Norén