Commit Graph

323 Commits

Author SHA1 Message Date
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
koenemann b95ee41617 Re-add themes default options 2017-12-01 14:32:22 +01:00
Holger Könemann 869cade5e0 redeclare custom style support for editor 2017-11-29 11:09:11 +01:00
Holger Könemann 0e9f845545 Remove unused files and add search form value 2017-11-29 10:56:38 +01:00
Holger Könemann 4685be4327 Fixing woo commerce declaration and rerelease it 2017-11-29 10:50:36 +01:00
Holger Könemann 1692e21d0c redeclare woocommerce support 2017-11-29 10:42:52 +01:00
Holger Könemann e9b8b037a8 remove prefix for internal editor function 2017-11-29 10:26:50 +01:00
Holger Könemann 6d953a08bd preparing 0.6.9 update part 2 2017-11-29 10:24:45 +01:00
Holger Könemann 1094e5e601 disable theme-settings.php call 2017-11-29 09:43:44 +01:00
koenemann ba5a30e657 Changing woo commerce text domain 2017-11-28 09:04:07 +01:00
koenemann a761db175d Regarding to https://themes.trac.wordpress.org/ticket/48576#comment:5 2017-11-28 08:52:50 +01:00
koenemann ba75e8860b Rename function 2017-11-27 09:24:49 +01:00
koenemann 21aa3dc318 Remove automatically db updates by theme
Due to conflicts with wp.org theme guidelines
2017-11-27 09:13:21 +01:00
koenemann 464086a40b Update prefixes 2017-11-27 09:07:11 +01:00
koenemann 4c5c07baa1 Basic guideline adjustments 2017-11-27 09:02:16 +01:00
koenemann 7a0b63c026 Removing * ´s 2017-11-24 08:31:05 +01:00
koenemann 9c66724092 Workaround for jQuery problem
Adding query slim 3.2.1 to make sure Bootstrap AND WordPress will work.
Its just a workaround till Bootstrap 4 Beta 3
2017-11-24 08:28:33 +01:00
koenemann 3baf902e94 Aha, wrong place. But now, see again here: https://github.com/holger1411/understrap/issues/466 2017-11-24 08:07:59 +01:00
koenemann 0e2077ff6d See https://github.com/holger1411/understrap/issues/466 2017-11-24 08:05:20 +01:00
koenemann 07f950730e https://github.com/holger1411/understrap/issues/463 2017-11-24 07:55:53 +01:00
bruceconlon 038675e6c9
Making the class pluggable
As it would not affect any other users of the parent/child theme, placing a request that the fucntion first checks if the class exits,  so it could be overridden in a child theme if needed
2017-11-22 11:59:58 +13:00
koenemann 708751d76d Testing BS4 Beta 2 Dev version 2017-11-10 14:08:14 +01:00
koenemann 9836d8c952 Fixing https://github.com/holger1411/understrap-child/issues/108 and rebuild 2017-11-10 08:03:15 +01:00
Holger Könemann f3c62f320d remove deregisterin jquery 2017-10-23 16:40:06 +02:00
Holger Könemann ac895520fc Update version no, add all query 2017-10-23 12:21:27 +02:00
Holger 4b8c760dda Merge pull request #427 from asharirfan/issue424
Fixed author div tag. There was a missing '>' in the tag 💯
2017-10-23 12:20:35 +02:00
Ashar Irfan af83978869 Corrected a comment for custom templates in functions.php. Corrected Wordpress to WordPress. 💯 2017-10-03 13:18:29 +05:00
Ashar Irfan 7dec636454 Fixed author div tag. There was a missing '>' in the tag 💯 2017-10-03 12:28:49 +05:00
koenemann 10f5e9212e Make inc/security.php overwritable
See: https://github.com/holger1411/understrap/issues/409 - Thx @ErinPo
2017-09-15 08:09:12 +02:00
Holger 726006040c Merge branch 'master' into master 2017-08-14 10:55:08 +02:00
Holger Könemann df9ebebc85 remove static can script call and replace it with local js 2017-08-11 20:17:35 +02:00
Holger Könemann 0b825c0621 enqueu theme.min.js in footer 2017-08-11 20:14:01 +02:00
Holger Könemann 4bf73a8890 Exclude popper.js 2017-08-11 20:08:29 +02:00
Oral UNAL 6a2d794144 Update security.php
remove_action can take accept only 3 params
2017-08-05 00:40:36 +03:00
Oral UNAL c5a142b762 Update theme-settings.php
If someone tries to override in child temp
2017-08-05 00:39:22 +03:00
Patrick a2279ac086 Update widgets.php
Small little typo in comments
2017-07-26 10:38:10 +02:00
Rami Yushuvaev 57a75efefa Use esc_html() 2017-06-08 18:21:14 +03:00
Holger ff71842e73 Merge pull request #325 from blowsie/patch-1 - Good idea! Seems I just forget it to add. Thx @blowsie !
Allow slbd_count_widgets function to be overridden
2017-05-23 08:51:20 +02:00
Elliot 779c351f2d Pagination Amend 2017-05-22 12:26:07 +01:00
Sam Blowes 0ddf5ff086 Allow slbd_count_widgets function to be overridden
Allow slbd_count_widgets function to be overridden by child them so that more responsive classes can be added if desired.
e.g. `$widget_classes .= ' col-md-3 col-sm-6';`
2017-05-18 15:23:50 +01:00
Jason King 0014477b9c Specify correct post templates for jetpack infinite scroll. 2017-05-18 14:23:26 +09:30
koenemann 0cd0d3aca4 fixing float-sm-left and right problem with BS´s flex box utilities 2017-05-16 09:00:26 +02:00
Jason King ce3a75698d Declare woocommerce support. 2017-05-03 14:22:35 +09:30
Holger 229627ca8b Merge pull request #298 from kosvrouvas/master
Fix next/previous post links not floating correctly - Thx @kosvrouvas
2017-04-29 11:07:22 +02:00
Kostas Vrouvas 86db306e43 Fix next/previous post float class 2017-04-26 12:47:02 +03:00
Jason King 0a11efded4 Update old BS3 class .img-responsive to .img-fluid
As per #293 by ErinPo
2017-04-23 14:06:09 +09:30
koenemann 60ed4079fd Replacing woocommerce text domain with understrap 2017-04-21 14:33:06 +02:00
Jason King 363776ccd2 Adding Woocommerce 3.0.0 Product Gallery Support
Gallery slider needs Flexslider - https://woocommerce.com/flexslider/. Holger will need to make the decision if this is to be implemented.
2017-04-14 20:17:51 +09:30
Holger Könemann 7345d07493 custom woo functions 2017-02-11 12:26:23 +01:00
Holger Könemann 355ad5bff4 hook in woo commerce 2017-02-11 10:15:59 +01:00
koenemann 9b43e4b0e4 cleanup inc/template-tags.php 2017-02-07 15:30:44 +01:00
koenemann 8c3ada14a6 cleanup inc folder and add wordpress.com stuff 2017-02-07 15:30:03 +01:00
koenemann d553448a75 updating template-tags 2017-02-07 15:26:45 +01:00
koenemann 5ae85ca5fa update template-tags 2017-02-07 15:23:13 +01:00
koenemann 004a279dea Updating Jetpack integration 2017-02-07 15:18:29 +01:00
koenemann c0ea2d9f6e See https://github.com/holger1411/understrap/issues/240 - Thx@arpage 2017-02-02 14:05:52 +01:00
Holger Könemann 0238a60390 fixing some more 2017-02-01 17:10:32 +01:00
koenemann c01f07b4ae removing empty spaces 2017-01-27 14:26:46 +01:00
koenemann 6bd57dd4ca fixing some more PHPCBF issues 2017-01-27 13:22:02 +01:00
koenemann 1576a0e3e2 Fixing comments.php build errors
FIXING

FILE: /home/travis/build/holger1411/understrap/comments.php

----------------------------------------------------------------------

FOUND 3 ERRORS AFFECTING 2 LINES

----------------------------------------------------------------------

 28 | ERROR | Expected next thing to be an escaping function (see Codex

    |       | for 'Data Validation'), not '_nx'

    |       | (WordPress.XSS.EscapeOutput.OutputNotEscaped)

 28 | ERROR | Missing singular placeholder, needed for some languages.

    |       | See

    |       |
https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals

    |       | (WordPress.WP.I18n.MissingSingularPlaceholder)

 30 | ERROR | Expected next thing to be an escaping function (see Codex

    |       | for 'Data Validation'), not 'number_format_i18n'

    |       | (WordPress.XSS.EscapeOutput.OutputNotEscaped)

----------------------------------------------------------------------
2017-01-27 13:08:05 +01:00
koenemann b0fcba1829 fixing some PHPCBF issues 2017-01-27 08:15:34 +01:00
Justin Brown f1d5cd583e remove erroneous comment
This was no longer a heading for the post-thumbnails theme support line
2017-01-26 23:49:07 -06:00
Holger Könemann 03f9517d5f remove bootstrap wp gallery 2017-01-26 19:51:55 +01:00
Holger Könemann ef7c58099c Removing Owl Carousel dependency 2017-01-25 10:24:08 +01:00
Holger Könemann e793abacfb adding active class dynamically to first slide via query 2017-01-24 19:08:36 +01:00
Holger Könemann ce68323eb3 style the bs slider content 2017-01-24 19:06:45 +01:00
Holger Könemann af1bedb6bb replacing slider 2017-01-24 18:30:57 +01:00
Luke 1f5803e6b3 updated customizer theme sidebar options to clarify that this option is default 2017-01-20 11:16:50 +11:00
Holger Könemann f7638dd466 creating and adding a custom-editor-style.css 2017-01-18 08:45:50 +01:00
Holger Könemann 142afd2d29 remove the h1 removal 2017-01-18 07:51:37 +01:00
Holger 430706f4b0 Merge pull request #218 from ZXCVLuke/master - Thx @ZXCVLuke
Add BS typography styles to editor
2017-01-18 07:47:20 +01:00
Luke 7e337a6f98 add BS elements to style formats 2017-01-18 10:04:04 +11:00
Holger Könemann d8c00eff2a Dynamize footer full and static hero widget area
Now adds the proper Bootstrap class to a widget, depending on the
number of widgets. For example col-md-6 if two widgets are there,
col-md-4 if three published etc.
2017-01-17 15:31:12 +01:00
koenemann 5e46aac4f9 remove index_post_style part 2 2017-01-13 09:07:45 +01:00
koenemann d54a73d2e0 Remove posts index styling 2017-01-13 09:05:40 +01:00
Jessica Jean Suderno d5422b2697 Update Custom Logo Tags
*Fixes empty alt tag
*Adds title to Logo

Signed-off-by: Jessica Jean Suderno <jessicajsuderno@gmail.com>
2017-01-11 15:40:44 -08:00
koenemann 9267a19cdd prepare custom header setup 2017-01-09 14:18:01 +01:00
koenemann 7a22cf3803 adding customizer edit icon support 2017-01-09 14:17:41 +01:00
koenemann ea969369d9 removing dynamic slider settings 2017-01-05 13:24:19 +01:00
koenemann a38a20c3da Removing the vertical one page template and function 2016-12-23 11:20:56 +01:00
Michel Many 13cb8e2685 Remove duplicating post-thumbnails call 2016-12-17 11:36:01 -02:00
Holger Könemann bc0e703f14 adding Italian language - Thx max guglielmino 2016-12-10 12:21:46 +01:00
Holger Könemann 57777e4eaa Fixing strange condition, return true on every pagetemplate 2016-12-07 08:29:57 +01:00
Holger Könemann 834d93bf9f Fixing non-linked press / next links 2016-12-04 11:28:41 +01:00
Holger Könemann 6c32331ade Adding dynamic version info behind UnderStrap asset´s URL´s 2016-12-01 20:46:15 +01:00
koenemann c6e0d19cb3 https://github.com/holger1411/understrap/issues/163 - Thx @TomKisielewski for reporting 2016-11-28 08:58:16 +01:00
koenemann 526a46ad47 fixing some W3C issues 2016-11-25 14:10:28 +01:00
koenemann 96090bdaf5 Removing some W3C validator issues 2016-11-25 13:46:16 +01:00
koenemann 44ea2ea03f adding sanitize callback for add setting 2016-11-25 13:37:27 +01:00
koenemann a660a7d2f1 increase version number in enqueue.php 2016-11-24 12:22:23 +01:00
Holger Könemann c5975e5f11 Move pagination component to function 2016-11-23 10:42:53 +01:00
Holger Könemann bbbfbae63b Change BS3 markup to BS4 2016-11-23 10:05:20 +01:00
koenemann 5ff897c030 trying to add bs4 markup to this 2016-11-22 09:53:49 +01:00
koenemann aaf056be3e Adding 3364060413 manually
Thx @Thomas-A-Reinert
2016-11-22 09:22:19 +01:00
koenemann 33adc3f6a7 Adding changes from d24b66f56c
From @Thomas-A-Reinert
2016-11-22 09:19:08 +01:00
Stef Kariotidis 1d01962d1b code format and customizer grid post small fix 2016-11-21 19:47:45 +02:00
Stef Kariotidis 0fab781b1c revert escaping variables 2016-11-21 19:14:49 +02:00
Stef Kariotidis 74b1de1722 coding standards part 1 2016-11-21 19:12:36 +02:00
Stef Kariotidis 84700d5ff2 bump 2016-11-21 18:27:42 +02:00
Stef Kariotidis b41729840f code formatting 2016-11-21 18:25:56 +02:00
koenemann 018e930d44 Revers to old gallery because add_shortcode is not allowed 2016-11-21 11:41:30 +01:00
Holger 712f1d0475 Merge pull request #142 from stef-k/posts-index-grid
blog page as grid
2016-11-21 11:03:48 +01:00
Stef Kariotidis 77ca414da6 add option for column settings 2016-11-21 11:54:27 +02:00
koenemann 968278f240 adding sanitize_callback 2016-11-21 10:40:41 +01:00
Holger 1c4fe9b1f7 Merge pull request #144 from stef-k/setup-theme-default-settings - Many thx @stef-k !
check and setup theme's default settings - Many thx @stef-k !
2016-11-21 10:23:55 +01:00
Stef Kariotidis ffb93b77c7 check and setup theme's default settings 2016-11-21 10:49:37 +02:00
koenemann 9b06f55e6a Remove , from last line 2016-11-21 09:05:25 +01:00
Stef Kariotidis 64c5ea25c2 blog page as grid 2016-11-20 13:09:16 +02:00
Holger 25e660da89 Merge pull request #138 from stef-k/vertical-one-page-woocommerce
Vertical one page woocommerce fix - thx @stef-k !
2016-11-19 12:19:33 +01:00
Stef Kariotidis 91b04484b0 make forms more bootstrap like 2016-11-19 11:46:50 +02:00
Stef Kariotidis 33602b1d74 dont load script on woocommerce pages 2016-11-18 23:33:34 +02:00
Stef Kariotidis 78e369f119 default or masonry posts index 2016-11-17 23:18:39 +02:00
koenemann 52298738c7 See https://github.com/holger1411/understrap/pull/128 2016-11-17 09:11:14 +01:00
koenemann eabcfeaac4 fixing typo 2016-11-15 11:48:39 +01:00
koenemann ac5a88cce4 Merge new gallery
Based on Roots Sage Gallery:
https://github.com/roots/sage/blob/5b9786b8ceecfe717db55666efe5bcf0c9e18
01c/lib/gallery.php
2016-11-14 13:41:30 +01:00
Stef Kariotidis 632a79a2b6 layout section and WP conding standards 2016-11-05 14:35:57 +02:00
Stef Kariotidis 108222b383 register left-right templates, WP coding standards 2016-11-05 14:34:48 +02:00
Holger Könemann ad03eb383a Making all function pluggable 2016-11-01 20:36:43 +01:00
Max Myers d0c0cddfc1 Update HTML attribute order 2016-11-01 12:13:23 -04:00
Max Myers 8f973a3525 Don't include a trailing slash in self-closing elements 2016-11-01 11:33:40 -04:00
Kostas Vrouvas 7266ef93a5 Fix a typo in a comment 2016-10-30 03:54:13 +03:00
koenemann 2c2fe4d765 0.5.0 Pre release draft 2016-10-27 11:51:16 +02:00
Stef Kariotidis 03f4350a55 recheck and fix indentation 2016-10-25 19:38:36 +03:00
Stef Kariotidis c3b98e296e add vertical layout template 2016-10-23 18:54:40 +03:00
willgorham b31ce3fdb7 Fix custom logo function typo 2016-10-15 23:09:05 -04:00
Jessica Jean 88c5a387cb add filter for custom logo classes in header 2016-09-19 17:19:00 -07:00
Jessica Jean 22a1da96f0 add wp theme logo feature 2016-09-15 14:08:12 -07:00
Holger Könemann c19da9fb4b fixing jetpack infinite scrolling problems 2016-09-09 17:34:27 +02:00
koenemann c9beb0307e hotfixing release 0.4.7 2016-08-15 15:05:49 +02:00
koenemann 910f782934 removing body class "tag" from tag page to avoid BS styling issues with .tag class 2016-08-15 15:03:06 +02:00
koenemann 5861b31639 Update to 0.4.6 2016-08-01 08:48:04 +02:00