Commit Graph

1528 Commits

Author SHA1 Message Date
IanDelMar 5ea71dac54
Adjust byline for hidden date case
Switch from 'by author' to 'Posted by author' if 'Posted on ...' is hidden via filter.
2018-09-19 08:30:42 +02:00
IanDelMar ed0067a12f
Add missing space
Add missing space between 'by' and author name.
2018-09-19 08:10:27 +02:00
IanDelMar eaacf2f606
Add filters for posted on/by
```php
// Hide date last modified
add_filter( 'understrap_posted_on_time', 'prefix_hide_modified' );
function prefix_hide_modified() {
		$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
		$time_string = sprintf(
			$time_string,
			esc_attr( get_the_date( 'c' ) ),
			esc_html( get_the_date() )
		);
		return $time_string;
}

// Hide posted by
add_filter( 'understrap_posted_by', '__return_false' );

// Hide posted on
add_filter( 'understrap_posted_on', '__return_false' );
2018-09-18 23:02:54 +02:00
Holger c810218613
Merge pull request #809 from VarunBatraIT/master
Fix for #808 - 👍 @VarunBatraIT
2018-09-18 08:58:10 +02:00
Varun Batra 0bc4b340cf Fix for #808 2018-09-17 00:25:05 +05:30
Holger Könemann e9e62399e2 we don´t need popper.js anymore because it is in bootstrap.bundle.js 2018-09-15 11:45:30 +02:00
Holger 5dd5a1b6ce
Merge pull request #805 from ylkyrg/refactor-functions
Refactor functions.php - Thx @ylkyrg
2018-09-13 13:53:47 +02:00
Gary Kealy 9dacaa8cf5 Refactor functions.php 2018-09-12 12:27:29 +01:00
Holger Könemann b41d693d93 Update changelog 2018-09-11 09:37:03 +02:00
Holger Könemann d4c730af48 Version bump to 0.8.7, dependency updates and rebuild 2018-09-11 09:27:27 +02:00
Holger de08054b71
Merge pull request #790 from IanDelMar/patch-8
Incorrect spacing
2018-09-11 09:16:51 +02:00
Holger 6e9f4022c0
Merge branch 'master' into patch-8 2018-09-11 09:16:31 +02:00
Holger 0b9fbe9830
Merge pull request #801 from IanDelMar/prevent-direct-access
Prevent direct access - 👍 @IanDelMar
2018-09-11 09:15:20 +02:00
IanDelMar 0090d78e57 Fix for #796 2018-09-11 00:58:25 +02:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
Holger 613f16e462
Merge pull request #793 from IanDelMar/patch-10
Stick to single quotes & other minor changes
👍
2018-09-10 11:00:20 +02:00
Holger 520e8c44cb
Merge pull request #789 from IanDelMar/patch-7
sidebar-footerfull.php: incorrect spacing
2018-09-10 10:59:00 +02:00
Holger e3ff0893fd
Merge pull request #787 from IanDelMar/patch-6
Fix for issue #785
2018-09-10 10:58:35 +02:00
Holger 9adb5d7ddc
Merge pull request #784 from 0dp/patch-13
Update gulpconfig.json
2018-09-10 10:58:11 +02:00
Thomas A. Reinert 43fdff37d6
Merge pull request #794 from IanDelMar/patch-13
Define .screen-reader-text
2018-09-03 09:04:44 +02:00
Thomas A. Reinert da7e1b16b4
Merge pull request #795 from IanDelMar/patch-12
Focusable 'Skip to content'
2018-09-03 08:36:26 +02:00
IanDelMar 43127350b5
Focusable 'Skip to content'
* make 'Skip to content' focusable for sighted keyboard users
* .sr-only makes .screen-reader-text obsolete
2018-09-02 19:30:14 +02:00
IanDelMar 0906f10e5d
Define .screen-reader-text
WP uses the class `.screen-reader-text` in some core stuff like widgets and therefore it should be properly defined. Also UnderStrap itself uses `.screen-reader-text` instead of `.sr-only` sometimes.
2018-09-02 19:17:32 +02:00
IanDelMar cc6d8727c7
Stick to single quotes & other minor changes
* Stick to single quotes
* DocBlock for function understrap_theme_slug_sanitize_select
* Formatting issues
2018-09-02 08:54:36 +02:00
IanDelMar 8be788a5f4
Incorrect spacing 2018-09-01 20:16:42 +02:00
IanDelMar 1a78061efd
sidebar-footerfull.php: incorrect spacing 2018-09-01 20:14:46 +02:00
IanDelMar 2f1228a812
Fix for issue #785
Translatable widget area descriptions
2018-08-30 06:51:11 +02:00
Johan Nielsen 3b4540d866
Update gulpconfig.json
just a little formatting
2018-08-26 12:43:55 +02:00
Holger 35eaec8dd9
Merge pull request #778 from IanDelMar/patch-3
Make aria-label translatable - Thx @IanDelMar !
2018-08-22 08:44:33 +02:00
IanDelMar afeaa14b82
Make aria-label translatable
Content of aria-label may get read out loud and thus should be translatable.
2018-08-20 18:56:15 +02:00
Holger e9f2b82423
Merge pull request #738 from jfig/master
updated pt_PT translation
2018-08-20 16:05:47 +02:00
Holger 9cfc628afe
Merge pull request #743 from pattonwebz/fix/742-php5.3-compat
Swap shorthand array `[]` to `array()` in pagination function definition
2018-08-20 16:05:27 +02:00
Holger 186065401b
Merge pull request #776 from IanDelMar/patch-1
searchform.php replace assistive-text by sr-only
2018-08-20 16:04:16 +02:00
IanDelMar eb611ede1f
searchform.php replace assistive-text by sr-only
Replace assistive-text by the proper BS4 class for screen reader text (sr-only)
2018-08-20 08:32:04 +02:00
Holger 699bdef17f
Merge pull request #759 from 0dp/patch-12
Update widgets.php
2018-08-16 16:10:59 +02:00
Holger f39b101f2f
Merge pull request #761 from noelspringer/woocommerce-template-update
Update Woocommerce form-coupon template to 3.4.4
2018-08-16 16:10:15 +02:00
Holger 074c064025
Merge pull request #762 from davidshq/master
Adding .idea to .gitignore?
2018-08-16 16:09:59 +02:00
Holger 7b7c3b7904
Merge pull request #764 from redpik/patch-2
Typo in FR text
2018-08-16 16:09:10 +02:00
Holger e12060837c
Merge pull request #767 from IanDelMar/fix-site-hook
Fix function_exists & parenthesis
2018-08-16 16:08:51 +02:00
Holger f1b7f260c3
Merge pull request #770 from IanDelMar/master
Fix for Issue #769
2018-08-16 16:08:22 +02:00
IanDelMar 3723546d81
Fix for Issue #769
missing hooks.php in functions.php. causes footer.php to call an undefined function
2018-08-09 22:00:43 +02:00
IanDelMar 6678261a81
Fix function_exists & parenthesis
* Fixed function_exists checking the wrong function
* Added missing parenthesis
2018-08-07 21:39:03 +02:00
Holger 56bc68c30b
Merge pull request #765 from IanDelMar/site-info-hook
Added site info hook - Good idea! Thx @IanDelMar !
2018-08-07 20:09:36 +02:00
Holger 8f8d707a96
Merge pull request #763 from redpik/patch-1
Remove the X-UA-Compatible meta tag - thx @redpik 
Looks good, even Bootstrap itself drope this
2018-08-07 20:06:52 +02:00
Holger 6496436c80
Merge pull request #766 from redpik/patch-3
Delete .DS_Store - thx @redpik
2018-08-07 20:05:54 +02:00
Benjamin PONGY 7d4f3304a6
Delete .DS_Store 2018-08-07 16:40:19 +02:00
IanDelMar eda386549d
Update hooks.php 2018-08-06 22:34:35 +02:00
IanDelMar a2eaaed12c
Use site info hook
see inc/hooks.php
2018-08-06 22:31:39 +02:00
IanDelMar cee0bd5ee3
Create hooks.php 2018-08-06 22:19:50 +02:00
Benjamin PONGY 36d7e8ac9b
Typo in FR text
Accent on "À"
2018-08-06 10:39:38 +02:00