WordPress: Capturing Post Author Meta

An easy one here from your local Gainesville Web Designer: How to retreive the author information from a post in the WordPress loop. This assumes you’re in the loop, of course.

$meta_field= get_the_author_meta( 'your_meta' );

 

Badda-bing badda-boom. You’re done. It really is that simple. Just use get_the_author_meta, the name of the meta source from the fields control and you have it.

WordPress is a great resource and we use it heavily in our Gainesville Web Design studio. It fits the needs for most projects large and small. This example shows how easy it is to retrieve information from the database in a meaningful way. Using plugins like “types” and “views” we can really ramp up the power on the software and expand its uses to a variety of applications. WP isn’t just for websites anymore, it can be useful in so many ways – we have built job boards with WP, custom application and of course, awesome gainesville web designs.

 

More Web Design Blog Content

Extend Your iPhone or iPad Battery Life

A common problem in todays world – batteries haven’t really kept up with the rest of the tech world and are absolutely the weak link in virtually any modern day tech pack. Things have gotten better over the years. My smartphone lasts about 18 hours depending on usage

New Mobile SIte

Head on over to livewiregeeks on your mobile device It’s our new mobile site based on Chalis iwebapp – a powerful framework that works well across the board. Livewire mobile has everything our main website has but is built for mobile devices. A custom redirect script detects whether a

What’s New: Livewire Seminars

Want to become your own SEO specialist? Need to know how to put your site on page 1 but don’t have the capital to invest hundreds to thousands of dollars in optimization? We can help! Our Search Engine Optimization Seminars will teach you how to become your own

Northwest Seafood has a new website!

Thanks to our killer Gainesville Web Design another Gainesville company has joined the livewire family with a brand new website! It’s wordpress so we can’t take credit for the design in it’s entirety but the layout is great and they’re very happy with the finished product. Their original

Bed Bug Guru Has a New Website

New website up and running. This turned out to be a rush job so it is actually a work in progress. Their business is opening in a few days and they needed something up quickly that was still professional. Glad they called Livewire. We cooked up a great

Jquery Simple Fadeout

A cute little snippet to show a simple green bar upon a successful edit. <?php if(isset($_GET[‘edit’])){ ?> <div id=’notifyy’> Edited Successfully </div>     <script type=”text/javascript”>     $( ‘#notifyy’ ).show(function(){     $(this).fadeOut(5000);     });     </script> <?php } ?> The CSS: #notifyy{width:100%;background:#2f5001;padding:4px 15px;color:#fff;} Always,