• 0
wordpress-cheat-sheet-2016

WordPress Superb Cheat Sheet for Designers and Developers 2016

Category : Blog

Since WordPress is premiere CMS and blogging platform that’s not only incredibly versatile, but also amazingly easy to learn and use. Majority of Business professionals prefers WordPress to develop their business websites. Moreover, since it’s open source and completely free to use, there is a common misconception that WordPress is meant for amateurs, not for serious business purposes.

WordPress UI: The front-end and back-end.

Front-end includes your content (posts, pages, media, and comments), your theme (how everything looks and feels), menus (typically used for navigating around your site), and widgets (depending on whether your theme supports widgets, of course).

Back-end is the admin area is where most work gets done in WordPress; it’s where you author new content, manage users, configure your site’s options, and perform regular maintenance tasks.

But what you see on the surface when you set up and launch WordPress UI is just a small fraction of what goes on behind the scenes. That means, WordPress runs on two somewhat complicated web technologies known as PHP and MySQL. Other technologies that play a part include JavaScript, it’s close cousin jQuery, CSS and HTML. WordPress themes (and even plugins) are mainly written in PHP, and rely on MySQL databases to run.

Now, for amateurs, there sure is a lot to remember when working with WordPress files. From the names of basic template files to functions and how the WordPress Loop works, themes and plugins to work, use a set of standardised code and it’s next to impossible to remember every PHP tag or even how to define a new theme. So to help you out, present you handy and superb cheat sheet. This is definitely one to bookmark and save for future reference!


Theme Files and Structure :

WordPress Cheat Sheet-The Anatomy of Theme

These are the basic files that every theme should include:
  • style.css – This is your theme’s stylesheet file.
  • index.php – This is the main body template for your theme. Its job is to bring together all the information in the other theme files using template tags.
  • header.php – This file contains the header information that appears with the <head> section of your site, stuff like metadata and the link to your stylesheet.
  • sidebar.php – Everything in you sidebar goes in this file, like widgets, categories, additional menus, search form, etc.
  • footer.php – This file contains your footer information, such as copyright details, widgets, and social icons.
  • single.php – This file displays just one post.
  • page.php – When you create a page on your site, this is the template responsible.
  • comments.php – This file is responsible for displaying comments.
  • 404.php – When visitors try to visit a page on your site that doesn’t exist, this file will general an error page.
  • functions.php – This file is where you can place special functions. We always recommend creating a child theme rather than edit this file directly.
  • archive.php – Display an archive with this file so visitors to your site can go way back when and read your Hello World! post.
  • search.php – Help your visitors search your site with this page.
  • searchform.php – Display a search form for your visitors with this template file.

Defining a New Theme Style Sheet:

Why is style.css file important? Firstly, it provides details about your theme that are displayed in the Appearance > Themes section. This information goes into the style-sheet header, which helps in identifying the theme during selection in the admin area.

The following is an example of the first few lines of the style sheet for the default Twenty Sixteen theme:

/*

Theme Name: Twenty Sixteen

Theme URI: https://wordpress.org/themes/twentysixteen/

Author: the WordPress team

Author URI: https://wordpress.org/

Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.

Version: 1.2

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Tags: black, blue, gray, red, white, yellow, dark, light, one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready

Text Domain: twentysixteen




This theme, like WordPress, is licensed under the GPL.

Use it to make something cool, have fun, and share what you've learned with others.

*/

Template Include Tags:

Template include are simply PHP codes used within one template file (for example index.php) to include (or call) the HTML and PHP found in another template file (for example header.php). While PHP has its own built-in include() statement to do this, these WordPress-specific tags make coding easier:

  • <?php get_header(); ?> – Use this in index.php to call (or include) the header.php file. It will fetch header.php and display its content in index.php – that’s what including a file all is about.
  • <?php get_sidebar(); ?> – Includes sidebar.php
  • <?php get_footer(); ?> – Includes the footer.php template file
  • <?php comments_template(); ?> – Includes your comments

Template Bloginfo Tags:

They play one role, which is to fetch information about your WordPress site from the database. This is mainly the information you feed to your WordPress site in your admin area via the User Profile and Settings -> General. These are functions you’ll find in your theme’s header.php file, though you’ll also find them in other theme files:

  • <?php bloginfo(‘name’); ?> – The title of your site, or blog name
  • <?php bloginfo(‘url’); ?> – Your site’s URL
  • <?php bloginfo(‘stylesheet_url’); ?> – Link to your themes’s stylesheet file
  • <?php bloginfo(‘template_url’); ?> – Location of your site’s theme file
  • <?php bloginfo(‘description’); ?> – Displays the tagline of your blog as set in Settings > General.
  • <?php bloginfo(‘atom_url’); ?> – Link to your site’s atom URL
  • <?php bloginfo(‘rss2_url’); ?> – RSS feed URL for your site
  • <?php bloginfo(‘pingback_url’); ?> – Pingback URL for your site
  • <?php bloginfo(‘version’); ?> – WordPress version number
  • <?php bloginfo(‘html_type’); ?> – The HTML version your site is using
  • <?php site_url(); ?> – The root URL for your site
  • <?php get_stylesheet_directory(); ?> – Location of your stylesheet folder
  • <?php wp_title(); ?> – Title of a specific page

Template Tags:

These tags can be used across all of your template files, such as index.php or page.php, making it easy to display specific information anywhere you want on your site:

  • <?php the_content(); ?> – Displays the content of a post
  • <?php the_excerpt(); ?> – Displays the excerpt used in posts
  • <?php the_title(); ?> – Title of the specific post
  • <?php the_permalink() ?> – Link of a specific post
  • <?php the_category(‘, ‘) ?> – Category of a specific post
  • <?php the_author(); ?> – Author of a specific post
  • <?php the_ID(); ?> – ID of a specific post
  • <?php edit_post_link(); ?> – Edit link for a post
  • <?php next_post_link(‘ %link ‘) ?> – URL of the next page
  • <?php previous_post_link(‘%link’) ?> – URL of the previous page
  • <?php get_links_list(); ?> – Lists all links in blogroll
  • <?php wp_list_pages(); ?> – Lists all pages
  • <?php wp_get_archives() ?> – List archive for the site
  • <?php wp_list_cats(); ?> – Lists all categories
  • <?php get_calendar(); ?> – Displays the built-in calendar
  • <?php wp_register(); ?> – Displays register link
  • <?php wp_loginout(); ?> – Displays login/logout link only to registered users

The Loop:

The loop, or WordPress loop or simply loop, is PHP code structure that displays WordPress posts. The loop is used in WordPress themes to display a list of posts in a web page.

There are several Template tags that work only inside the WordPress loop and can be used to format, arrange, and publish post data. The WordPress loop is arguably one of the most important aspects of the WordPress code and at the core of most queries in one way or another.

The following code snippet wherever in your WordPress template files, and it’ll list all posts you’ve ever created:

<?php

if ( have_posts() ) {

        while ( have_posts() ) {

               the_post();

               //

               // Post Content here

               //

        } // end while

} // end if

?>

Final Thoughts

This cheat sheet is just a quick guide that will help you get started as you learn WordPress theme development. Using the tags, functions and snippets we’ve shared here, you can easily go through slandered theme development, and enhance it without breaking a sweat .But of-course, you need to keep learning WordPress theme development and latest development trends, and for that we recommend the WordPress Codex, tuts+, Threehouse, ManageWP.org, and ThemeShaper among other great resources.

Other than that, Bezoar Software caters diverse WORDPRESS DEVELOPMENT SERVICES or if you wish to migrate to WordPress from any CMS , we will make it smooth and hassle-free with our unmatched services. To know more visit our website http://bezoarsoftware.com or write us info@bezoarsoftware.com .


  • -
small business or start-up WordPress themes

7 Best Small Business or Start-up WordPress Themes -2016

Category : Blog

As more people surf the Internet to search for information, a user’s first impressions of a website can determine whether he or she forms a positive lookout for that organization. Especially in case of Small Business or Startups Website “first impression is VERY IMPORTANT”.

The perfect design and style that’s friendly to on-line readers, fresh and quality content and a clear description of who you are; these are main factors that makes your business reckonable on the web so all those millions of users out there know you exist.

In this article, we’re representing the list of best WordPress themes which can take care every aspect of a startup and small business. Whether it’s a Woo Commerce ready website, picture gallery site, blog or a virtual business, small business. So, here is our latest collection of the WordPress themes and templates.

Let’s enjoy the ride…

1. Rebloom

Rebloom- Responsive Vertical Menu Split Page Theme by themeforest is uniquely designed template for small business and startup with Sophisticated, creative layout concept, but still multi-purpose. Every page can use a different layout, unique navigation feature with off-canvas mobile navigation and obvious it is clean coded and responsive as well. One of the unique feature ‘chapters’ feature that can be used for software documentation purposes, also one can upload infinite portfolio and blog summary pages.

Click Here for a Live Demo. Click Here to Download.

Rebloom


2. Business Plus

Business plus – Corporate Business WordPress theme an interactive and modern business WordPress theme specially designed for Corporate, Agency, Creative, Personal, and small or large business websites. The features makes this theme best that it is Coded LESS CSS and responsive fluid layout and it has been built on Mobile First Approach. Compatible with woo-Commerce and Buddy press. Through Business plus WordPress multipurpose theme, one can create 100% W3C validated & SEO-friendly web pages that are capable of caching on Google & other major search engines.

Click Here for a Live Demo. Click Here to Download.
Business plus – Corporate Business WordPress Theme

3.KANA

KANA – Creative Agency WordPress Template one of the most beautiful themes. It is minimal & creative featured template which is suit for agency, portfolio & corporate. Eye catchy look, modern and unique design makes this template perfect for all kind of business. The theme is perfectly organized for the users so that one can easily change each section very smoothly without any knowledge of code weather it is text, images, colours everything that user need. All this makes it a great choice for people searching for quality small business WordPress themes for startup.

Click Here for a Live Demo. Click Here to Download.

KANA - Creative Agency WordPress Template


4. Arabella

Arabella – WordPress Portfolio Theme by themeforest. As the name suggests specially designed for showing your valuable portfolio with very organized and creative manner. This theme is perfect solution for Web Designers, Graphic Designers, Architecture, Photography and any kind of creative people. Features like superb eye-catching animations with the use of modern CSS3 and jQuery makes representation of your work/portfolio get praised by visitors comes to your website

Click Here for a Live Demo. Click Here to Download.

Arabella wordpress theme


5. Gemiz

Gemiz – Portfolio WordPress Theme it’s again template based on HTML 5, CSS3 and jQuery for your portfolio. The robust features like visual composer with drag and drop layout for easy to use. It is responsive design included light and dark versions theme options and also has 2 stylish home page sliders (LayerSlider, Sync slider) makes descent look for your website. For portfolio page themes includes fully responsive media grid plugin that allows you to control the layout of your item grid in the way that pleases you most. One can make creative portfolio website weather it Business or Agency.

Click Here for a Live Demo. Click Here to Download.

Gemiz WordPress Themes


6. Viano

Viano Portfolio WordPress Theme by themeforest has everything a startup might need: simplicity, a professional look, and a clean layout with well-organized content purposely for designers, creative individuals who want to showcase their works beautifully. One can use it for portfolio, personal and agency site. A theme built with amazing customizes options that are its plus point. Also for showcase your beautiful work simple and effective Viano provide Masonary and grid to list options. More features such as functional models, working contact form, pricing tables included to create awesome portfolio for your company or business.

Click Here for a Live Demo. Click Here to Download.

Viano WordPress Theme


7. Wizard

Wizard – Full-page Portfolio WordPress Theme; Perfect for creative portfolio websites, fashion websites, photography portfolios, small business websites or any creative business or agency! Theme packed with very powerful features includes powerful Visual Composer page builder plugin to create wonderful content, dark and light version for Panels, and also separate section for homepage to create various styles for front-page as per requirement. Fully customizable theme with Responsive Bootstrap 3 Grid system and awesome retina icons also makes this theme perfect for creative business.

Click Here for a Live Demo. Click Here to Download.

Wizard - Full-page Portfolio WordPress Theme


 


  • -
restaurant-wordpress-themes

10 Best WordPress Restaurant Themes – 2016

Category : Blog

Do you have your Own Restaurant? Or Thinking about starting your own restaurant? Or have a website related to Food, Cafe, Bakery, Bar, Pizza, cooking and so on. The possibilities are limitless. Presenting the best WordPress restaurant themes and Website Template to meet your needs.

All of the themes on this list are specially featured for general restaurant, café owner’s use. If you’re looking for coffee shop themes, bakery themes, or winery themes, or food blog templates you may find one of the following articles more useful: In order for your restaurant to get more appreciation and attract more customers, creating a website can definitely be a huge advantage. Since it will be challenging to create your own restaurant website, we tried to make the task easier by creating a list of top 10 WordPress restaurant themes and templates.

These WordPress based restaurant themes are feature-rich, multi-purpose, multi-tasking and flexible responsive Suitable for restaurant business, Agencies, Small Biz owners, Corporates,Food Bloggers – Anyone and Everyone!

Give your website a beautiful and stylish in appearance look with any of these themes and all for Free.

1. Urbangrill

Urbengrill is a cool; HTML5 Restaurant template that would suit the more modern establishments.Urbengrill is stylish with unique design, looks perfect in any size of screen. It is pixel perfect design for all tablets and mobile design. It is bootstrap based theme available with multiple color layouts, Box and Wide Layouts. You can choose different options to show your customers, your delicious restaurant menu. Clean Design and bug free code makes theme remarkable.

Click Here  for a Live Demo. Click Here to Download.

UrbenGrill WordPress Restaurant Template


2. Tomato

Tomato by themeforest is a Modern, Creative & flexible Responsive WordPress Restaurant Website. You can create Café website, Recipe based Website. This is Fantastic template where you can enjoy very much the features available here, which includes Drag and Drop Builder, Various Home Page options, Awesome parallax sections, Video Background Options , Classic and Modern menu style. Special Features include Open Table integration for reservations, Mailchimp for newsletters and easily integrated with woo commerce.

Click here for a Live Demo. Click  here  to Download.

Tomato Restaurant, Cafe, Espresso WordPress Theme


 

3. Vienna

If you want a solid theme for your restaurant, café or bar, Vienna is the best option for restaurant and bar owners. Vienna was also designed for banquet halls, catering companies, hospitality venues and professional bloggers who cater to the food niche. Vienna is fully responsive packaged with custom slider, a catering and event form, a fully functional contact form, language selector, an image gallery and a menu system layout. It is also e-Commerce Ready theme with easy setup and clean code.

Click here  for a Live Demo. Click  here  to Download.

vienna


4. Lambert

Lambert – Responsive Restaurant / Pub / Cafe WordPress Theme is a great theme for restaurants who want a simple, clean yet modern design theme. This themeforest theme is perfect for restaurant, Bakery, any food business and personal chef web sites.  More features like 6 Homepages (Video , Carousel , Slideshow) – one and multi page version for versions for each option which can be imported in One Click.

Click here  for a Live Demo. Click   here  to Download.

lambert


5. Majesty

Majesty- Restaurant Woo-Commerce WordPress Theme is a stylish and colorful theme with a plentifulnes of features that can give your website a look and feel that some premium themes would deal with. Majesty boost up with features like MultiPurpose or One Page webpages, vitual composer for attractive food menus and excellent work without woo-Commerce plugin . Majest specialist in Restaurant, Bakery, any food business and personal chef web based site.

Click  here  for a Live Demo. Click  here  to Download.

Majesty WordPress Theme


6. FlyCoffee:

The FlyCoffe Theme sets a standard for easy to use yet premium WordPress themes for Bar and Restaurent businesses. The theme is functional and responsive, and you can use the template to build a solid online presence for your establishment. It can be used for Restaurant, Bar, Bistro, Cafe, Pizza, Coffee Shop, Fruit, Flowers, Green and more other kinds of websites. The features include an Drag & Drop Visual Builder which lets you easy to create pages for your website, custom sidebars and many custom options also lets you to built great and flexible pages.

Clickhere  for a Live Demo. Click here  to Download.

FlyCoffee - Bar and Restaurant WordPress Theme


7. Culinier

Culinier – Food and Recipie wordpress theme, this retina ready theme will make sure that your website will have its original rich colors in any device of your choosing. The cullinear is considered to be one of the best power recipe management tools that build with a lot of options such as ingredients, directions, nutrition, advanced search/filter and front-end submissions.

Click  here  for a Live Demo. Click  here  to Download.

Culinier - Food & Recipe WordPress Theme


8. Mazzareli:

Mazzareli is a beautifully designed WordPress Theme  is perfect for restaurants, wineries, wine tour companies, cafes and businesses looking for a relaxing outdoors feel. It is well organized looking theme for your culinary business, foodies, recipes, etc.Multiple menu pages, cafe directions, featured items, blog, and so on. Use this theme to quickly create a great presence for your culinary business. Features includes 3 versions of a home page , news & events page, page with reviews, reservation page, blog page and single blog post page, menu card page, contact page, gallery page, page with sidebar on the left/right side, page without sidebars.

Click here  for a Live Demo. Click  here   to Download.

Mazzareli - Restaurant & Cafe WordPress Theme


9. Monmarthe

Monmarthe is a beautifully designed HTML Template for your cafe or restaurant. It is well organized looking theme for your culinary business, foodies, recipes, etc. Multiple menu pages, cafe directions, featured items, blog, and so on. Use this theme to quickly create a great presence for your culinary business.

Click  here  for a Live Demo. Click here  to Download.

Monmarthe - Restaurant & Cafe HTML Template


10. Chow

Chow is a delicious recipe and food blog premium WordPress theme. This lovely and minimal theme is a great way to share your favorite recipes with the world. If you’re a foodie or you are niche food blogger, you’ve probably collected quite a few delicious recipes over the years. So why not start a food blog or your own recipe website where you can share your love of all things yummy? Chow is a great way to add your recipes, and allows readers to share their own, on your site! The built-in Foodie Press recipe editor makes it easy to add ingredients, instructions and customize the recipe layout.Other theme features of Chow include the CodaSlider, FlexSlider, custom color schemes, font options, localization support and more.

Click here  for a Live Demo. Click  here  to Download

Chow - Recipe & Food WordPress Theme