Read Our Reviews

Bold City Design is rated 5 out of 5.0 stars based on 11 review(s).

---

These guys are full of energy and great ideas.  They are local to the area and have a great reputation but also young enough to bring new technology and fresh ideas.  We had previously been working with another company on website marketing but the relationship had grown stale.  The same thing again and again and the results simply were not there.  Bold City has provided great direction and a new plan that we’re excited to see through.  I would certainly recommend them to others.

- Tess Riley

---

We hired Bold City to handle a marketing campaign for a newly released product we were rolling out.  We searched high and low before making a decision but the reviews & portfolio of Bold City coupled with cost considerations made this decision a no-brainer.  Bold City has been terrific crafting both an organic marketing campaign and PPC campaign to help drive our product sales.  While still in the early stages, we’re already seeing results and are looking forward to 2019!

- Tom Karol

---

Cabe and crew have been nothing but professional and highly organized throughout our entire website design project with them.  They had excellent recommendations in terms of content and flow of our website.  We would definitely recommend them to others.

- Mark Dawson

---

We LOVE Bold City.  If you’ve been searching for a web design company and afraid you’ll choose the wrong one, stop worrying!  You’ve found them.  Just don’t get too busy and forget about us :).

- Haley Walter

---

We’re a Jacksonville based technology company that needed to outsource a WordPress project.  A previous employee we had moved on from the company and we had nobody that understood our internal WordPress system.  Bold City really impressed me by how quickly they were able to pickup where our employee had left off.  They had several recommendations that improved our processes and made the system run better.  They were fair with pricing and will continue to be our go to company for any and all WordPress related questions or work.  Great job guys!

- Bob Turner

---

I’ve been working with Cabe on and off for nearly a decade.  We met on a mutual project and I’ve continued to keep him close due to his understanding of WordPress and ability to handle pretty much anything I throw at him custom development-wise.  Me being based in Canada, we’ve never actually met face to face but his communication skills are hard to find in a developer.  I don’t believe he’s ever missed a deadline and he’s always been willing to work with me to solve complex problems.  I can’t say enough about his ability to organize complex issues down to simple processes.  I’m sure Bold City follows his attention to detail and fulfillment of their promises.  I would recommend them to anybody.

- Kirby Sampson

---

The best of the best.  You’ve earned a client for life.  For anybody else looking, these guys know their stuff. Fast, affordable and understand that times money. 

- James McConnell

---

Can I give them 6 stars?!? These guys rock.  Local St. Augustine company that is always available when you need them.  If you’re looking for a great web design company you’ve just found it!

- Lucy Keller

---

We’re big fans of Bold City and have been since we started our website back in 2014.  Always very easy to get a hold of and give honest answers to our questions.  Fair with pricing and very reliable.  What else could you ask for?

- Mary Acumen

---

We had been with our previous web design company for nearly 5 years.  They were good but we didn’t feel like what they were doing was working.  We decided to make the switch to Bold City and the change of pace has been better than expected.  Great communication and bringing fresh ideas to our business and marketing.  If you’re looking to make change or starting a new business I would highly recommend Bold City.

- Jane Thomas

---

Trust me, your go to guys when it comes to website design.  As a general contractor, I wouldn’t call myself tech savvy.  These guys were efficient at explaining the process and delivered on every promise they made.  They know what their talking about and do great work.  Would recommend them to anybody.

- Greg Rodgers

WordPress REST API – Creating A User With Post Meta (Custom Fields)

WordPress REST API – Creating A User With Post Meta (Custom Fields)

This post was originally created on our sister site WP Cover.
View Original Article
June 6, 2018

This tutorial is Part 2 to my initial post published last week on creating a post using the WP REST API.  If you haven’t ready it first, I would highly suggest you do so or this post will not make sense.

This post will use basically the exact same call as creating a post but with a different endpoint and our body paramters will be different.  Let’s jump in.

Here is how your ‘Do Random Stuff’ plugin code should look:


 

Do Stuff

Click Process button to do whatever is below in your run process.

array( 'Authorization' => 'Basic ' . base64_encode( 'USERNAME:APPLICATION_PASSWORD' ) ), 'body' => array( 'username' => 'testuser', 'first_name' => 'Jane', 'last_name' => 'Doe', 'email' => '[email protected]', 'password' => 'thebestpassword87&*&*^', 'roles' => array('subscriber'), 'meta' => array('user_associated' => 'CNENT') ) ) ); $body = json_decode( $api_response['body'] ); if($body->code == 'existing_user_login') { echo 'A user already exists with this login.'; } else { $userid = $body->id; echo 'The user ID is: ' . $userid; } } ?>

As with our previous tutorial, you’ll want to modify the wp_remote_post URL to match your WordPress Site A address. You’ll also want to swap out the username and application password you created in part one of this tutorial.

Feel free to change any of the user parameters listed in the body as well as add ‘meta’ values. As when we created a post in the first tutorial, these custom user fields should already be created either using a plugin such as Advanced Custom Fields or using native WordPress functions.

Before performing our test, we’ll need to add another function to Site A’s function.php file just as we did when creating a post. This will handle the user meta values that we’re passing. It is:

add_action("rest_insert_user", function (WP_User $user, $request, $creating) {
    $metas = $request->get_param("meta");
    if (is_array($metas)) {
        foreach ($metas as $name => $value) {
            update_user_meta($user->ID, $name, $value);
        }
    }
}, 10, 3);

All Set

Give that bad boy a test and see what happens. If all goes well, you should receive a response along the lines of, The user ID is: (user ID). If you instead receive a response that states, “A user already exists with this login”, it means exactly that. A user already exists on Site A with that login. You’ll need to decide yourself how you wish to handle.

The post WordPress REST API – Creating A User With Post Meta (Custom Fields) appeared first on WP Cover.

Share Your Thoughts

FREE: 10 Step Guide To Choosing A Web Design Company

FREE: 10 Step Guide To Choosing A Web Design Company

Download your free e-book. Learn the questions you should be asking prior to partnering with a web design company. Enter your email address and we'll send it to you right away!

We've sent the e-book to your email address!