Category Archives: Tutorial

home » Archive by category 'Tutorial' (Page 2)

Lets start with the ultimate guide to wordPress multisite part -2

This is second article of Lets start with the ultimate guide to wordPress multisite. You should read the first article to start from the beginning of the ultimate guide to wordPress multisite.

Activating Multisite on a Fresh WordPress Installation

Activating Multisite when you install WordPress involves a few extra steps. Firstly, you need to install WordPress and allowing a network.

  • Install WordPress in the normal way. Download WordPress and use the ‘famous 5 minute install’ to install it on your server or local machine.
  • Open your wp-config.php file which you’ll find in the folder where you installed WordPress. Find the line that reads:  /* That's all, stop editing! Happy blogging. */
  • Immediately above that line, create a new line that reads as follows: define( 'WP_ALLOW_MULTISITE', true );
  • Now save your wp-config.php file.

The next step is to visit the WordPress admin screens and install Multisite.

  • In the WordPress admin, go to Tools >Network Setup. You’ll be prompted to choose subdomains or subdirectories for your installation: choose the one that works for your network.
  • Edit the title of your network and email address of the network administrator when prompted, or leave them as they are.
  • Click the Install button.

The final step is to copy some code provided by WordPress into your wp-config.php and .htaccess files.

  • You will be taken to the Network Install screen:
  • Open each of your wp-config.php and .htaccess files and edit them in line with the text provided on the screen. If you can’t find .htaccess on your server, it may because hidden files aren’t visible: change the settings in your code editor if you’re using one to access your files.
  • Save both files.

WordPress Multisite will now be installed. You’ll need to log in again, and when you do so you’ll see the dashboard: … Read the rest >>

Add author bio with social links to blog post

Often we like to add a author bio at the bottom of blog post. To do so we use external plugins. By adding few script to our theme function file we can easily create our own custom author bio for our blog post. Lets see what type of field we need to get user/author social links:

author links field screenshot

What we need to add in function file:

Now we will show the author bio with the social links we have added to admin section: … Read the rest >>

Errors while running the photoshop in wine and install windows system fonts

After installed the Photoshop CS2 with wine in Linux mint 17, tried to open a psd file. But the photoshop crashed with the message “Unable to continue because of a hardware or system error“. After wasting 2 hours got a solution to fix it. Let sort out the process step by step:

  • Hold down all three Ctrl+Alt+Shift buttons
  • While keeping those button held, just open Photoshop or a file that opens with Photoshop
  • As Photoshop loads, you should get a prompt asking if you would like to “delete the Photoshop settings file”
  • Off-course click yes

Is that solved my issue? Yes, after that i was able to open Photoshop. But sort out a new issue!

When i try to open a PSD files that was created on Windows system, the software shows error – “Could not complete your request because of a program error” and I am unable to reopen the PSD files. So, after googling few minutes i got a solution that is to install Windows system fonts. To install windows system fonts, execute the following command:

and then (to make sure font cache is regenerated) :

It works for me and for future reference just blog this as a note!
Hope this helps!

Get the authors list who submitted highest number of posts in wordpress

Now a days the use of wordpress content management system is not limited to a blog or a portfolio website, it is also used as a eCommerce website platform. No matter how we use it, we often need the highest post submitted author list. Using below script you can get the list of authors who submitted highest number of posts in WordPress.