background preloader

My Wordpress Cheat Sheet

My Wordpress Cheat Sheet
I know that there are many resources regarding this topic but there are never enough. This post is dedicated to small snippets from WordPress that will make your life easier. Or maybe my life easier and in this case I want to have them in one single post. In a way I’m trying to help you and in another I’m trying to organize this stuff for myself. Theme Structure If you want to create a WordPress theme, these following files must be included in order to be a standard theme. header.php - header section index.php - main section sidebar.php - sidebar section footer.php - footer section single.php - post template page.php - page template comments.php - comments template search.php - search content searchform.php - search form archive.php - archive functions.php - special functions 404.php - error page The Loop You will often see “the loop” as reference in many tutorials or samples. <? Note: the space in front of ? Template Include Tags Template Bloginfo Tags < ? WordPress Conditional Tags < ? Related:  Wordpress Development

Understanding WordPress Theme: The Basics of Creating Your Own WP Theme – Make Tech Easier There are a variety of free and premium WordPress themes that you can find throughout the web. You will sometime find that you can spend hours trying to modify the theme, so it is tailored to the way you want it. Sometimes it’s easier to create your own from scratch, and not deal with the headaches that can happen with customization of an existing WordPress theme. This guide will help you to understand the basic of a WordPress theme and how to create a simple theme. I recommend that before you begin, you familiarize yourself with the WordPress file structure by analyzing as many WordPress themes as you can (Note: You need to have a basic understanding of HTML and CSS.) Getting Started Begin you begin coding up the theme, you must understand that the WP theme is just like any other HTML webpage, except that it is coded with PHP. WordPress File Structure The basic file structure of a WordPress theme is as follows: Other files that you will also find in a WordPress theme are: <? <! <?

So you want to create WordPress themes huh? 1000+ Sound Effects Download Free and Premium Sound effects or audio effects are artificially created or enhanced sounds, or sound processes used to emphasize artistic or other content of films, television shows, live performance, animation, video games, music, or other media. In many cases people don’t pay much attention to sounds effects but still they may have a significant effect on emotions and impressions. It has become increasingly popular to produce videos for sales pages, opt-in pages, blog posts etc. and using high quality sound effects for these productions may improve their ability to catch visitors attention better and maintain it. In fact low budget videos may feel a lot more professional if the sound part rocks. For this article I have found 35 websites where you can download free and premium sound effects for your video productions. Advertisement 1. The Recordist presents a collection of free sound effects in MP3 format. 2. 3. 4. Great Sound Effect Download site since 1997. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.

11 Non-Traditional Uses of WordPress Get the FlatPix UI Kit for only $7 - Learn More or Buy Now WordPress is probably the most popular blogging platform and it can also be used as a CMS to power other types of websites, such as a portfolio site. However, with some creativity and a growing number of available resources, WordPress’s limits seem to be expanding constantly. In this article we’ll take a look at a combination of tutorials, plugins and themes that can help you to use WordPress in non-traditional ways. 1. Last year Chris Cagle wrote a tutorial, How to Use WordPress as Membership Directory, at WPDesigner. Update: Chris has posted a follow up to this tutorial since the release of WP 2.7 – The New and Improved Way to Turn WordPress 2.7 into a Membership Community. 2. The Business Directory Plugin for WordPress accomplishes a similar end result as the tutorial above. 3. Assualt Blog has an interesting tutorial where Tim shows how he built a Ffffound clone on WordPress. 4. RecruitPress is a fee job board option. 5. 6.

PHP Class Tutorial | edrackham Easy to follow PHP class tutorial (which is Object Orientated Programming – OOP). I’m not sure how to start this one… It can be quite difficult to understand PHP classes at first, but hopefully I’ll make everything seem easy! Let’s just get stuck in shall we… I’ve made a free iPhone app (What Should I Make For Dinner Tonight?) PHP Class Tutorial Chapters Part 1 – Jumping In With Two FeetPart 2 – What does $this-> mean in a PHP class file? Ok so you’re actually reading this php class tutorial overview? Firstly, when you hear someone talking about PHP with Object Orientated Programming, or OOP as it’s otherwise known, they are in-fact referring to PHP classes. This may not be the best example of explaining why to use classes in PHP, but it’s an example of how to use them. To begin our PHP class tutorial, let’s start by creating a new file called time.php. $sTime = gmdate("d-m-Y H:i:s"); print 'The time is: ' . $sTime = gmdate("d-m-Y H:i:s"); print 'The time is: ' . So, the next line:

How WordPress Themes Actually Work [INFOGRAPHIC] WordPress developer and all-around web geek Joost de Valk has just graced the Internet with a highly useful infographic. For a medium that leans toward the amusing, infographics can occasionally be enlightening or even helpful for later reference. This one serves as a sort of "cheat sheet for how your blog works" and takes the reader through the basics of a normal WordPress theme. It's a posts-to-plugins look at the anatomy of a typical WordPress theme. Have a look, and let us know what you think in the comments. Click to see original.

Privnote - Send notes that will self-destruct after being read 35 Awesome User Interface Design Tutorials Pro Blog Design 35 Awesome User Interface Design Tutorials On Mon 6th Apr | In Resources | By Narendra.s.v There are more different styles of design out there than we could ever hope to master. But as designers, we never want to become locked into one way of doing things. Below we have collected 35 of the best tutorials for all aspects of User Interface design, with a very wide variety of styles. Most of the tutorials are full web pages, so by the end you’ll be more than able to start making your own designs in that theme. Old Paper Layout Professional Modern Web Layout Photography portfolio Design Professional header design for your website Glossy-Style Carbon Fibre Navigation Buttons Photoshop Paper Texture from Scratch then Create a Grungy Web Design with it! Volkswagen Inspired Navigation Creating A Glossy 3D Button Royal Interface – Design Tutorial Design Watercolor Effect Menu Tutzor web 2.0 style design Black Website Design How to Create a Simple & Sleek Web 2.0 Site Footer Website Design Studio

PHP Class Tutorial – Part 2 – What is $this-> | edrackham Please make sure you’ve followed my first PHP Class Tutorial before starting this one, as it follows on using the previous example. This tutorial will explain what $this-> is all about, and how to further your PHP class knowledge! PHP Class Tutorial Chapters Part 1 – Jumping In With Two FeetPart 2 – What does $this-> mean in a PHP class file?Part 3 – What Are Class Constructors? Our first example used the following – very simple – class file: Now, let’s add in the ability for our class file to look X number of days into the future shall we? Now, if we were to run <! ShowFutureDate(5); print 'The time in 5 days is: ' . We’d see the date in 5 days time. Firstly, let’s declare a variable that we can use within any of the class functions. Notice how we added ‘var $sTime;’ at the beginning of the class file? Let’s start using this as a variable, available only to the scope of the class file. $oTime->ShowFutureDate(5); $oTime->ShowFutureDate(5); echo $oTime->sTime;

How To Create WordPress Themes From Scratch I’m going to show you how to create a wordpress theme from scratch in these 3 parts of tutorial series. I will cover from Structuring, designing in Photoshop, slicing, coding into fully css based html, and finally wordpress implementation. Table Of Content Below is the index of the topics that we will go through: Structuring This is a very important part in designing a web layout. HeaderPosting areaSidebarSingle pageCommentFeedbackSearching fieldPage menuRSSArchives, Links and About Page Something we need to keep in mind. Display too many things in one single page.Use too many colors and font type. In this sample, I also try to make is as simple as possible because the purpose of this series of tutorial is to give an example on how to create a wordpress theme. Final Result Photoshop Step 1 Create a new document with 1024px X 768px as we are going to create a layout which suit for 1024px resolution. Step 2 Grab the rectangle tool and draw a header for it. Step 3 I use Myriad Pro. Step 4 Step 5

Internet Resources - Writers Resources - Writing Links & Writers Links for Writers - Word Stuff Unsorted [/writers] James Patrick Kelly - Murder Your Darlings - "When time comes to make that final revision, however, you must harden your heart, sharpen the ax and murder your darlings." Greda Vaso - Determining the Readability of a Book - includes formulas for Gunning's Fog Index, Flesch Formula, Powers Sumner Kearl L. Kip Wheeler - Literary Terms and Definitions L. Kip Wheeler - Comp - Lit - Poetry - Links - more Style - Grammar - Errors in English [/writers]American Heritage - Book of English Usage - free download Band-Aid AP StylebookPaul Brians - Common Errors in EnglishCJ Cherryh - Writerisms and other Sins The Chicago Manual of Style FAQ Gary N.

101 Techniques for a Powerful CMS using WordPress | Noupe May 05 2009 This is the first article in the three-part series, “The Comprehensive Guide for a Powerful CMS using WordPress”. Throughout this article, we’ll be focus on many WordPress Theme hacks, ideas, tips and useful tutorials you need to have ready in hand when developing WordPress websites. The Comprehensive Guide for a Powerful CMS using WordPress – Part 2 The Comprehensive Guide for a Powerful CMS using WordPress – Part 3 There are some technical stuff we have to get out of the way first. WordPress CMS Hacks and Tricks 1. By default, a WordPress home page shows chronological blog post entries — with the most recent post at the top. How To » In your admin area, just go to Setting » Reading. Points to take care » First problem you may run into when you make a static page your home page is that the link to that page now appears in the main site navigation. 2. Adding too many pages to a WordPress blog that has a navigation bar in the header can really make your WordPress blog a mess. 3.

PHP Class Tutorial – Part 3 – What Are Class Constructors? | edrackham So just what are class constructors, and how can they be used within PHP classes / OOP programming? When a PHP class is first called, the class will automatically run the class constructor function, which can help automatically configure the class. This can be useful if you need to preset some instance variables, sessions or cookies – prior to using the class methods. PHP Class Tutorial Chapters Part 1 – Jumping In With Two FeetPart 2 – What is $this->Part 3 – What Are Class Constructors? Starting Point Let’s follow on from the previous tutorials, so we are using the following code as our starting point for this tutorial. Let’s __construct() Again, to keep things simple, I’ll show a simple implementation of how using class constructors in PHP can help to build more efficient classes. How would we do this? function __construct(){ $this->GenerateCurrentTime(); } function __construct(){ $this->GenerateCurrentTime(); } (NOTE: We’re adding this just after the var $sTime; line). Or… Complete Code

The Ultimate WordPress Cheat Sheet Messing around in WordPress is a pure knowledge thing. It really has nothing to do with skill since all you really have to do is learn what all the different tags do, mean and what their possibilities are. There is no other way to get to that information than to check the tags out and try them for yourself or read up about each one of them. It’s a mammoth job to know everything about WordPress, and I think few people do. However, that shouldn’t stop you from completely immersing yourself into the world of WordPress. It so happens that after the huge success of Techking‘s HTML 5 infographic, they set out on a mission to create one of the most complete (if not THE most complete) WordPress Cheat Sheets you can lay your hands on, and it is completely free. So if you’re a theme creator or a WordPress modifier and blog owner, you can step up your game with this ultimately useful sheet.