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.

Themes

Mimbo 3.0

Published

on

I was just looking around and saw that Darren Hoyt has released Mimbo 3.0. If your looking for a nice free theme, head over to Darren’s site.

You can also use this link to see a live demo.

Continue Reading

Premium

Revolution Two: TV Theme

Published

on

Benefits include the TV theme, unlimited theme support answered by our experts, customization techniques with our detailed theme tutorials and professional design services available by our list of recommended designers.

Revolution 2: TV Theme

Price:

Single License: $59.95 Buy Now!
Pro Plus All-Theme Package: $199.95 Buy Now!

Continue Reading

Premium

Revolution Two: Church Theme

Published

on

Benefits include the Church theme, unlimited theme support answered by our experts, customization techniques with our detailed theme tutorials and professional design services available by our list of recommended designers.

Revolution 2: Church Theme

Price:

Single License: $59.95 Buy Now!
Pro Plus All-Theme Package: $199.95 Buy Now!

Continue Reading

Random Search Terms

Title

Recent Posts: Fully Net Worth . com

Daequan Loco Net Worth: How Rich is the Streamer Actually?

Daequan Loco Net Worth: How Rich is the Streamer Actually?

Daequan Loco is an American Twitch streamer as well as a Youtuber. Through his expertise in playing the game Fortnite, Loco has been able to establish a large following on Twitch with him currently having over 3.7 million followers on the platform. Moreover, he also plays the games Battlefield V, Maplestory 2, Earthfall, Overwatch, Outlast, […]

Lil Uzi Vert Net Worth: Know Everything About Him.

Lil Uzi Vert Net Worth: Know Everything About Him.

Lil Uzi Vert Net Worth: Know Everything About Him. If you are into hardcore rapping, then you must have heard about Lil Uzi Vert. He is an American rapper and songwriter who rose to fame after his hit single ‘Bad and Boujee’ that ranked number 1 on the US Billboard Hot 100. Lil Uzi was […]

Russell Brunson net worth

Russell Brunson net worth

Russell Brunson net worth Introduction Russell is an autonomous businessman, a digital market pioneer, an author, mentor, and motivational speaker. Throughout his several years of career in numerous internet marketing services, he has earned a chance and has influenced millions. He has created the idea of selling in a software project named ClickFunnels through a […]

Nick Austin (Tik Tok) Height, Age, Wiki, Bio, Net Worth & More

Nick Austin (Tik Tok) Height, Age, Wiki, Bio, Net Worth & More

Nick Austin is an American social media star who is mainly popular on lip-syncing app Tik Tok. Within a short space of time, Austin has been able to gather a huge amount of fanbase on the platform. Austin was born on July 1, 2000, in the United States which makes him currently 19 years of […]

Trending