Tag Archives: Thematic

Thematic Framework: Remove a Thematic action

http://themeshaper.com/guide-customizing-thematic-theme-framework/ ======================================= Here’s the code to put inside your child theme’s function.php: // Remove default Thematic actions function remove_thematic_actions() { remove_action(‘thematic_hookname’,’thematic_actionname’,optionalpostitionnumber); } add_action(‘init’,’remove_thematic_actions’); Advertisements

WordPress: create a page template that displays posts from a category that has the same name as the page.

Question: How to create a page template that displays all the posts from a category that has the same name as the page itself? Answer: Here’s the code: <?php /* Template Name: ListPostsInCategoryThatHasSameNameAsPage */ ?> <?php get_header(); ?> <div id=”content”> <div id=”main”> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> […]

Custom style sheet and templates for NextGen Gallery (with special instructions for child themes)

NextGen Gallery is a great plugin for your WordPress site’s galleries. But often you would like to customize its look to suit your needs. Here’s how: Create custom template files for NextGen Gallery: Custom templates are PHP files that can be stored in the folder /nggallery/, which you can create inside your theme directory. NextGEN […]

Thematic: custom div.access and resize Search field’s <input> size

View example: http://hollanderyorkgallery.com/ <?php // Create a custom access div with the menu and search box function HYG_access() { ?> <div id=”search_box”> <form id=”searchform” method=”get” action=”<?php bloginfo(‘home’) ?>”> <div> <input id=”s” name=”s” type=”text” value=”<?php echo wp_specialchars(stripslashes($_GET[‘s’]), true) ?>” size=”22″ tabindex=”1″ /> <input id=”searchsubmit” name=”searchsubmit” type=”submit” value=”<?php _e(‘Search’, ‘thematic’) ?>” tabindex=”2″ /> </div> </form> </div><!–search_box–> <div id=”access”> […]

Thematic: custom footer text

/* footer text set in Theme options in Dashboard\Appearance */ View example: http://hollanderyorkgallery.com/

Thematic: add a custom header

View example: http://hollanderyorkgallery.com/ The code: <?php //Create a new header function HYG_header() { ?> <p><?php bloginfo(‘name’) ?></p> <a href=”<?php bloginfo(‘url’) ?>/home/” title=”<?php bloginfo(‘name’) ?>” rel=”home”><img id=”logo” SRC=”<?php bloginfo(‘stylesheet_directory’); ?>/images/hyg_ident-3Da.gif” onMouseOver=”this.src = ‘<?php bloginfo(‘stylesheet_directory’); ?>/images/hyg_ident-3Db.gif’;” onMouseOut=”this.src = ‘<?php bloginfo(‘stylesheet_directory’); ?>/images/hyg_ident-3Da.gif’;”></a> <img id=”header_text” SRC=”<?php bloginfo(‘stylesheet_directory’); ?>/images/header_text.gif”> <?php } add_action(‘thematic_header’,’HYG_header’,1); ?> ============================= http://a.parsons.edu/~zeravivm/f09/osd/12/14/adding-a-header-to-your-thematic-child-theme/

Thematic framework: How to move main navigation out of header, into div “main”

http://themeshaper.com/forums/topic/how-to-move-navigation-with-v09 ============================== In childtheme’s functions.php: <?php // Remove default Thematic actions function remove_thematic_actions() { remove_action(‘thematic_header’,’thematic_access’,9); } add_action(‘init’,’remove_thematic_actions’); add_action(‘thematic_abovemainasides’,’thematic_access’,9); ?>

Thematic Page Structure

This is an outline of major elements on a thematic page. It includes most div elements, theme actions and hooks, and widget areas. http://bluemandala.com/thematic/thematic-structure.html