Posts tagged wordpress theme

AddHooks

AddHooks is one of my volatile idea when creating a wordpress theme.

Just like its name, it add the content from functions.php files to the hook assigned to it.
This will make the template files look clean and neat, but will make the functions.php rather messy.

The concept is to store the desired html or php code in a functions.

For example, this is my header.php codes when using AddHooks concept.

<?php
/**
* @package Add Hooks
* @since version 0.1
* @WordPress 2.7.1
* @Pangeran Wiguan
* @WPThemestudio.com
*/
addhooks_header_opening(); ?>
<?php google_custom_search_stylesheet(); ?>
<?php wp_head(); ?>
<?php addhooks_header_closing(); ?>
<body>
<div id=”main-container”><?php // Start of main-container at header.php and end at footer.php ?>
<div id=”header”>
<div id=”bloginfo-container”>
<div id=”bloginfo”>
<?php addhooks_header_info(); ?>
</div>
<div id=”top-banner”>
<?php addhooks_top_banner(); ?>
</div>
</div>
<div id=”main-navigation”>
<?php addhooks_main_navigation(); ?>
<div id=”search_box”>
<?php addhooks_searchform(); ?>
</div>
</div>
</div>
<div id=”categories-menu”>
<?php addhooks_categories_menu(); ?>
</div>

<?php
/**
* @package Add Hooks
* @since version 0.1
* @WordPress 2.7.1
* @Pangeran Wiguan
* @WPThemestudio.com
*/

addhooks_header_opening(); ?>

<?php google_custom_search_stylesheet(); ?>

<?php wp_head(); ?>

<?php addhooks_header_closing(); ?>

<<body>

The <?php addhooks_header_opening(); ?> calls a function which stored in a functions.php where the function will look like below.

<?php
/**
* @package Add Hooks
* @since version 0.1
* @WordPress 2.7.1
* @Pangeran Wiguan
* @WPThemestudio.com
*/

function addhooks_header_opening() { ?>

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd“>

<!– //

The rest of the code… too long to put it here

// –>

<?php } ?>

Well, it’s just a concept…

A concept theme that have come into reality, you can see it on my personal blog, live and running.

AddHooks

AddHooks

Click the image to navigate to see the live preview.

This is a real running blog actually.

WPThemestudio

WPThemestudio is the first wordpress theme developed by WPThemestudio.com

Yes.  It was named before this website domain name. ;-)

I am developing this theme with a “recycle able theme” in mind.
Meaning I can use it over and over again without building a new theme from scratch!

Fortunately, this theme was built since WordPress 2.7 where the usage of child theme is already stable.
Hence, I have no idea but I’m quite sure that this theme won’t work for WordPress below version 2.7

For those who’s interested in developing or tweaking a this theme, you can see the guide from the link below.

WPThemestudio Developer Guide

 

More >

WordPressTube

This wordpress theme is my old works.  I am not sure if this copy is finished!

But in my post at Free Premium WordPress Theme – WordPress Tube , we have such a HOT DEMAND for this theme.

I get around 100 unique visits per day to that page above and dissapointing the readers…

:-(

I want to apologize to all hence, here it is.

WordPress Tube Version 1.0
WordPress Tube Version 1.0
192.94 KB 928 downloads already.

Usage guide, you can read it from Free Premium WordPress Theme – WordPress Tube .

All the best!

p/s: This is not my blog, but he manage to make a beautiful vlog from this theme. http://animethemesong.com/

To Do List Before WPThemestudio Version 0.1

As it would be my first theme for this site, hence I change my mind and renaming plugedit to wpthemestudio for branding sake.

This is my to do list to keep myself remind about what I have to do.

More >

NEW WORDPRESS THEME

This is the new theme.
Clean design, cool and elegant. (In my eyes… :mrgreen:  )

This is the new theme that I’m working on from yesterday.

It use CSS3 for the rounded corner, hence if you on older browser you will see a square border. :wink:

More >

Theme Constuction Delayed.

 

Martian Rover

Martian Rover

I was deserted.  Just like the martian rover/probs above. Can’t move, immobile, stuck.

More >