Skip to content

Releases: churchthemes/church-theme-framework

2.1

07 Sep 19:27
Compare
Choose a tag to compare
2.1
  • Replace CTFW_EDD_SL_Theme_Updater.php with theme-updater-class.php from Easy Digital Downloads Software Licensing sample theme - this time unmodified
  • Add ctfw_prevent_wporg_theme_update() to prevent updating theme with another having same name on WordPress.org
  • Update wording on update notice
  • Replace instances of 'Church Theme Content' with 'Church Content' - plugin renamed
  • Make date ranges via ctfw_event_data() use abbreviation when asked for - not just single dates
  • Escape admin_url()
  • Update CT Meta Box submodule

2.0

21 Jul 18:06
Compare
Choose a tag to compare
2.0
  • Add ctfw-import-update-settings to update settings after import XML sample content (from sampleuser)
  • Add ctfw-import-delete-wp-widgets to delete three WordPress sample widgets in first widget area before importing .wie with Widget Importer & Exporter
  • Add Attachment, Height, Text Size, Centered and Orientation settings to Sections widget
  • Add Opacity and Brightness settings to Highlight widget (similar to Section widget)
  • Add Image field to CT Giving and posts widgets (CT Posts, Sermons, Events, People, Locations)
  • Change image_opacity default from 10 to 100 for Section widget
  • Add ctfw_abbreviate_date_format() helper function and apply throughout to replace limited hard-coded abbreviation
  • Add body_function argument to ctfw-editor-styles feature - for appending frontend body classes to backend editor
  • Add date_formatted_abbreviated to ctfw_event_calendar_data()
  • Rename ctfw_is_widget_area() to ctfw_is_sidebar() for consistency
  • Make ctfw_is_widget_area() use new ctfw_current_sidebar_id global to work with all widgets and not just framework widgets
  • Add saved_set_current_sidebar_id() and saved_unset_current_sidebar_id() to maintain current sidebar ID in ctfw_current_sidebar global
  • Replace is_page_template with more convenient ctfw_is_page_template
  • Improve ctfw_is_page_template() to work with or without path or extension
  • Track widget position within sidebar, add ctfw_is_first_widget()
  • Add ctfw_is_widget_area()
  • Add ctfw_content_type_by_post_type()
  • Add ctfw_posts_page_url() to get blog URL depending on situation
  • Add ctfw_is_page_template() conditional
  • Add ctfw_current_widget global to widget class for use in get_template_part()
  • Make sermon, posts and people ctfw_get_posts() method arguments filterable
  • Add ctfw_widget_gallery_get_posts_args filter
  • Pass widget instance object to ctfw_widget_*_get_posts_args filters
  • Update CT Meta Box to 2.1
  • Change license string from GPL 2 URL to 'GPLv2 or later' so GPLv3 code can be used - same as WordPress core

1.9.2

03 Mar 18:54
Compare
Choose a tag to compare
  • Remove $value from ctfw_unset_customization() - never used
  • Update CTFW_Customize_Background_Image_Preset_Control to use new WP "Preset" select
  • Add abbreviate_month argument to ctfw_event_data() to replace F with M in date_format setting (e.g. Dec instead of December)
  • Add ctfw-no-loop-multiple class to ctfw_add_body_classes()
  • Add ctfw_has_loop_multiple() to detect pages looping multiple entries (archives, search, etc.)
  • Add ctfw_email() helper to output email mailto link using antispambot() and breaking with before @
  • Add date_format as option for ctfw_post_date()
  • Fix incompatible widget message in newer versions of WordPress by using ctfw_widget_before_fields instead of JavaScript
  • Move margin between first widget field and widget field container to container element to accommodate inserting messages
  • Add actions to widget class for ctfw_widget_before_fields and ctfw_widget_after_fields
  • Replace preg_replace with str_replace in widget class for faster performance
  • Add ctfw-widget-template-no-prefix to load template filename without widget area prefix for cleaner filenames
  • Load widget template for current widget area if exists (e.g. widget-sermons-ctcom-home.php before widget-sermons.php)
  • Improve accuracy of centering on window resize Google Maps

1.9.1

05 Dec 16:52
Compare
Choose a tag to compare
  • Make sure ctfw_init_widget_colorpicker is called with a jQuery object (thanks @mi-roh #13)
  • Add ctfw_hex_to_rgb() helper function
  • Add Brightness setting to Section widget

1.9

03 Nov 20:29
Compare
Choose a tag to compare
1.9
  • Add Video field to CT Section widget
  • Change "Image Opacity" field to "Opacity" now that it applies to images and video
  • Add ability for widget fields to append a Choose/Upload button that inserts media URL
  • Switch widget field type URL to use input type 'url' instead of 'text'

1.8.6

23 Sep 20:09
Compare
Choose a tag to compare
  • Add ctfw-import-set-permalink-structure for setting permalink structure to 'Post name' after import from 'sampleuser'

1.8.5

02 Sep 20:53
Compare
Choose a tag to compare
  • Fix notice to install Church Theme Content plugin to go to search result instead of half-working modal

1.8.4

02 Sep 16:44
Compare
Choose a tag to compare
  • Add support for Polylang to CT Archives widget - ctfw_post_type_get_month_link()

1.8.3

30 Aug 21:27
Compare
Choose a tag to compare
  • Update admin_notices to use new class names, make 'Expiring Soon' a warning and not error
  • Make soundfaith.com embeds responsive

1.8.2

18 Aug 18:37
Compare
Choose a tag to compare

Thank you @andywilkerson for pull request #11

  • Add filters for widget fields so themes can add their own
  • Add color field type for widgets