How to add contents of a custom field to a taxonomy term list?

Replace the_field with get_field. The former echoes data without the need to explicitly call echo on the function name, the latter returns data, which is what you need when storing data against a variable for later use in your function. In your case, concatenating the first/last name prior to its output. That should fix your … Read more

Include Post Format in permalink

While researching this topic myself, I found a plugin called Post Format Permalink. However, this plugin is not compatible with recent versions of WordPress; it is also filled with unnecessary code. I forked the plugin’s repository on GitHub, and improved the code greatly. I can now use a %post_format% tag in my permalink structure, and … Read more

Can I move to wordpress.org and continue to be included as a wordpress.com favorite blog?

You can try by connecting your self-hosted WordPress.org blog to the WordPress.com network using the Jetpack plugin. If that doesn’t work, hosting with WordPress.com VIP definitely will. Your site is still hosted on the WordPress.com network, only you have full access to it, just as if your were hosting on a different web host. It’s … Read more

Date calculations from 2 custom fields

I don’t know how much this will help, but when I’ve done date/time comparisons, I’ve always had to convert them to UNIX timestamps first (converts the date/time to a numeral, which you can compare as less than/greater than/equal to the next number), and then after the difference is sorted, convert it back with date(). A … Read more

Make metabox of custom post type fully autosave- and bulk-/quick-edit compatible

WordPress does not send the content of custom fields during autosave (just title, slug and content). That’s why the custom field content will be deleted if you try to save the data: You cannot see the difference between deleted and missing content. I would create a separate autosave function for that, because the way WordPress … Read more

Apply permissions per post

If you look at WordPress’s explanation of Roles and Capabilities, you will see that the correct role you should have assigned them is Author. That being said, if you for some reason don’t want to change them to Authors, you can alter the capabilities that a role has. See the full list of Editor capabilities … Read more