How can we get custom fields to display shortcode on our pages? I saw this posed on the StudioPress support forums and it's a very good question. The default custom fields meta box provided by WordPress strips out shortcodes from custom field values. This means you cannot, by default, use
Code Snippets
Code snippets for adding styles and extending the functionality of your website.
Merge Multiple Menus into a Single Menu with Genesis
Say your website is using two menus: a header-right menu and a primary menu underneath the header. Everything looks great but when your website is viewed on smaller screens, both menus shrink down into their own, separate mobile-menu, resulting in two different "hamburger" icons, like
Custom Image Slider with Advanced Custom Fields and Slick
To get started with this tutorial, you should be running a copy of Advanced Custom Fields Pro because it includes the Repeater field, which is what we will be using to generate the individual slides. Also, for this tutorial, I will be showing you code that is specific to the Genesis Framework so
Send Gravity Forms File Uploads to Amazon S3
Credit to Donovan Schönknecht for his Amazon S3 PHP class. This snippet will send files uploaded to a Gravity Forms form to your Amazon S3 account. To get started, first download the files. Then, some customization steps are required before use: On line 12, replace access-key-here with the
How to Retrieve the Count of a Mailchimp Email List
Recently, I had an old client of mine get in touch with me to ask if it's possible to display the number of email addresses he had subscribed to his Mailchimp account. He mentioned seeing something like this on other blogs (I think the JetPack email subscription component might have this feature)
Upgrade License Keys with Easy Digital Downloads Software Licensing
This post is deprecated. EDD Software Licensing now supports license upgrades and is built in. Use that instead. Easy Digital Downloads is the #1 ready-made solution available for selling WordPress plugins and themes (and many other types of software and digital products as well). Software
Conditionally Remove Comments & Comment Form in Genesis
These snippets allow you to conditionally remove the comments altogether (and optionally display a message) or remove just the comment form (and optionally display a message). They are specific for use in the Genesis Framework. Conditionally Remove Comments in Genesis Conditionally Remove
Access All Visible and Hidden Post Meta for the Current Post
For the project I'm working on right now, I needed to access some post meta that's considered protected, or private. The difference between private post meta and public post meta is that private meta keys start with an underscore (i.e. _private_meta_key) and do not appear in the custom-fields meta
- « Previous Page
- 1
- 2
- 3
- 4
- 5
- 6
- …
- 10
- Next Page »