Commit Graph

316 Commits

Author SHA1 Message Date
IanDelMar c985f696ac
Add aria-current
See https://core.trac.wordpress.org/changeset/42808
2019-11-09 11:20:38 +01:00
Gary Kealy afca2ffb56 Remove closing php tags at end of files 2019-07-04 15:58:08 +01:00
Gary Kealy 327e0ddb59 Fix some minor phpcs errors 2019-07-04 15:53:03 +01:00
Gary Kealy 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
Thomas A. Reinert 369a06d182
Merge pull request #977 from IanDelMar/patch-7
Fix for #976
2019-06-07 01:06:49 +02:00
Thomas A. Reinert ab9c9a3c78 Fixes #973 2019-06-04 12:55:00 +02:00
IanDelMar 2334f6a9c4
Fix for #976
Declare `wc_reviews_enabled()` and `wc_reviews_enabled()` on frontend only.
2019-05-18 10:36:25 +02:00
Chris Allen 447674355c
Fix theme support for WooCommerce
Looks like the add_theme_support() call should be 'woocommerce' and not 'understrap'.
2019-05-08 20:56:21 +01:00
IanDelMar 8b841fb3e2
WooCommerce backward compatibility. Fix for #961
`wc_review_ratings_enable` was added in WC 3.6.0. Calling it in WC 3.5.x throws a fatal error. See #961
2019-04-29 23:42:07 +02:00
Holger Koenemann cac4962ddb Update Woocommerce version info 2019-04-22 18:38:43 +02:00
Holger Koenemann 705bd724d9 Update enqueue.php 2019-04-14 07:01:02 +02:00
Holger Koenemann 9f848d858f Fixing https://github.com/understrap/understrap/issues/946 2019-04-14 06:54:10 +02:00
Marie Comet f663655b7a
Add responsive embed support
Related to https://github.com/understrap/understrap/issues/931
2019-03-08 19:38:29 +01:00
Lon Koenig 6fcf1e9720 Make understrap_mobile_web_app_meta() and understrap_pingback() pluggable. 2019-02-19 10:22:29 -06:00
IanDelMar 89464f0d4f
Add deprecated.php 2019-01-29 00:02:25 +01:00
IanDelMar 52b028e1be
Escape translation 2018-12-28 10:37:14 +01:00
Holger c85f9e08e9
Merge pull request #879 from IanDelMar/patch-3
Fix indentation - thx again @IanDelMar
2018-12-28 09:36:00 +01:00
IanDelMar 9779563248
Fix space usage 2018-12-26 11:26:22 +01:00
IanDelMar f5edb00c9f
Fix spacing 2018-12-26 11:22:37 +01:00
IanDelMar c014366a48
Fix spacing 2018-12-25 19:19:42 +01:00
IanDelMar 77bc390ee7
Fix spacing 2018-12-25 19:17:09 +01:00
IanDelMar 8bfabce83d
Fix indentation 2018-12-25 19:09:25 +01:00
Holger fecf45dff4
Merge pull request #855 from IanDelMar/header
Conditional pingback & child theme friendliness Thx again @IanDelMar
2018-12-18 14:23:56 +01:00
Holger b9fc5ef0e1
Merge pull request #856 from IanDelMar/wpcs
Fix formatting issues - wow...thx @IanDelMar !
2018-12-18 14:23:10 +01:00
Stefan Grassberger cf4d843cde
Fix dropdown when setting depth=0 in wp_nav_menu 2018-11-23 17:25:38 +01:00
IanDelMar 7ee9cfd18e Fix indentation & space usage 2018-11-19 00:44:58 +01:00
IanDelMar b653d6f2ce Fix identation 2018-11-19 00:43:14 +01:00
IanDelMar c8274df833 Fix indentation & space usage 2018-11-19 00:41:38 +01:00
IanDelMar cf15b3eb76 Fix space usage 2018-11-19 00:40:25 +01:00
IanDelMar 8ecfeb4436 Fix indentation 2018-11-19 00:38:50 +01:00
IanDelMar b1f541fcfc Fix indentation & space usage 2018-11-19 00:37:53 +01:00
IanDelMar ee459e936b Fix indentation & space usage 2018-11-19 00:37:12 +01:00
IanDelMar 024ddea2ab Fix space usage 2018-11-19 00:27:49 +01:00
IanDelMar 9c8be5118d Fix indentation & space usage 2018-11-19 00:26:03 +01:00
IanDelMar eff5910640 Fix space usage 2018-11-19 00:24:26 +01:00
IanDelMar 4b3a789172 Add mobile-web-app meta as action
Allows a child theme to remove the meta tags without changing the header.php.
2018-11-18 16:28:39 +01:00
IanDelMar 95767decb0 Conditionally add pingback
and allow child theme to remove it without changing the header.php.
2018-11-18 16:26:49 +01:00
Holger 05cbe7bedf
Merge pull request #802 from IanDelMar/fix-for-#796
Fix for #796 - Thx @IanDelMar !
2018-11-16 08:07:53 +01:00
William Patton 607072acd1 Prevent modifications to read_more affecting dashboard expected behavior 2018-10-12 23:16:53 +01: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
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
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