Tagged: wordpress

0

Enqueue wordpress styles and scripts without worrying about browser cache

 

Advanced Custom Fields: update_field not working? 0

Advanced Custom Fields: update_field not working?

It does work. If you’re building a wordpress function that programmatically creates or updates posts while using update_field() you may notice that to retrieve that data elsewhere using the get_fields() function it turns up a blank....

WordPress: Passing variables to get_template_part 0

WordPress: Passing variables to get_template_part

I had an issue with a project that needed a simple way to carry variables over to small templates which would make life much easier. I found this solution, I thought i’d expand on...

WordPress external pages false 404 headers fix and page title fix 2

WordPress external pages false 404 headers fix and page title fix

When creating external pages but require wordpress hooks and theme functions, the WordPress theme development site tells us to do the following in the header of the external page. define(‘WP_USE_THEMES’, false); require(‘../wp-blog-header.php’);   However...