Commit Graph

1390 Commits

Author SHA1 Message Date
gillespieza ece6f9373f
Tidy up left sidebar check
Removed all the unnecessary code to explicitly set the primary column's width. This is handled by Bootstrap 4's auto-layout. If we just provide it a column and its breakpoint, then as long as the sidebars have an explicit column width, the main will auto-fill.
2018-10-15 15:48:12 +02:00
Holger 94fb26825f
Merge pull request #822 from IanDelMar/patch-1
Update understrap.scss
2018-10-15 14:46:08 +02:00
Holger e683c12882
Merge pull request #824 from IanDelMar/patch-4
Remove default class hfeed - +1 @IanDelMar !
2018-10-15 14:44:37 +02:00
Holger 5b23f36a25
Merge pull request #826 from pattonwebz/issue/825-excerpt-length-filter-only-on-frontend
Prevent modifications to read_more affecting dashboard expected behavior - thx @pattonwebz !
2018-10-15 14:44:09 +02:00
William Patton 607072acd1 Prevent modifications to read_more affecting dashboard expected behavior 2018-10-12 23:16:53 +01:00
IanDelMar ceb5554fd0
Remove default class hfeed
The class `hfeed` is correctly added to non-singular pages only via the `understrap_body_classes` filter and should not be present on each page regardless of whether it is a feed or not.
2018-10-12 16:32:32 +02:00
IanDelMar 5c9f276f76
Update understrap.scss 2018-10-09 09:14:10 +02:00
Holger 0dbfc1728a
Merge pull request #815 from SalmanPK/master
Fixed typo in wp_enqueue_style() call in inc/wpcom.php
2018-09-27 15:31:30 +02:00
Holger 4c778ed270
Merge pull request #813 from IanDelMar/patch-1
Add filters for posted on/by
2018-09-27 15:30:27 +02:00
Salman Abbas be9d3db4ec Fixed typo in wp_enqueue_style() call in inc/wpcom.php: file version passed as the $deps argument instead of $ver 2018-09-23 09:52:11 +05:00
IanDelMar b6af4ac452
Add comments for translators 2018-09-19 08:59:24 +02:00
IanDelMar 088830154e Revert "Revert "Adjust byline for hidden date case""
This reverts commit 7783b14cb3.
2018-09-19 08:46:26 +02:00
IanDelMar 7783b14cb3 Revert "Adjust byline for hidden date case"
This reverts commit 5ea71dac54.
2018-09-19 08:36:12 +02:00
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 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