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

Tyler Brash Height, Age, Wiki, Bio, Net Worth & More

Tyler Brash Height, Age, Wiki, Bio, Net Worth & More

Tyler Brash is an American Internet personality who is gaining huge fame very fast in the lip-syncing app called Tik Tok. He is a rising star who has been able to gain a massive amount of followers in just a short period of time. Tyler was born on December 22, 1999, in the United States […]

Ceaser Emanuel Net Worth: How Rich is Black Ink Crew Star?

Ceaser Emanuel Net Worth: How Rich is Black Ink Crew Star?

David Emmanuel, who is better known as Ceaser Emmanuel, is the CEO of the tattoo shop franchise called Black Ink Crew. The show also has a reality television series of the same name on VH1 which has operated for a total of 8 seasons so far. As of 2019, Ceaser Emanuel net worth is estimated […]

Bernie Sanders net worth 2020.

Bernie Sanders net worth 2020.

Bernie Sanders net worth Introduction Bernie Sanders is an American politician who, since 2007, has been a junior U.S. senator from Vermont and U.S. One of the wealthiest guys to enter the potential presidential election of 2020 is Senator Bernie Sanders. Because of the intense emphasis of the political bourgeois on the role of ‘millionaires […]

Leah Messer Net Worth: How Rich is the Teem Mom Star Actually?

Leah Messer Net Worth: How Rich is the Teem Mom Star Actually?

Leah Messer is a television personality who is best known for being a part of the cast of the hit reality television show called Teen Mom 2. As of 2019, Leah Messer net worth is estimated to be $80,000. Messer grew up as a country girl from a small town called Elkview, West Virginia. She […]

Trending