Commit Graph

38 Commits

Author SHA1 Message Date
IanDelMar 76ee06b67a
Merge branch 'master' into patch-5 2020-04-28 14:03:01 +02:00
IanDelMar 860d8c123a Fix WPCS errors and warnings + escaping
Fixes many WPCS errors and warnings

Also:
* Partly removes excessive php opening/closing tags.
* Uses printf for better readability in loop-templates/content-none.php.
* Adds understrap_kses_title() to escape post titles.
* Adds understrap_escape_the_archive_description() to escape the archive description.
* Fixes missing '__' after esc_html in author.php.
* Updates the phpcs.xml to reflect all the changes.
* Updates composer dependencies and scripts.
2020-04-19 12:08:39 +02:00
IanDelMar e84fca387a
Add script and style to theme support for html5
In HTML5, the type attribute is not required for the <script> and <style> tags. Including the attribute on these tags (type="text/javascript", for example) will trigger a validation warning in HTML validation tools.

From WordPress 5.3, two new arguments are supported for the html5 theme feature, script and style. When these arguments are passed, the type attribute will not be output for those tags.

See https://make.wordpress.org/core/2019/10/15/miscellaneous-developer-focused-changes-in-5-3/
2020-04-13 12:09:59 +02:00
IanDelMar 628601415b No period for summary in file headers
According to WP's PHP documentation standards on file headers. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#6-file-headers.
2019-11-14 18:16:31 +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
Marie Comet f663655b7a
Add responsive embed support
Related to https://github.com/understrap/understrap/issues/931
2019-03-08 19:38:29 +01:00
William Patton 607072acd1 Prevent modifications to read_more affecting dashboard expected behavior 2018-10-12 23:16:53 +01:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
Alex Wright b2e336e2e8 Add pluggable function wrappers to inc/setup.pphp 2018-03-30 11:28:55 -05:00
koenemann 0da90aa66c Re-add understrap_setup_theme_default_settings 2017-12-14 08:59:29 +01:00
Holger Könemann 1094e5e601 disable theme-settings.php call 2017-11-29 09:43:44 +01:00
koenemann a761db175d Regarding to https://themes.trac.wordpress.org/ticket/48576#comment:5 2017-11-28 08:52:50 +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
Ashar Irfan af83978869 Corrected a comment for custom templates in functions.php. Corrected Wordpress to WordPress. 💯 2017-10-03 13:18:29 +05: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
koenemann 7a22cf3803 adding customizer edit icon support 2017-01-09 14:17:41 +01:00
Michel Many 13cb8e2685 Remove duplicating post-thumbnails call 2016-12-17 11:36:01 -02:00
Stef Kariotidis 74b1de1722 coding standards part 1 2016-11-21 19:12:36 +02:00
Stef Kariotidis ffb93b77c7 check and setup theme's default settings 2016-11-21 10:49:37 +02:00
Holger Könemann ad03eb383a Making all function pluggable 2016-11-01 20:36:43 +01:00
Jessica Jean 22a1da96f0 add wp theme logo feature 2016-09-15 14:08:12 -07:00
Holger Könemann 6bbf06aba1 bs4 fine tuning 2016-04-26 14:05:02 +02:00
koenemann dc15fe59b6 fixing the undefined variable debugging error 2016-01-08 14:03:57 +01:00
koenemann d8f31a0052 duplicate 2016-01-08 11:53:11 +01:00
koenemann c07a55c6d7 fixing figure element sizing in content area 2016-01-08 11:34:16 +01:00
koenemann 32a896346b Add max size for post images to prevent overflowing 2016-01-08 08:55:56 +01:00
Holger Könemann 9db415d16f Adding german language
Adding german language file, fixing some .po problems and adding
missing font awesome woff2 file
2015-10-14 12:47:04 +02:00
Holger Könemann 55075824cc add woocommerce support declaration 2015-09-09 10:58:25 +02:00
Holger 6605e80b99 merge master 2015-08-11 14:39:47 +02:00
Holger 14f72166b3 bootstrap comment form and rebasing 2015-03-31 16:15:37 +02:00
Holger Koenemann 2b95d954b9 tweaking and fixing 2015-01-06 08:37:26 +01:00
Holger Koenemann ec81dcebed trim auto and manually excerpts
Displaying the manual and auto excerpt the same way with [...] at the
end and Bootstrap .btn-default „read more“ link below
2014-12-22 08:57:31 +01:00
Holger Koenemann 6a75eaea6b add post-thumbnail support 2014-12-11 17:50:47 +01:00
Holger Koenemann 599d31a377 Adding Bootstrap markup and custom comment form 2014-12-11 17:41:11 +01:00
Holger Koenemann 243db1ace9 adding full_s SASS sources 2014-12-10 19:29:31 +01:00
Holger Koenemann 47fe255148 initial comit 2014-12-10 12:36:38 +01:00