Commit Graph

353 Commits

Author SHA1 Message Date
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
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 2f1228a812
Fix for issue #785
Translatable widget area descriptions
2018-08-30 06:51:11 +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 699bdef17f
Merge pull request #759 from 0dp/patch-12
Update widgets.php
2018-08-16 16:10:59 +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
IanDelMar eda386549d
Update hooks.php 2018-08-06 22:34:35 +02:00
IanDelMar cee0bd5ee3
Create hooks.php 2018-08-06 22:19:50 +02:00
Johan Nielsen 3a55780298
Update widgets.php
small typo
2018-08-03 10:22:06 +02:00
Holger Könemann acb4fcb186 using bootstrap.bundle.js instead of popper.js and bootstrap.js 2018-07-30 15:02:21 +02:00
KoenemannH 9407ee0d96 See https://github.com/understrap/understrap/issues/750
Thx @DDfakt
2018-07-24 15:27:43 +02:00
William Patton efabf58b1d Swap array shorthand `[]` in wp_parse_args call to `array()` 2018-07-13 00:10:59 +01:00
William Patton ddd8bacca8 Swap shorthand array `[]` to `array()` in pagination function definition 2018-07-12 20:07:38 +01:00
KoenemannH dee0292777 Adding missing text domain 2018-07-06 09:48:49 +02:00
KoenemannH 6bc5c14ee8 Reset enqueue.php 2018-07-06 08:55:44 +02:00
Holger Könemann 7cdaeddef7 Switch back to pre-gulp4 version 2018-07-04 11:37:13 +02:00
Holger 003f503adb
Merge pull request #700 from ZacharyElkins/WooCommerce_3.4.0
Woo commerce 3.4.0 - Thx @ZacharyElkins !
2018-07-02 10:56:50 +02:00
0dp b32d6bae16 fix PR conflict 2018-06-26 10:10:40 +02:00
0dp d8ad7b29d4 gulp4 2018-06-14 11:33:05 +02:00
Unknown 3bfdc7996f Remove Add-To-Cart Function
There is no need for this, as the modified template file is provided. Including only the function may be confusing for users.
2018-06-05 19:46:35 -06:00
0dp 4c3a923fd4 rev task updated only runs on dist 2018-06-04 23:27:23 +02:00
Ernesto Ruge a5dbc3c877
better solution based on core 2018-05-26 10:43:34 +02:00
Ernesto Ruge ece50c2b28
$consent is not set
... so it should not be used there.
2018-05-25 12:42:18 +02:00
Jean Pierre Kolb a18067c446 Added cookies checkbox support for inc/custom-comments.php, needed for WordPress 4.9.6 GDPR update 2018-05-18 10:47:48 +02:00
Holger fa9243dc8c
Merge pull request #666 from 0dp/gulp-rev - thx @0dp
gulp-rev
2018-05-15 15:02:14 +02:00
Johan Nielsen f8dd00d1c4
Update pagination.php
1. Dynamic prev and next
1. Improved active class
1. Improved ellipsis
2018-05-11 21:28:07 +02:00
Johan Nielsen e59538ad22
dynamic prev_next
I've noticed that with the current implementation, next arrow is still shown if there are no more pages.
By setting prev_next to true, WordPress should handle the generation of next and previous arrows. 
This also means that the code is dramatically simplified.

But please test this, because I don't remember why I didn't write the code this way in the first place.
Maybe because there was some fringe case I tried to rectify?
2018-05-05 10:09:27 +02:00
Johan Nielsen 524418e204
formatting and file check and type0 2018-05-05 09:47:03 +02:00
0dp 4b01b22fb4 gulp-rev 2018-05-02 12:27:12 +02:00
Unknown 29e92aacde Remove closing div from WooCommerce function
#primary div has been moved to right-sidebar-check.php
2018-04-20 11:29:43 -06:00
William Patton 4f0295ebea Modify walker with 'understarp' prefixed on class name and as textdomain 2018-04-17 17:18:34 +01:00
William Patton cea18747d9 Swap customized walker to latest upstream wp-bootstrap-navwalker class 2018-04-17 17:08:26 +01:00
Holger Könemann bf6dfb6046 Adding the herocanvas widget position 2018-04-13 20:19:33 +02:00
Eric Amundson cf0109af54
Remove duplicate theme JS enqueue, update comment
Howdy Holger,

I believe the `theme.min.js` file was enqueued twice; once using old method and again using new. This pull request removes the old enqueue method.

I also added _CSS_ to the comment as it's enqueuing more than JS.

I hope that helps!
2018-04-11 21:30:49 -07:00
Holger Könemann 4fb9fdd96d Adding timestamp to js/css resources - Thx @gintsmurans
https://github.com/understrap/understrap/issues/631
2018-04-06 19:43:18 +02:00
Alex Wright a677325ffb Add pluggable function wrappers to inc/widgets.php 2018-03-30 11:38:54 -05:00
Alex Wright d3236e10d6 Add pluggable function wrappers to inc/theme-settings.php 2018-03-30 11:34:46 -05:00
Alex Wright b2e336e2e8 Add pluggable function wrappers to inc/setup.pphp 2018-03-30 11:28:55 -05:00
Alex Wright 8da32c1a75 Add pluggable function wrappers to inc/pagination.php; add single quotes around active class name on line 41 2018-03-30 11:21:47 -05:00
Alex Wright 9397cfc53e Add pluggable function wrappers to inc/extras.php 2018-03-30 11:03:09 -05:00
Alex Wright acd630fcfa Add pluggable function wrappers to inc/custom-header.php 2018-03-30 10:58:32 -05:00
Alex Wright 3083096ef7 Add pluggable function wrappers to inc/wpcom.php 2018-03-30 10:51:43 -05:00
Alex Wright 140da01e60 Add pluggable function wrappers to inc/woocommerce.php 2018-03-30 10:47:02 -05:00
Alex Wright c75682937e Add pluggable function wrappers to inc/template-tags.php 2018-03-30 10:14:25 -05:00
Alex Wright eda69c0385 Add pluggable function wrappers to inc/jetpack.php 2018-03-30 10:01:59 -05:00
Alex Wright 3114c1bda6 Update demo of adding pluggable function wrappers to add actions / hooks above functions 2018-03-29 12:39:09 -05:00
Alex Wright 554f362643 Apply pluggable function wrapper to inc/editor.php 2018-03-28 10:42:05 -05:00
Holger 5eae85e137
Merge pull request #599 from ZacharyElkins/WooUpdate
Updated WooCommerce template files to 3.3.4 release - Thx @ZacharyElkins !
2018-03-26 18:46:21 +02:00
0dp 33183a3481 new pagination 2018-03-24 14:18:00 +01:00
Unknown 61dbdfcde3 Replace add-to-cart template with function
- Remove add-to-cart template;
- Add function to replace "button" class with "btn btn-outline-primary;
2018-03-23 13:53:48 -06:00
Holger Könemann a2fa9e56ba Remove woocommerce.php and replace it with hooked version
See
https://github.com/understrap/understrap/issues/606#issuecomment-3753920
87

Thx @ZacharyElkins !
2018-03-22 18:47:51 +01:00
Johan Nielsen da311e953e
include minified css
The gulp fix for minify also minifies custom-editor-style.css.
Fixed to include the minified version
2018-03-21 20:08:02 +01:00
Holger Könemann 86c0ba96bb Replace the workaround 2018-03-21 11:50:46 +01:00
Thomas A. Reinert c5a345a3d6 Interim fix for #600 2018-03-17 22:51:20 +01:00
MarieComet d180bcfa40 add function exists check in custom-comments.php 2018-03-05 07:29:00 +01:00
Thomas A. Reinert d13eba5445 Removed "false" to avoid empty "media"-value
Removed "false" to avoid empty "media"-value which invalidates HTML.
Renders as media="all" if omitted.

See:
https://developer.wordpress.org/reference/functions/wp_enqueue_style/
for how to correctly enqueue styles.
2018-03-02 15:39:39 +01:00
Jason King 1bd7160dd7
Enable woocommerce product gallery slider by default. 2018-01-10 16:11:37 +10:30
Johan Nielsen 742cf2f6a2
container type never gets set v.0.6.12 2017-12-14 13:20:40 +01:00
koenemann 4b05927dc2 Re - add jQuery by default 2017-12-14 09:22:42 +01:00
koenemann 0da90aa66c Re-add understrap_setup_theme_default_settings 2017-12-14 08:59:29 +01:00
Shannon Smith 6d7783700c Fix divider in Bootstrap nav
Bootstrap nav water was using the wrong class for the dropdown so I
have adjusted that.
2017-12-11 17:02:48 +13:00
Holger Könemann a97c485ea3 Fixing sanitizing, escaping and prefix´s issues 2017-12-06 10:20:33 +01:00
koenemann 44c38d710a Sorry, fixing the right fn name... 2017-12-05 08:53:57 +01:00
koenemann 86caee1f17 Rename understrap_woocommerce_form_field_args function 2017-12-05 08:51:44 +01:00