Deconstructing the ACF Image Field

Posted by April Sadowski and filed under Blog, Tips & Tricks, WordPress

ACF (Advanced Custom Fields) allows users to use an ID, array, or URL for images. Once the field is set up in ACF, it’s up to you to get it to work correctly in your template/theme. This is known as the “return value” in ACF. You would write this (changing the get_field(‘image’) to get_field(‘your_field_name’):

Read more

Post Control/Revisions

Posted by April Sadowski and filed under Blog, Tips & Tricks, WordPress

WordPress has a nasty habit of keeping a cluttered mess of post revisions. There is a nice little snippet of code you can add to your wp-config file to limit how many are keeping house in your database: [code xclass=”prettyprint”]define( ‘WP_POST_REVISIONS’, 3 );[/code] You can also remove post revisions completely with this snippet: [code xclass=”prettyprint”]define(‘WP_POST_REVISIONS’, […]

Read more

Bootstrap Tabs and WooCommerce

Posted by April Sadowski and filed under Blog, Tips & Tricks, WordPress

I’m working on a site that uses Bootstrap and needs WooCommerce implemented with it. While styling the tabs wasn’t a requirement, I decided to adjust the output so it would render with the Bootstrap tab engine rather than WooCommerce. I could also make the styling uniform with the rest of the site without any bloated […]

Read more