Create a Child Theme For Your Theme Customisations – WordPress

Hello! If you’re new to WordPress, the thought of tinkering with its code can be a daunting one. But in reality, there are many simple things you can do in order to customise the look and feel of your site without risking disaster.

I recommended that you avoid making changes to themes directly. Creating child themes and working with offline files are the safest ways to make any changes to the code. Working this way means that way if you do happen to inadvertently create any issues on your site while tweaking it, you have the original files and can quickly re-upload them to overwrite your changes.

With that said, let’s take a look at what you can do to make get started customising your WordPress design.

Create a Child Theme For Your Theme Customizations

The recommended option for doing any form of theme customization in WordPress is to use a child theme. A child theme is a theme that inherits the style and functionality of another theme, called a parent theme.

Child themes allow you to add new functionality and style changes without ever altering the parent theme files. This is especially useful if you ever update the parent theme. If you have made changes directly to the parent theme, any update will wipe them out and you will need to spend time recreating them all.

Child themes are never touched when a parent theme is updated, making them the perfect way to alter your design.

Creating a child theme is a simple process. All you need to do is create one folder and one file. On your local computer, create a folder with the name of your child theme. The most sensible way to name it is simply parentthemename-child. So if you were creating a child theme for our Canvas theme framework, you would call it canvas-child. You might also add a unique identifier onto this name, like canvas-child-yourname.

Create a file called style.css within the new folder (you can do this with a text editor — just remember to add the .css suffix. This file needs specific information inserted into it so that it knows it is a child theme. Add the following code within your style.css file:

/*
Theme Name: My Child Theme
Theme URI: http://mysite.com/
Description: This is a custom child theme I have created.
Author: My Name
Author URI: http://mysite.com/
Template: parenttheme
Version: 0.1
*/

This code contains mostly generic information, but there is one line you must change in order for the child theme to work. The Template line must be changed to show the name of the parent theme you are relating your child theme to (e.g. “Canvas”).

With this information added there is one other important step required. As it stands your child theme has no styling information whatsoever. In order to give it the same initial design as your parent theme you need to add the following line of code:

@import url("../parenttheme/style.css");

In this code you will need to alter the parent line to match the folder name of your parent theme.

Once you have made these changes and saved your style.css file it is time to add the child theme to your WordPress installation. You can do this by connecting to your web host with an FTP program (such as Filezilla) and browsing to the /wp-content/themes/ folder. Once you are there you should upload the child theme folder containing your new style.css file.

With the folder uploaded you should then be able to see and activate the child theme in your Themes area of your WordPress dashboard. You can now edit the style.css theme of your child theme to make design tweaks while retaining the basic theme design from the parent theme.

For more complicated customizations to your child theme you can include a functions.php file. This file allows you to change the functionality of your theme and should be created and added to the child theme folder when you want to make changes to your theme’s functionality.

WordPress have created a detailed section in their codex discussing child themes if you would like to learn more about them.

Edit the Style.css File to Make Customizations

There are a vast number of options you can add to your stylesheet to change your design. These changes are common to all themes, though most themes include custom section names that will vary slightly depending on the parent theme you are using.

Adding code to your style.css file can enable you to:

  • Change the color scheme of your website
  • Alter the typography and text size
  • Move sections of the site around (such as the navigation bar)
  • Change the way images are displayed
  • Add or remove design information depending on the area of the site
  • Make thousands of other design tweaks

Let’s take a quick look at a one of the simple styling options available to you.

Changing the Link Style

Whenever you add a link to your site they are all usually controlled by a simple style option. There are four link states that will need to be looked at. They are:

  • a:link (or just “a”) – this is a normal, unvisited link
  • a:hover – this is what happens when you hover over a link
  • a:visited – this is a link the user has already visited
  • a:active – this is a link at the moment it is clicked

You can use all of these options if you like, but the important ones are the unvisited link and the hover link. For our example, let’s make all of our links red with no other style decoration and the links you hover over have an underline style decoration:

a {
  color:#ff0000;
  text-decoration:none;
}
 
a:hover {
  color:#ff0000;
  text-decoration:underline;
}

If you are using the Canvas theme we covered a small selection of tweaks that you can make to the styles.css and functions.php files.

Use Custom Code Rather Than Plugins

Code
Plugins are a wonderful aspect of the WordPress community. There are plugins out there that allow you to transform your website and enable you to do practically anything you can think of. However, constantly adding plugins is a great way to make your website bloated and slow its load times down to a crawl.

Plugins often require more code than is necessary for the jobs they carry out, simply because of the manner in which they interact with the core WordPress software. Each plugin also comes with management issues as you need to spend time updating them, as well as potential security issues if the plugin hasn’t been updated by the developer in a long time.

There are plugins out there that resolve one simple design aspect of your site, but often require additional code and files. Many of them can be replicated with a few lines of code added to the correct files which will reduce the overall load on your website and keep things tidier.

Let’s take a simple example. There are plugins out there that allow you to remove the titles from your WordPress pages on a page-by-page basis. That can be a useful feature if you want to hide the title of certain pages in order to give readers a smooth transition into the content.

However, with a few simple lines of code you can achieve the same effect. To show you how simple this can be, here is the code to add to your style.css file to do this with the Canvas theme:

.page-id-xxxx .title {
display: none;
}

In that example, replacing the xxxx with the page ID number will remove the title from that specific page. Simply add the code for every page you want to remove the title from.

Plugins for more complex jobs are essential and part of what makes WordPress great, but before you add one for any simple tasks on your site, take the time to stop and do a little research. You will often find a simple piece of code that can do the job instead.

I’ve talked about the danger of plugin ignorance before, but it really should be repeated. Adding plugins to your site without investigating whether there is a simple way to replicate its function is ignorant at best and lazy at worst. Every time you install a plugin you are putting the health and speed of your website into someone else’s hands.

Start Customizing Your Own Site Design

There are a vast number of changes you can make to customize WordPress to suit your own needs. They range from simple tweaks, to customizing color schemes, to the extremely complicated changes that alter the structure of your website.

WordPress customization can seem like a scary process to begin with, especially if you are new to the CMS. There are themes (like Canvas) that allow you to make some of those customizations with a point-and-click style design menu that help to take away some of that initial fear. These are amazing for you in the beginning of your customization journey.

However, if you spend some time using a child theme and the style.css file, you will learn to play with the building blocks of WordPress to create stunning website designs.

Have you started your own journey into WordPress customization and have any advice to share? Please let us know in the comments below.

Nokia Introduce Big, fast and affordable Lumia 625

Nokia has just announced the Lumia 625, a budget Windows Phone with the largest display.
Lumia 625 is a  4.7-inch WVGA (480 x 800) panel with 201 ppi, though, which makes it one of the least dense displays we’ve seen in recent memory — only Samsung’s Galaxy Mega 5.8 is worse. Lumia 625 also have “Super-Sensitive touch”.
Hardware Qualities :
It has 1.2GHz Snapdragon S4 processor, 512MB of RAM, 8GB internal storage, LTE connectivity, 5-megapixel main camera, VGA front-facing camera, Windows 8 with Amber Update.  LED flash is placed on the back.
The Real Camera is able to record HD Videos of 1080 resolution with a frame speed of 30fps. The Battery life will be improved, it got the huge battery of 2000mAh, can last 15.2 hrs on (3G).
Price will be higher than Lumia 520 and Lumia 620. The phone is launched in US at 289$ which is 17300 approximately in Indian Rupees. The device will available in different eye catchy colors like yellow, orange, green, and black also.



“With our largest smartphone screen to date, the Nokia Lumia 625 is a perfect example of how Nokia is delivering leading smartphone innovation and experiences at every price point,”                     Jo Harlow, executive vice president, Nokia Smart Devices.

अब अंधों की दुनिया भी होगी रंगीन, कर सकेंगे फोन पर बात :अंकुर मिश्र

आविष्कार पर आविष्कार दुनिया को उस मुकाम पर पहुंचा देंगे जहां असंभव शब्द ही समाप्त हो जायेगा। एक समय था जब अंधों को अपना काम पूरा करने के लिए किसी के सहारे की जरुरत होती थी लेकिन आज दुनिया उस शताब्दी में पहुंच चुकी है जहां हर असंभव चीज संभव हो चूकी है। इसका ही नतीजा है की आज अंधे भी फोन चला सकते हैं।
यह एक ऐसा फोन है जिसके जरिये अंधे किसी को कॉल करने के साथ-साथ संदेश भी भेज सकते हैं। इस फोन में बटन की जगह हेप्टिक टच का प्रयोग किया गया है जिसके जरिये यूजर्स किसी लिपि,छवि या वीडियो को आसानी से भाप सकता हैं। इसके टच में ऐसे छोटे छोटे बटन दिए गए हैं जिसके ऊपर उंगलियां रखने से व्यक्ति आसानी से जान सकता है की उसे क्या करना है। इसमे एक ऐसी डिवाइस का प्रयोग किया गया है जो शब्दों को स्कैन करके उसी छवि में बदल सकती है। कुल मिलाकर एक अंधा व्यक्ति कोई भी एप्लीकेशन को छूकर समझ सकता है।
दुनिया का ये असंभव काम संभव हुआ है भारत की एक खोज से,जिसका पूरा श्रेय भारत के प्रतिभावान व्यक्ति सुमित डागर को ही जाता है। सुमित ने अपनी पढ़ाई नेशनल इंस्टिट्यूट ऑफ डिजाइन से पूरी की है। इसके आलावा सुमित डागर और उनकी टीम सी. आई.आई.ई. अहमदाबाद के लिए भी काम करते हैं। सुमित डागर ने अंधों के लिए ऐसी खोज करके तकनीकी दुनिया में जो तहलका मचाया है वो वास्तव में सराहनीय है!
उन्होंने इस प्रोजेक्ट पर तीन साल पहले काम करना शुरू किया था। इसके साथ ही उन्होंने कई बड़ी कंपनियों में काम भी किया है। इस प्रोजेक्ट के लिए आई.आई.टी. दिल्ली और एल. वी. प्रसाद आई इंस्टीट्यूट हैदराबाद के साथ भी काम किया है।

Your First Web Page.

Steps :
  • If it is not open already, launch your text editor program.
  • Go to the text editor window.
  • Enter the following text (you do not have to press RETURN at the end of each line; the web browser will word wrap all text):
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>My First Web Page</title>
</head>
<!-- Exited for my first Web Page..... -->
<body>

           HTML5 is a Markup language for structuring and presenting content for the World wide     web(www) and a core of the Internet. It is the fifth revision of HTML Standard. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently by computers and devices. HTML5 is intended to subsume not only HTML4 but XHTML 1 and DOM Level 2 HTML as well. ~(Wiki.)


</body>
</html>



*NOTE: Look where the <title>...</title> tag is located. It is in the <head>...</head> portion and thus will not be visible on the screen. What does it do? The <title> tag is used to uniquely identify each document and is also displayed in the title bar of the browser window. 

  • Save the document as a file called "FirstwebPage.html" and keep it in the "work area" folder/directory you set up for this tutorial. Also, if you are using a word processor program to create your HTML, be sure to save in plain text (or ASCII) format.










*NOTE: For Windows 3.1 users, you must save all of your HTML files with names that end in .HTM, so in this case your file should be FirstwebPage.HTM. Do not worry! Your web browser is smart enough to know that a file that has a name that ends in .HTM is an HTML file. 




  • Displaying Your Document in a Web Browser



    1. Return to the web browser window you are using for your "work space". (If you do not have a second browser window open yet, select New Window or New Browser from the File window.)

    2. Select Open File... from the File menu. (Note: For users of Internet Explorer, click the Browse button to select your file)

    3. Use the dialog box to find and open the file you created, "FirstwebPage.html"

    4. You should now see in the title bar of the workspace window the text "Volcano Web" and in the web page below, the one sentence of <body> text you wrote, "In this lesson..."









    Congrats !! Your First Web Page has been Done. 



    Think of a topic for your own web page. Now create your own HTML text file that includes a <title> tag and a few introductory sentences. Save the HTML file and reload it in your web browser. You might want to create a different folder/directory for this file so you do not get it mixed up with all of the volcano pages you will create for this tutorial.

    Keep this file handy as you will add to it in later lessons.






















What is HTML Document?

An HTML document contains two distinct parts, the head and the body. The head contains information about the document that is not displayed on the screen. The body then contains everything else that is displayed as part of the web page.
The basic structure then of any HTML page is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<!-- header info used to contain extra information about
this document, not displayed on the page -->
</head>

<body>

<!-- all the HTML for display -->
: :
: :
: :
</body>
</html>




  • The very first line:


  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
is not technically required, but is a code that tells the browser what version of HTML the current page is written for.

  • Enclose all HTML content within <html>...</html> tags. Inside is first your <head>...</head> and then the <body>...</body> sections.

  • Also note the comment tags enclosed by <!-- blah blah blah -->. The text between the tags is NOT displayed in the web page but is for information that might be of use to you or anyone else who might look at the HTML code behind the web page. When your web pages get complicated (like you will see when we get into tables, frames, and other fun stuff about 20 lessons from now!), the comments will be very helpful when you need to update a page you may have created long ago.


What are HTML tags ?

HTML Tags :
When a web browser displays a page such as the one you are reading now, it reads from a plain text file, and looks for special codes or “tags” that are marked by the < and > signs.
The general format for a HTML tag is:
<tag_name>string of text</tag_name>

  string of textAs an example, the title for this section uses a header tag:

<h3>What are HTML tags?</h3>
This tag tells a web browser to display the text What are HTML tags? in the style of header level 3 (We'll learn more about these tags later). HTML tags may tell a web browser to bold the text, italicize it, make it into a header, or make it be a hypertext link to another web page. It is important to note that the ending tag,  </tag_name>
contains the "/" slash character. This "/" slash tells a web browser to stop tagging the text. Many HTML tags are paired this way. If you forget the slash, a web browser will continue the tag for the rest of the text in your document, producing undesirable results (as an experiment you may want to try this later).

*NOTE: A web browser does not care if you use upper or lower case. For example, <h3>...</h3> is no different from <H3>...</H3>


Unlike computer programming, if you make a typographical error in HTML you will not get a "bomb" or "crash" the system; your web page will simply look, well... wrong. It is quick and easy to go inside the HTML and make the changes.


Your browser has a small but open vocabulary! An interesting aspect of HTML is that if the browser does not know what to do with a given tag, it will ignore it! For example, in this document you are viewing, the header tag for this section really looks like this:

     <wiggle><h3>What are HTML tags?</h3></wiggle>
but since your browser probably does not support a <wiggle> tag (I made it up, perhaps in the future it could cause the text to wave across the screen?), it proceeds with what it knows how to do. If I were programming a new web browser, I might decide to add the functionality for the <wiggle> tag into my software





Our Era ! Our World ! Our Future !

We are having the best technical future. In the year of 1950’s USA was entertaining with color television and after 30 year we(India) got the fun of Television. This was a big time gap between two Countries on the basis of achievements and development. On the similar way some more interesting inventions was there in 1970’s in USA like Cable Connection and other and in 1990’s same entertaining material was available for fun. Now this time this Time gap was little Small. There so many examples by which we can make a graph which will show the Reducing situation of this time and development Gap. Like Now we are living in 4G (Fourth Generation) Era. It mainly works for Mobile communication. In USA 4G was deployed in 2008 with the Sprint Nextel, while in India it was deployed in April 2012. So this time, time and achievement gap was only 4 years. This is a great achievements for us. We are increasing our Development Stage. This reducing gap is the example of this Development. Yet now days 4G is only working in Kolkata with Airtel. But with our confidence very soon we will deployed in whole country. And I hope Up to launching of 5G we will be at same time Position with other developed Countries, So this is Our Era.

CLOUD COMPUTING: Powerful technology for technology world.

“Cloud Computing” as words says Clouds are the collection of small packets of information and computing is simple computing!!. It is the most powerful technology for information world with its huge concept. Technically it works with three layers:-
  • Application.
  • Plate-form.
  • Interface.
Application layer is used for accessing the information or Data, Plateform means a place where it can run and third layer (Interface) works for Size and power. This is the Internal status of Cloud computing.

Now let us talk about External view of clouds and cloud computing, It is a Hosting in which we save our data in cloud packets in enviornment by using cloud hosting.Cloud hosting have an importent application for accessing the data.Benefit with Example:- Let us take an example of Website, if this website will access through general hosting then there will be a slow speed after a fixed distance but in cloud hosting there will be no problem in assessment with distance or time because there may be many clouds with same data. By using nearest cloud it can access, so cloud computing is Fast & scatible .

माइक्रोसाफ्ट का नया तोहफा विंडोज 8 होगी २६ अक्टूबर को दुनिया के सामने

       तकनीक के बाद तकनीक, आविष्कार के बाद अविष्कार करते रहने और    उपयोगकर्ता को कुछ हमेश    नया देने के लिए अग्रसर रहने वाली कंपनी माइक्रोसाफ्ट अब दुनिया को नया तोहफा देने जा रही है ! किसी कंप्यूटर मशीन को चलने के लिए प्रथम  आवश्यकता होती है आपरेटिंग    सिस्टम की, यही वह प्लेटफार्म    है जहां पर लोग जहां उपयोगकर्ता  सारे कार्य करता है ! आपरेटिंग सिस्टम की दुनिया में इस बहुयामी कंपनी ने हमेशा से ही पकड़ बनायीं है ! खिडकियों के बाद खिडकियों ने लोगो को ऐसा रुझाया है की अब लोगो को माइक्रोसाफ्ट से हमेशा कुछ नए और अलग की चाह रहती है !
विंडोज XP, विंडोज 7  ने पहले से ही बाजार और लोगो के दिलो में जगह बना रखी है और इसी के चलते एक नए अवतार के साथ माइक्रोसोफ्ट ने विंडोज 8  को बाजार में ला खड़ा किया है ! बाजार में अधिकारिक रूप से आने से पहले इसके कई रुको को उपयोगकर्ताओ द्वारा प्रयोग करने से एक बेहतरीन रिसपांस मिला है ! माइक्रोसोफ्ट के 25  वर्ष पुरे होने की खुशी में जनता को दिए गए इस तोहफे में अनेक अच्छाइयां है, वैसे तो खिड़कियों के जनक गेट्स की कमपनी हमेश कुछ न  कुछ  अलग देती है लेकिन इस बार इन्होने कुछ अचम्भित करने वाला दिया है, आइये जानते है विंडोज ८ की कुछ खूबियों को :
सबसे अलग तो इसका शुरूआती पेज है, जिसे डेस्कटॉप कह सकते है वैसे डेस्कटॉप का आप्सन अलग से भी है लेकिन इस शुरुआती पेज में ऐसे बाक्स रखे गए है जिनके जरिये हम सीधे किसी भी विकल्प पर जा सकते है इस बाक्स को मेट्रो स्टाइल टाइल्स कहा गया है ! ये दायीं से बायीं और आसानी   से खिसकाए जा सकते है इसमे हम अपने मन मुताबिक अप्लिकेसन रख सकते है , उनका ग्रुप बना सकते है ! कुछ एप्लिकेसन ऐसे भी है जो आनलाइन अपडेट्स देते है इन्हें लाइव टाइल्स का नाम दिया गया है !
सुरक्षा की बात करे तो इसमे कुछ अलग तरीके से सुरक्श व्यवष्ठ की गयी है, उपयोगकर्ता अपने खाते में साधारण सुरक्षा कोड के आलावा पिक्चर कोड भी लगा सकता है, यह 3 जगह पर  क्लिक करने पर काम करता है जिसे उपयोगकर्ता तभी खोल सकते है जब वह पहले से सेव तीनों जगहों पर क्लिक करता है ! इसके आलावा वायरस से सुरक्षा के लिए आनेक सुविधाये है मालवेयर से सुरक्षा के लिए UEFI का प्रयोग बूट सिस्टम में किया गया है !
उपयोगकर्ता की जरूरतों को देखते हुए एक विंडोज स्टोर का विकल्प मेट्रो स्टाइल टाइल्स में दिया गया है, जिसके जरिये उपयोगकर्ता अपनी जरुरत का एप्लिकेसन डाऊनलोड कर सकता है !
एक अलग लुक के साथ आई इस विंडो की सबसे प्रमुख विशेषता यह है की इसका बूटिंग समय ३-७ सेकण्ड है जो अपने आप में बहुत ही तेज है ! इसके जरिये उपयोगकर्त को उपयोगी इंटरफेस आने का मिनटों तक इंतजार नहीं करना पड़ेगा !


उपर्युक्त विशेषताओ के आलावा कुछ विकल्प इस विंडो से हटा दिए गए है जो पहले विंडोज 7  या XP  में आते थे, स्टार्ट बटन जो की टास्क बार में होता था, विंडोज मिडिया प्लेयर आदि वैसे इन हटाये गए विकल्पों का प्रयोग भी ज्यादा नहीं था और इसकी विशेषताओ को देखते हुए उपयोगकर्ता इन्हें नजरंदाज भी कर देता है !                          
इस आपरेटिंग सिस्टम को अपने कम्पूटर में डालने के लिए साधारण से हार्डवेयर जरूरते है उपयोगकर्ता के पास कम से कम 20 GB  की स्टोरेज क्षमता होनी चाहिए ! RAM के लिए आपको सोचना होगा क्योंकि 32 Bit सिस्टम के लिए 1 GB और 64 Bit सिस्टम के लिए 2 GB RAM  निर्धारित है, और प्रोसेसर 1 GHz का निर्धारित है ! इन साधारण विशेषताओ के जरिये उपयोगकर्ता अपने सिस्टम में विंडोज 8 का लाभ उठा सकता है !
इस अनोखी प्रनिभा वाली खिडकी को अधिकारिक रूप से २६ अक्टूबर को बाजार में पेस किया जायेगा ! अब देखना यह है की इस लोगो को यह कितनी पसंद आती है ! 

© Ankur Mishra ‘Yugal’

Undefined Imagination of Microsoft Imagine Cup : Technology OSCAR

                                                                                                                                                               April 25, 2012 Wednesday, we were  exited to join technology  Enthusiast in lalit Hotel, New Delhi.
The Group of Microsoft Professionals, Imagine Cup Winners, Students are waiting for Startup of IMAGINE CUP 2012 (India) Final Event. Finally  ICIndia-2012 final started at 10:00 AM with tremendous Style.  The auditorium of  “The Lalit Hotel” was totally “HOUSEFULL” .  Some question was really thoughtful till Starting of Event :
·         Who’s going to Sydney this year?
·         Where is your imagination taking today?
     
The Session of Microsoft Professional “Lee Anne Caylor” was really awesome. Her view like “Majority of apps on the phone comes from Students. Because you guys think crazy” , “Future innovators start here… “Imagination can make the impossible possible”, “Where is your imagination taking you?”… Etc was really important for a person who want to jump from general life to technical life and technical life to Entrepreneur life.After “Lee Anne Vaylor”‘s Session  the session of “Gari Arora” was with full of joy and knowledge.Her question “where is. Your imagination taking you?” and theory behind ”corporate citizenship” leave a question for Us . With statement “Empower !! Imagine !! Realize !!” she edds her session. And after that Demo and presentation of Several projects come into Stage, Which was really awesome.

The main teams were  Imaginary (Innovative Thinkers), Jeevan (KinectoTherapy), Poseidon (The D Labs) , which give tremendous ideas for Students as well as Microsoft. After this Demo Session the Prize distribution stated which was full of Glamour & Joy. For Prize distribution Chief gust was “Microsoft COO: B. Kevin Turner”.  He describes the whole history of Imagine cup and other Microsoft Students Events & programs. Beside him there was many India’s  & World wide Microsoft Professionals on the Stage for  Describing TECHNOLOGY. Some Key Points of This Event was:
  • Solution for Dylexia By D-Labs Team.
  • Project JAL from team POSEIDON hes serious application in India.
  • Where is your Imagination taking You?