Programming Books

Friday, 11 March 2016

March 11, 2016

do you need good cloud storage, free 50GB ?

Make sure you have an active (free) OneDrive account;
if you don't have one already, you need to create one by
clicking here (
Once you have an active OneDrive account,
click here ( to go to the pCloud registration page,
fill out the short form, and hit the orange 'Get your free 50GB' button
At the next page, hit the orange 'Continue' button
You should now be in your pCloud account; you will see that you have 10 GB in your pCloud account. To get 50 GB, you need to click 'Backup' from the menu on the left and click 'Start' for 'OneDrive' under 'Backup from'
Next, a window will popup -- log into your OneDrive account and allow pCloud access to your OneDrive account
Done! Your pCloud account should now say 50.0 GB in the bottom-left corner of your screen

Thursday, 10 March 2016

March 10, 2016

Common WordPress template files

Common WordPress template files

Below is a list of some basic theme templates and files recognized by WordPress.
The main template file. It is required in all themes.
The main stylesheet. It is required in all themes and contains the information header for your theme.
The right-to-left stylesheet is included automatically if the website language’s text direction is right-to-left.
The comments template.
The front page template is loaded if a static front page is specified under Admin > Settings > Reading.
The home page template is the front page by default. If you do not set WordPress to use a static front page, this template is used to show latest posts.
The header template file usually contains your site’s document type, meta information, links to stylesheets and scripts, and other data.
The single post template is used when a visitor requests a single post. For this, and all other query templates, index.php is used if the query template is not present.
The single post template used when a visitor requests a single post from a custom post type. For example, single-book.php would be used for displaying single posts from a custom post type named book. The index.php is used if a specific query template for the custom post type is not present.
The archive post type template is used when visitors request a custom post type archive. For example, archive-books.php would be used for displaying an archive of posts from the custom post type named books. The archive.php template file is used if the archive-{post-type}.php is not present.
The page template is used when visitors request individual pages, which are a built-in template.
The page slug template is used when visitors request a specific page, for example one with the “about” slug (page-about.php).
The category template is used when visitors request posts by category.
The tag template is used when visitors request posts by tag.
The taxonomy term template is used when a visitor requests a term in a custom taxonomy.
The author page template is used whenever a visitor loads an author page.
The date/time template is used when posts are requested by date or time. For example, the pages generated with these slugs:
The archive template is used when visitors request posts by category, author, or date. Note: this template will be overridden if more specific templates are present like category.php, author.php, and date.php.
The search results template is used to display a visitor’s search results.
The attachment template is used when viewing a single attachment like an image, pdf, or other media file.
The image attachment template is a more specific version of attachment.php and is used when viewing a single image attachment. If not present, WordPress will use attachment.php instead.
The 404 template is used when WordPress cannot find a post, page, or other content that matches the visitor’s request.

Recommended For You