News Ticker

Menu

Browsing "Older Posts"

Browsing Category "Wordpress"

Coding Standards For WordPress [Tutorial]

Friday, March 20, 2015 / No Comments
The reason that we have coding standards at all (not just for WordPress) is to create a familiar environment for programmers working on a project. WordPress in particular encompasses a wide variety of products. From the core itself to themes and plugins, there is a lot to look at – and a lot to get mixed up about.
If everyone formats their code the same way, uses comments, the same style of documentation and so on, working together becomes that much easier, and the learning curve of joining a new project won’t be as steep.

The need for cohesion in WordPress is magnified by the state in which the codebase is. WordPress does not follow a strict object oriented approach and doesn’t use an MVC pattern. Projects that follow an OOP and MVC guidelines without exception (like Laravel) have consistency and best practices “baked in” due to their structure.

WordPress is unfortunately ripe for spaghetti coding, aka doing whatever you want. Best practices are difficult to enforce simply because products employing bad code may work just as well (on the surface).

Use Dropbox To Host Your WordPress Website Images

Friday, January 30, 2015 /
Dropbox is a great way to share content with the world easily. It offers hot-linking to images which is useful. Recently we talked about how hosting your media content on a faster third-party server can help you out in many ways. If you're a Dropbox user, you can use your Dropbox storage to host images from your small to medium-sized website. Today, we'll talk about using Dropbox as an external media storage for your WordPress site.


Some third-party platforms have the advantage of speed. Typical web servers might not be well suited to serve media content quickly, especially large files. So these third party platforms can take care of that.

How to Install WordPress on Windows Locally using WampServer

Tuesday, May 27, 2014 / No Comments

What is WordPress?

WordPress is the most popular blogging system in use on the Web, free and open source blogging tool and a content management system (CMS) based on PHP and MySQL in existence today, which runs on locally on your computer using WampServer and also on live globally web hosting service. Now we are going to discuss WordPress installation on Windows locally using WampServer.

 Install WordPress on Windows Locally using WampServer

What is WampServer?

WAMP or WampServer is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. Basically, you need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but we use and recommend WAMP. It is free and easy to use.

Key benefits of installing WordPress locally:

  • Familiar with WordPress
  • Familiar with database
  • Make changes locally and then make changes on your online blog
  • Local test platform.

Basic Requirements:

To start with local WordPress installation, you need to download below mentioned softwares:

  1. Download the WAMP Server. Simply choose the one that applies to your Windows (64-bit or 32-bit). According to your PC operating System.
  2. Download Latest release of WordPress.

Installing  WAMP on Computer:

First extract the download file of WampServer, and run the installation program and follow on-snap instructions. At one point during the installation, WampServer will ask for the location of the default web browser. By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files. 

 

 

Setting Up a Database for WordPress

First click on the WAMP icon to start the services, WampServer comes with phpMyAdmin, a web based application to manage MySQL databases. Click on the Wampserver icon in windows taskbar and then click on phpmyadmin. 


phpMyAdmin will open in a new browser window. Click on Databases in phpmMyAdmin to create a new database for WordPress. Choose a name for your database and click on Create button.

 

Installing WordPress on Windows with WAMP

First extract the download file of WordPress, than C:wampwww and paste wordpress folder there. You can rename the wordpress folder to anything you want for example mysite, meshways, etc. Now open a web browser and go to:

Blogger vs Wordpress - Which One is Best and Right Platform for Blogging

Sunday, April 13, 2014 / No Comments
Which One is Best and Right Platform for Blogging
Which is better between Blogger and WordPress? Yes indeed it is the one question that most often appear on the forum bloggers and become a debate that never get results.The question put different answers in different blogs. Determining the right platform and commitment to it is very important for bloggers who really want to pursue the world of blogging. Because later you will find it difficult if you want to change the blog platform  when you eventually change your mind. So for that, here I will discuss the little I know about the two major platforms Google blogger and WordPress blog.

1. Blogger

Blogger is a free blog service provided by Google.Many websites are hosted by blogger, because it will attract people who do not want to spend the money in building a blog. Blogger is also very easy to use for novice bloggers, but also never limit the creativity of the professional bloggers.

Features
  • One of the most interesting features of the blogspot is you will get a free hosting service.
  • You do not have to worry about the data that is on your blog. However, there are restrictions on your blog template customization. You also can choose templates according to your wishes which are  already supplied by bloggers or other parties.
  • If you fear you will think about the complexity that you face while using blogspot, then you should forget it. Because blogspot is a blog platform that is easy for beginners. Then upload feature is also supported with images and videos.
The most important thing when you want to choose WordPress platform, you should know there are two versions of WordPress.com and WordPress.org. Both are very different, even different with bloggers. Well, here I mean  WordPress is WordPress.com

Features
  • Added value when compared with the WordPress, blogger is providing hosting services on server 3 GB. The contents of the blog you will be saved on your blog or web host server that has been recommended by WordPress.
  • Not difficult to upload video files, images and other files. However, if you choose to use your own hosting server, then you should have the ability to configure and manage.
  • You can choose the template according to your wishes can even change it as you wish. But on WordPress template options are limited.

How to Embed Facebook Videos in WordPress and Blogger Posts

Thursday, April 10, 2014 / No Comments
Today there is not even a single online business without a Facebook fan page where then can interact with their loyal fans. You can convey your message to your fans through texts, images and videos. Just like YouTube, Facebook lets you to add or upload videos and share it, but only within the Facebook environment.

If you found any Facebook videos to be worth sharing then you can share it in your timeline, to your page or as a private message that is all within Facebook. Currently Facebook doesn’t offer an option to embed Facebook videos separately, but you can embed videos by embedding the whole post. Embedding the whole post for the sake of the video is not that cool. Here we will see how to embed Facebook videos in your website (sharing Facebook videos to external websites). We will cover both WordPress as well as Blogger. 

How to Embed Facebook videos in website

Let’s say you want to embed your own Facebook video or you just found an interesting video that you would like to share it in your blog. To do so you don’t need to embed the entire post. Also by using this trick, people who are not logged in and don’t have a Facebook account can still watch Facebook videos from your website. Here is the method.

Each and every videos uploaded to Facebook servers will have a unique identification number and you can see that in your browser’s address bar or in URL. The ID lies next to the parameter V (?v=XXXXXXXXXXXX). Look at the sample given below and this is how the Facebook video ID looks like.

By using iframe you can easily embed Facebook videos in your website.

Embed Facebook video in wordpress
In your wordpress site whatever it may be like posts, pages or widgets. If it is posts, pages then switch to HTML editor and if it is widget then choose HTML widget. Now paste the following iframe embed code and replace the XXXXX with your Facebook video ID.