Genesis Custom Widget Post Titles

First, let me say that the Genesis Featured Posts widget is a wonderfully easy way to easily add customized content to a widgeted area. And, Nick’s Genesis Featured Widget Amplified extends functionality greatly, including the option to automatically shorten post titles to a specific number of characters. However, sometimes shortening post titles automatically can result in words less meaningful than you would like. The following functions allow you to limit the post title length on a widget to widget basis, but replace the title with a custom field. To use these, you simply need to create a post with a custom field calledchild_home_title and then put anything other than 0 in the title character limit field of the widget.

You should add this anywhere after this line: require_once(TEMPLATEPATH.'/lib/init.php'); but before the final ?> tag at the end of the file.

About Jennifer Baumann

I am an avid horseback rider, animal lover, and freelance designer. I love working with WordPress and Genesis and work for Copyblogger Media as a Technical Support Advocate.

Dream Whisper Designs is Powered by Genesis

Genesis empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. It's that simple - start using Genesis now!

Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.

What do you envision for your site? I'm excited about every project I work on and review every request on an individual basis. Let me know your thoughts and ideas by filling out a Project Information Questionnaire.

Stay in Touch

Subscribe to our Newsletter

Testimonials

Jen was able to take what I started in WordPress, as a novice, and bring it to a professional level. Her suggestions for tweaking my logo made for a much stronger graphic image and brand identity for … { more }