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

Think outside the box

Start to think outside the box. UnBox is a new WordPress theme for the willing. Using jQuery in fluidity.

Published

on

Officially released today, this theme is a custom WordPress theme for those who want something different.

Built with loads a jQuery tricks and features. This theme is available for purchase. And dhould be up on ThemeForest as soon as they process the files.

For now, you can check out the working demo, and if you like the theme, use this link to [wp_eStore_buy_now:product_id:2:end].

[wp_eStore:product_id:2:end].

Continue Reading

Themes

Ben Dunkle on designing icons for WordPress [video]

I know many people attendedWordCamp 2009, in fact I believe there were 700 plus attendees. Well not every one showed up at the development day which was held at the Automattic office on pier 38.

WordCamp Development day was a BarCamp style event, and I was able to record a couple of the conversations. Here is a recording from Ben Dunkle (designer of the WordPress admin icons in 2.7+)

Published

on

The first video uploaded to you tube that was approved, Ben Dunkle, designer of the admin icons you see on your WordPress install.

Links:

Continue Reading

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

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Brandi Redmond Net Worth: How Rich is Brandi Redmond Actually?

Brandi Redmond Net Worth: How Rich is Brandi Redmond Actually?

Brandi Redmond is an American reality television star best known for being a cast member of the show ‘The Real Housewives of Dallas’. As of 2019, Brandi Redmond net worth is estimated to be $4 million. Brandi was born on July 10, 1978, which makes her currently 41 years of age. She was born and […]

Matt Higgins Net Worth: 5 Interesting Facts You Should Know

Matt Higgins Net Worth: 5 Interesting Facts You Should Know

Matt Higgins is a celebrated man, who came from the downsides of life to the upper echelons of the world. An investor, businessman, innovator, top executive, and business advisor. Although he had a hard early life at the beginning, he never let background shackles deter him as he steadily moved his way to success. He’s […]

Dorian Rossini Net Worth: How Rich is Dorian Rossini Actually?

Dorian Rossini Net Worth: How Rich is Dorian Rossini Actually?

Dorian Rossini is a singer and an internet personality. He is best known for being a viral sensation on the internet for the controversy of taking Selfies with him. One moment in an interview would roar the internet on fire as the incident made him famous almost overnight. As of 2019, Dorian Rossini’s net worth […]

9lokkNine Net Worth: How Rich is the Rapper Actually?

9lokkNine Net Worth: How Rich is the Rapper Actually?

Jacquavius Dennard Smith, who is better known by his stage name as 9lokkNine, is an American rapper. He is best known for his hit songs such as “10 Percent” and a collaboration on a song called “223s” with the controversial rapper named YNW Melly which was an even bigger hit. The latter one was able […]

Trending