Skip to content

Adaptive Web

A web development blog

  • About Me
  • Get In Touch

Author Archives: Roan Bradley

Use acf_form to update custom user fields

Today we are going to show you how to use acf_form to update custom user fields created with Advanced Custom Fields (ACF). We will create some custom fields using ACF then add the fields to a form on the front-end of the website. We will then demonstrate how to add, modify and save the custom […]

Posted byRoan BradleyApril 23, 2019April 23, 2019Posted inACF (Advanced Custom Fields), Wordpress

Add a logout button to a WordPress navigation menu

Today we are going to look at how to add a logout button to a WordPress navigation menu. In fact, we will be showing either a logout or a login button, depending on whether the user is currently logged in. As well as being convenient for all users, this may also be necessary if you […]

Posted byRoan BradleyDecember 7, 2017December 7, 2017Posted inWordpress

Creating pages automatically on plugin activation in WordPress

If you are creating a WordPress plugin, often times you will need to reference a specific page in order to display some kind of data or other information. Although it is possible to manually create pages in WordPress, required by a plugin, creating pages automatically on plugin activation will ensure your plugin works out of […]

Posted byRoan BradleyJune 12, 2017June 13, 2017Posted inWordpress

Handle POST and GET requests in WordPress using admin-post.php

Today we are going to learn how to handle POST and GET requests in WordPress using custom functions and admin-post.php. There are various ways to process and handle POST requests in WordPress. You could use a page template or even a custom script. When using a custom script, you do not have access to WordPress […]

Posted byRoan BradleyJune 7, 2017June 13, 2017Posted inWordpress

Cache busting CSS and JS assets in WordPress

Today we are going to learn about cache busting CSS and JS assets in WordPress the easy way. Have you ever struggled to make sure updated versions of your CSS or JavaScript assets are being sent to users of your WordPress website? One way of solving this problem in the past, was to give each […]

Posted byRoan BradleyJune 7, 2017June 13, 2017Posted inWordpress

Making an AJAX call to a custom WordPress plugin script

Today we are going to learn about making an AJAX call to a custom WordPress plugin. This method will allow you to make a call to your plugin using JavaScript. The call will be processed by a custom PHP function and a response returned. To make AJAX calls to a custom plugin script, that has […]

Posted byRoan BradleyJuly 4, 2016June 13, 2017Posted inWordpress

Sorting WordPress posts using multiple meta keys

Today we are going to learn about sorting WordPress posts using multiple meta keys. The method uses WP_Query and can be used in page templates, shortcodes functions, custom plugin scripts and a variety of other ways. Occasionally it may be necessary to custom order posts using multiple meta keys. This can be achieved using the […]

Posted byRoan BradleyJuly 4, 2016June 13, 2017Posted inWordpress

Displaying custom post types on a WordPress blog page

Today we are going to learn about displaying custom post types on a WordPress blog page using the pre_get_posts hook. If you are using custom post types via a theme or plugin you may want to display one or more custom post types on your site’s blog page. Below I will show you how to […]

Posted byRoan BradleyJune 7, 2016June 13, 2017Posted inWordpress

Hiding the Posts menu in the WordPress admin

Today we are going to learn about hiding the posts menu in the WordPress admin. We will remove the Posts menu item from the main menu, as well as the New Post menu item from the menu bar. If you do not want your admin users to see the menu link to create standard posts, […]

Posted byRoan BradleyJune 7, 2016June 13, 2017Posted inWordpress

Search the site

Recent Posts

  • Use acf_form to update custom user fields
  • Add a logout button to a WordPress navigation menu
  • Creating pages automatically on plugin activation in WordPress
  • Handle POST and GET requests in WordPress using admin-post.php
  • Cache busting CSS and JS assets in WordPress

Archives

  • April 2019 (1)
  • December 2017 (1)
  • June 2017 (3)
  • July 2016 (2)
  • June 2016 (2)

Categories

  • ACF (Advanced Custom Fields) (1)
  • Wordpress (9)
© 2019 Adaptive Web
  • About Me
  • Get In Touch