Code, Plugins

Get object IDs per post for the WooCommerce Memberships plugin

The function below will show you how to get the page/post IDs or taxonomy term IDs for restricted content for chosen WooCommerce Memberships levels which have been assigned to a post or page.

Recently I needed to get each restricted category ID for the WooCommerce memberships plan associated with a particular page. Unfortunately that function doesn’t exists in the plugins helper functions. With a little digging we came up with a good solution that will return the object IDs for either a 'post_type' or a 'taxonomy' object which has been content restricted.

This is useful if you are trying to query those associated posts or categories from a particular post or page. You may even want to link an associated page or category. Using the IDs you can easily use a common WordPress function to do so. The page/posts or taxonomy term ID’s will be returned in an array.

Continue Reading …

Content

WordPress Resources for Businesses and Site Owners

Every business that uses or intends to use WordPress faces common obstacles. These may include finding qualified developers to build a theme, finding particular plugins to achieve a task or not knowing where to find help online to fix an issue.

Below I have added helpful WordPress resources where you can find solid answers and help from the WordPress community. You can skip to the topic below:

  1. Themes
  2. Page builder Plugins
  3. Finding the right WordPress plugin
  4. Managed WordPress Hosting
  5. WordPress Support Services
  6. Maintaining Multiple WordPress installs
  7. Learning WordPress
  8. Staying Connected in the WordPress Community
  9. Turnkey WordPress site solutions

You can also watch my WordCamp presentation where I go over many of the resources listed in this post:

Continue Reading …

Plugins, Themes

WordPress Plugin Integration with Custom Theme Development

(Warning: this article contains heavy usage of the word “custom”, and it may or may not be surrounded in quotations)

I just built a custom WordPress theme that relies heavily on the Advanced Custom Fields (ACF) plugin. This is the first time I’ve ever done this, and I was reluctant to do so. I didn’t want to have a theme hinged upon this one plugin.

But it doesn’t have to be …

Continue Reading …