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

Javascript called by PHP

Interesting little snippet. What is going on here? Livewire gives you the low down.    if($num_rowvs == 0){ echo ‘<script>// <![CDATA[ alert(“This is an alert message. I’m alerting you that you are totally awesome!”); // ]]></script>’; }   First, we’re creating a simple if statement in PHP.  Not entirely

Google Removing Anonymous Reviews

So it appears, as far as Search Engine Journal is reporting, that Google is removing anonymous reviews. And, honestly, why wouldn’t they? If you’re going to write a review you should have the guts to state your first name … or take the time to create a fake

Pretty Awesome Image Packages

Nowadays, it’s just best to buy your images. As Gainesville Web Design experts, we purchase them almost on a daily basis. There are always projects that require different photos, icons or footage. Generally people purchase credits and then use those to buy images – kind of like an

What’s Worse?

What’s worse than these dang North Florida love bugs? Having a poor website, for one. A website should be like the dream employee . It should never call in sick, treat your customers properly and get them the information and the attention the require each and every time.