Blog

Wed, 01/02/2019 - 15:39 by Chris Burge
This custom WordPress function allows a developer to specify which image sizes to use when rendering the 'srcset' attribute, something that WordPress doesn't allow when using its built-in functions.
Sun, 07/29/2018 - 14:31 by Chris Burge
Cookies can be accessed with Token in Drupal 7 by creating a custom token
Fri, 06/29/2018 - 16:14 by Chris Burge
Adding attributes to Views tables in Drupal 8 requires adding a template theme function and modifying a twig template.
Tue, 11/14/2017 - 10:58 by Chris Burge
Advanced Custom Fields provide two functions to render a field’s value: get_field() and the_field(). Neither function sanitizes user input before output, which results in a critical security vulnerability.
Sat, 02/04/2017 - 11:56 by Chris Burge
Currently in Drupal 7, it's not possible to prepopulate an exposed Views filter from a URI - at least in the UI. It is possible, but you'll need to use hook_views_pre_build().

Pages

Subscribe to Blog