Connect with us

Themes

Add additional meta boxes to Hybrid Theme

Published

on

At the time of writing this post I have Theme Hybrid as my parent theme, and am using a custom version of Hybrid News that Justin Tadlock offers to the public.

Well I want to tell you how you can add additional custom meta boxes to your child theme’s running the Hybrid Theme.

In your child function.php file just add the following to create a new post meta box:

/**
* Add additional post meta boxes
*
* by WPCult
*/
function wpcult_post_meta_boxes($meta_boxes) {
	$meta_boxes['image'] = array(
		'name' => 'image',
		'default' => '',
		'title' => __('Image:'),
		'type' => 'text',
		'show_description' => false,
		'description' => __('Please use a full size image, larger than 500px (this photo will dynamically re-size itself!'),
	);
	return $meta_boxes;
}
add_filter('hybrid_post_meta_boxes', 'wpcult_post_meta_boxes');

This will create a custom meta box called Image, and will create a custom field with the id of image.

Additionally you can create this on pages as well by copy/paste and replacing “post_meta_box” with “page_meta_box” every where inside the function.

Continue Reading
7 Comments

7 Comments

  1. Septian

    March 28, 2009 at 6:16 am

    Nice hack Frosty, it works… 😀 btw, what’s the purpose of this new meta box?
    As far as I know, image function meta box already added (Thumbnail and Medium) right?

    Septian´s last blog post..iPhone 3G now available on Indonesia: Good or Bad News?

    • Austin

      March 28, 2009 at 2:12 pm

      I use it to generate dynamic resized images with a image php file I’ve got. Think if you need to add a simple meta box to add to custom fields.

  2. Miccky

    April 8, 2009 at 4:15 pm

    Hi!
    I like this theme.But I don’t know how to use it ,can you give me some help?
    micckysun@gmail.com
    I am from China , English is not so good !

    • Austin

      April 10, 2009 at 11:53 am

      Please feel free to use my contact form for some more help.
      Alternatvily you can contact me at austin [at] frostywebdesigns.com and I can contract some work for you.
      🙂

  3. Searcher

    May 21, 2009 at 12:55 am

    Hi Austin. I find this code very usefull for me. Can ask you in future to create something for me especially and for my need. It will be paid of course.

    • Austin

      May 21, 2009 at 7:45 am

      Absolutely, feel free to send me and email through the contact form, or through my portfolio site.

  4. shawn

    October 22, 2009 at 7:02 pm

    Using Hybrid on a site, and fairly a newbie overall at WP, but having a helluva time locating wp_list_pages to modify the header.

    Can you tell me where its located?
    .-= shawn´s last blog ..My new site! =-.

You must be logged in to post a comment Login

Leave a Reply

News

The release of Galleria, a gallery child theme of Hybrid

As the WordPress community grows, so does the amount of available themes. Galleria is a gallery-style child theme for WordPress built on the Hybird theme framework. Originally, this theme was created by Chirs Wallace for the Thematic theme framework and released at Smashing Magazine.

Published

on

So I am excited to announce another theme release from WPCult and Frosty Web Designs. A few days back, I came across this post at Smashing Magazine.

Just recently we asked you to let us know what theme you would like us to release next. Among numerous comments we found many request for a gallery-theme that could be particularly useful for portfolios and showcases. At the very same time Christopher Wallace has been designing an advanced gallery-WordPress-theme for the design community and Smashing Magazine’s audience. And today finally we are proud to release it – for free, of course.

Well, I liked this theme, and while I am a big fan of the Thematic theme, I know there are many out there who love Hybrid. Hybrid is Justin Tadlocks theme framework, which can be downloaded for free at http://themehybrid.com/themes/hybrid.

Just an FYI, this site is running hybrid as a parent theme. 🙂

So…

I contacted Chris and told him of this theme port I would be doing. After a few days of modifications, bug fixes, and styling, the theme is ready for public release.

While Galleria shares a few qualities with his sibling, the differences are notable in the style, color, and layout throughout the theme, including the theme options.

More info

For more info and documentation, refer to the readme.html file included in the download or visit the Galleria theme page.

Some features

  • dynamic image re-size on a single page.
  • WordPress 2.7 compatible
  • Built on the Hybrid framework
  • jQuery hover effects
  • jQuery scrolling effects.
  • ‘Save to Delicious’ link
  • ‘Tweet This’ link
  • Flexible footer widget area

Download [download#5#format=2]

Continue Reading

Child

New theme release: CULT[i]VATE

Doing theme modification and even custom template files has brought me to this point. Today I’ve created my first premium theme, and since I am a huge fan of Hybrid, I decided that a child theme would be an appropriate starting point.

Published

on

So after some time playing with many options and idea’s I’ve finally released a premium theme. This theme, which I am calling CULT[i]VATE is a child theme.

Unfamiliar with child themes? You may want to check out this post Ian Stewart wrote.

CULT[i]VATE is a child theme of the Hybrid:

Hybrid is a user-friendly, search-engine optimized theme framework, featuring 14 custom page templates and 9 widget-ready areas, allowing you to create any type of site you want.

CULT[i]VATE includes four new widget-ready area’s and one custom accordion widget for one of the area’s. It also includes two front page templates.

This theme is for sale for $12.00 which you can purchase here. Looking for a demo?

[wp_eStore:product_id:1:end]

Continue Reading

News

WordCult Theme release 0.3

Published

on

I’ve had some time the last few days while my XPS computer has been having difficulties and the Dell replacement parts didn’t fix, what I know now to be a faulty LCD screen.

So I’ve made a few updates and changes to my WordCult theme. The new version is: 0.3.

Download it:

[download#3#format=1]

 

Update for 0.3:

A lot of changes to the core files, many files have been changed, removed and moved. So please if upgrading, backup your database. The core folder has been changed from wordcult2 to wordcult so you may want to just upload it as another theme and activate it.

For any other changes please view the changelog or view the readme file.
If you’ve noticed any issues please contact me or leave a comment.

 

Update for 0.3.0.1:

This was fast.. I forgot to add a function to my sub_page_menu :).

 

Update for 0.3.1.1:

Crucial update! Fixes an spelling error in the metaboxes.php file, which could pose an issue with your custom fields like the “image” dynamic resizer.

 

Continue Reading

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Candy Ken Net Worth: How Rich is the Rapper from Austria?

Candy Ken Net Worth: How Rich is the Rapper from Austria?

Candy Ken Jakob Kasimir Hellrigl known by his stage name as Candy Ken is an Austrian rapper, model, and TikToker. Ken is best known for his masculine appearance with feminine pop culture. As of May 2020, Candy Ken’s net worth is estimated to be $2 million. Jakob was born on July 27, 1992, (Leo) in […]

Flipp Dinero Net Worth: How Rich is the Rapper Actually?

Flipp Dinero Net Worth: How Rich is the Rapper Actually?

Christopher Saint Victor, who is better known by his stage name as Flipp Dinero, is an American rapper and songwriter. He became viral after Odell Beckham, the football player posted a video of him dancing to his song called “Leave Me Alone”. As a result, the song would peak at number 20 in the Billboard […]

Tony Beets Net Worth: How Rich is the Gold Miner Actually?

Tony Beets Net Worth: How Rich is the Gold Miner Actually?

Tony Beets is a Gold Miner and one of the most popular cast members on the reality series Gold Rush which airs on Discovery. He is known to be one of the biggest gold miners in Canada and owns the Tamarack Mine and Paradise Hills. As of 2019, Tony Beets net worth is estimated to […]

Robert Herjavec Net Worth

Robert Herjavec Net Worth

Robert Herjavec Net Worth.   Of all the famous global entrepreneurs, Robert Herjavec’s name tops the list. He is a Canadian investor, businessman, tv personality, author, and publisher. He founded a Canadian integrator of Internet security software, called the BARK systems, and sold it to AT&T Canada, now called Allstream Inc in the year 2000 […]

Trending