background preloader

Tutorials

Facebook Twitter

Function Reference/get sidebar. Function Reference/get sidebar Description Includes the sidebar.php template file from your current theme's directory.

Function Reference/get sidebar

If a name ($name) is specified then a specialized sidebar sidebar-{name}.php will be included. If sidebar-{name}.php does not exist, then it will fallback to loading sidebar.php. If the theme contains no sidebar.php file then the sidebar from the default theme wp-includes/theme-compat/sidebar.php will be included. Usage Parameters $name (string) (optional) Calls for sidebar-name.php. Default: None Examples Simple 404 page The following code is a simple example of a template for an "HTTP 404: Not Found" error (which you could include in your Theme as 404.php).

<? Left and Right Sidebars Two sidebars in one theme. The file names for the right and left sidebars should be sidebar-right.php and sidebar-left.php respectively. Multi sidebars Different sidebar for different pages. Sidebars. The Best WordPress Related Websites on the Internet. If you are a regular WPMU reader, you may recall the first and/or second editions of the WPMU 100 — the top 100 WordPress related blogs on the internet.

The Best WordPress Related Websites on the Internet

The two editions were released four months apart, with the second edition being published in June. Therefore, I knew that October would bring about an opportunity to publish a third edition. However, I had already decided that a new edition would have to bring something fresh — it couldn’t just be a re-hashing of the same list. So when I sat down a week ago to start work on the third edition, I knew that I would probably have to do something a little radical. Featured Plugin - WordPress Google Maps Plugin Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget. Find out more The New Format That provided me with enough impetus to start from scratch. So that is why this newest edition of the WPMU 100 is in fact the WPMU 40. Elastic Image Slideshow with Thumbnail Preview. Today we want to show you how to create a simple elastic slideshow with a thumbnail preview.

Elastic Image Slideshow with Thumbnail Preview

The slideshow will adjust automatically to its surrounding container and we can navigate through the slides by using the thumbnail previewer or the autoplay slideshow option. View demo Download source To make this slideshow responsive, we will use a mixture of JavaScript and CSS techniques. The fabulous photography used in the demo is by Bartek Lurka and it is licensed under the Attribution-NonCommercial-NoDerivs 3.0 Unported License. So, let’s do it! The Markup We will create two unordered lists, one for the main slider and one for the thumbnail navigation beneath the large image.

The list for the thumbnail preview navigation will contain an absolute element (the first list element with the class ei-slider-element and the thumbnail list elements which consist of an anchor and an image (the thumbnail). Now, let’s add the style.