background preloader

PHP

Facebook Twitter

Just another WordPress weblog. BigFeature is a flexible theme with Content Based Design.

Just another WordPress weblog

CBD is when the articles themselves changes the look of the site, with feature images and big headlines. Another important thing that this theme got that makes it a true CBD is that the rest of the design is simple and clean, with no distracting elements to take away the focus of the content. Adding a lot of space between elements is also essential to move to the next generation of CBD. Read More Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.

Read More The new features and bug fixes to the new releases of BigFeature are listed here. Read More Many questions have been answered multiple times, the solution is a faq. Read More In version 1.1 a cufon uploader was added, and since there have been many questions about this, some documentation on this functionality seemed necessary. Read More In version 1.1 a content slider was added. Read More Read More. How to Build a Custom Wordpress Theme from Scratch. If you’re confident with your CSS and HTML, it’s not hard at all to step up to the challenge of building a custom WordPress theme.

How to Build a Custom Wordpress Theme from Scratch

This overview shows the process of how my latest custom WordPress theme was built from design concept through to completed theme. See how the static design is split up into the various WordPress theme files, and discover how the simple PHP snippets can add that dynamic functionality of a blog. The theme I'm working on is named Sticky. The main feature of the design is its sticky sidebar (hence the name Sticky!)

, which stays in place while the main content scrolls past it. With the post focusing on the production of the theme, I won't go into too many details on how the design was built, but you can see from the Photoshop previews that it uses a 16 column grid with 24px baseline; a fairly muted colour palette of a beige and grey, with a dark red as a highlighting colour for links; typography is set to serif font throughout for that touch of class! Serversidegoogleanalytics - Server Side Google Analytics (PHP) This project isn't activly maintained anymore.

serversidegoogleanalytics - Server Side Google Analytics (PHP)

If you're looking for a more advanced and up to date library, please have a look at the php-ga project from Thomas Bachem: Server Side Google Analytics (SSGA) is a simple PHP 5 class, which allows to track server-side events and data within Google Analytics. Requirements PHP 5.2 or up Zend Framework (only for the http client; can be replaced by curl) Usage Download and include the class in your source files. Create a new instance of the class $ga = new Elements_Tools_Serversideanalytics(); Set your Google Analytics key $ga->setAccountId("UA-1234567-8"); Set your charset $ga->setCharset("UTF-8"); Set your hostname $ga->setHostName("www.example.com"); Set page title $ga->setPageTitle("Test"); Set language $ga->setLanguage("de"); Set a pageview $ga->setPageView("/de/serverside/test"); Set an event (based on $ga->setEvent("Category", "Action", "Label", "Value"); Submit an event $ga->createEvent();

PHP class for posting to Google Analytics Event Tracking.