Skip to content

Releases: timber/timber

Dates and loading options

13 May 12:49
Compare
Choose a tag to compare
  • Dates now use date_i18n filter (thanks @aMoniker)
  • The twig |date filter now defaults to your WP Admin settings (thanks @aMoniker)
  • You can send Timber::$dirname an array to specify multiple locations of twig files within a theme
  • Load views from anywhere on the server (thanks @th3fallen)
  • Load twig files from anywhere on the server using an absolute path
  • Use another version of Twig if you have it loaded (thanks @michaelbutler)
  • more tests!

Image, Transient and Helper improvements

02 May 05:35
Compare
Choose a tag to compare
  • BREAKING CHANGE ALERT wp_title no longer appends bloginfo('name') to end of string (thanks @aduth)
  • BREAKING CHANGE ALERT get_preview now respects tag (thanks @jnweaver)
  • TimberHelper::transient is more reliable (thanks @mgmartel)
  • Secure urls in TimberImage if current page is served over SSL (thanks @mgmartel)
  • Re-wrote most of letterboxing functionality
  • Re-organized Helper functions

Misc improvements to images, router and other bugs

25 Mar 19:59
Compare
Choose a tag to compare
  • TimberPost::children() now sorts by menu_order, title as WordPress core does (thanks @aduth)
  • Fixed an occaisonal warning (thanks @matthewsoares)
  • TimberImage::alt() now returns your image's alt tag info from WordPress (thanks @jnweaver)
  • In the router, non-404 headers are forced asap (thanks @mgmartel)
  • Router now accepts + signs in paths

Crop control when resizing

13 Mar 22:00
Compare
Choose a tag to compare

0.16.8

19 Feb 22:22
Compare
Choose a tag to compare
  • You can now retrieve prev/next posts within the same category (post.next('category').title, etc.). (thanks @slimndap)
  • Fixed issue with letterboxing images when WP is installed in a subdirectory ( @wesrice)
  • Fix for images stored inside custom content path (@mmikkel)
  • Cleaned-up some things in Timber Starter theme (@southernfriedbb, @jarednova)

0.16.6

15 Jan 18:37
Compare
Choose a tag to compare
  • Router plays nice with installs in subdirectories (thanks @TerminalPixel)
  • ACF Timber now initializes on Init (thanks @zerek)
  • Composer is updated (thanks @Rarst)
  • $autoescape bug fixed (thanks @parisholley)
  • You can now select a term ID from a specific taxonomy (thanks @mgmartel)
  • added stripshortcodes filter
  • TimberMenuItems now have is_external method
  • Other misc bugs

print_a and bug fix

04 Jan 20:54
Compare
Choose a tag to compare
  • Fixed a bug in TimberPost::content() that was generating a warning
  • Restoring print_a filter, which prints out both the properties (like print_r) and values for public methods that don't require arguments

More Misc Bugs, Post Pagination

03 Jan 21:53
Compare
Choose a tag to compare
  • Fixed get_widgets outputting a "1" (thanks @mcat and others)
  • Fixed a few things flagged on image handling
  • Updated to Twig 1.15 (thanks @fabpot)
  • Added wp_link_pages as TimberPost::pagination
  • New filter to help with template selection (thanks @zlove)

Misc fixes, width/height for images

26 Dec 14:19
Compare
Choose a tag to compare
  • Added width, height and aspect methods for TimberImages
  • Timber::pagination can now accept a single integer as the overall "size" argument (for the total number of pages that get shown)
  • TimberPost->class (usage: <article class="{{post.class}}">) will now show you the products of post_class
  • Sanity checks for ACF (thanks @parisholley)
  • Fixed bug in TimberPost::prev and TimberPost::next that could return draft posts (thanks @slimndap)
  • Fixed bug with extra ellipsis in some previews (thanks @parisholley)

0.16.2

11 Dec 16:08
Compare
Choose a tag to compare
  • Added has_term to TimberPost
  • Extra checks to make sure redirected links don't get 404 body class
  • Misc bugs