Home » PHP » WordPress: Capturing Post Author Meta

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

Theo Has A New Website

Theo’s Lawn Maintenance worked out a sweet deal with Livewire and we’ve been helping them do some of the SEO and web work Their old design was working fine but needed just a little pizazz and a contact form upgrade. We gladly complied and set them up in

Livewire SEO

The most common question we receive following a website launch is, “How can I increase traffic to my website without spending a fortune or buying ads?” Every website we develop for a customer includes what we refer to as “Basic SEO”; this simply means that we will fill

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

Using Zapier and ChatGPT

Here are some powerful and practical Zapier + ChatGPT workflow ideas across a variety of use cases — ideal for small businesses looking to automate content creation, customer service, and lead handling: ✉️ 1. Auto-Reply to Form Submissions with Personalized Emails Trigger: New form submission via Webflow, Typeform,

HotOpponents Hack

We have seen this one a few times coming from WordPress but we have also seen it in Google Analytics code or simply in a header.php file. HotOpponents is a simple redirect script but really digs down and makes roots for itself throughout your website files and database. 

SEO Update: American Metals

Since SEO is our specialty – we know what it takes to put a website on page 1. When American Metals came to us they were back past page 10 for a lot of their keywords and getting about 50 users per month on average on the website.