Commit Graph

82 Commits

Author SHA1 Message Date
IanDelMar a2bbdb0eb7 Add understrap_body_attributes()
Function to display attributes for the body element. Attributes may be added via the filter `understrap_body_attributes`
2019-12-03 08:15:46 +01:00
Gary Kealy 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
Holger 1e90d3c65f
Merge pull request #967 from IanDelMar/wp_body_open
Add support for wp_body_open - thx @IanDelMar !
2019-05-08 14:17:09 +02:00
IanDelMar 6076c91553
Improve code simplicity
It is sufficient to call the `do_action( 'wp_body_open' )` directly instead of the wrapper. See https://make.wordpress.org/themes/2019/03/29/addition-of-new-wp_body_open-hook/#comment-43714
2019-05-03 08:33:40 +02:00
IanDelMar 0e76b4008d
Add support for wp_body_open
5.2 will introduce a new `wp_body_open()` function that is used to trigger a `wp_body_open` action. This action is intended to allow developers to inject code immediately following the opening `<body>` tag. Themes are encouraged to begin using this hook as soon as 5.2 is released.

See https://make.wordpress.org/core/2019/04/24/miscellaneous-developer-updates-in-5-2/
2019-05-01 19:03:52 +02:00
IanDelMar 88cf1467d2
Remove superfluous space 2019-01-04 10:50:50 +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
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 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +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 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
Benjamin PONGY 2593581e53
Remove the X-UA-Compatible meta tag
https://stackoverflow.com/questions/6771258/what-does-meta-http-equiv-x-ua-compatible-content-ie-edge-do/6771584#6771584
2018-08-06 10:29:49 +02:00
KoenemannH a568171e80 Moving nabber to the right by default 2018-07-03 08:44:04 +02: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 2743321cd1 define a nicer navbar bg type 2018-04-11 21:05:08 +02:00
Alex Wright 2620580373 Remove unnecessary wrapper classes from #wrapper-navbar 2018-03-20 23:24:05 -05:00
Thomas A. Reinert d32af2864e Fixes invalid code due to WP´s itemprop insertion
See https://github.com/holger1411/understrap/issues/578 for explanation.
2018-03-02 17:27:12 +01:00
koenemann 4c5c07baa1 Basic guideline adjustments 2017-11-27 09:02:16 +01:00
koenemann 4ca76066af Moving hamburger toggle to the right 2017-08-18 09:52:07 +02:00
koenemann e7a2e203e2 Rebuild navber with new BS4 Beta functions 2017-08-17 11:27:11 +02:00
Chuck Reynolds ee1a92710c update Responsive meta tag for BS4 recc
[BS4 Reference](https://getbootstrap.com/docs/4.0/getting-started/introduction/#responsive-meta-tag)
2017-08-13 20:49:16 -07:00
Holger Könemann 828654fb6f moving toggle to the right (?) 2017-08-11 20:47:30 +02:00
Holger Könemann 333f1c90a8 readjust h1 brand name styling with link 2017-02-04 11:15:22 +01:00
koenemann c94d17603a just starting a new line, removing tab 2017-02-02 09:18:13 +01:00
koenemann b0fcba1829 fixing some PHPCBF issues 2017-01-27 08:15:34 +01:00
koenemann 7148f4f7b7 Adding h1 markup to navbar-brand on front/homepage 2017-01-24 08:47:53 +01:00
Holger Könemann fda8575b1a fixing .container-fluid in navbar bug 2017-01-19 11:29:09 +01:00
Holger Könemann 9fc94678a2 refactoring the navbar bg color back to the dark one 2017-01-07 11:39:25 +01:00
Holger Könemann 50404dba3b light navbar 2017-01-06 20:44:05 +01:00
Holger Könemann 80004d7755 adding bg-inverse navbar 2017-01-06 20:41:04 +01:00
Holger Könemann e543a0295e adding a container around the navbar 2017-01-06 20:30:34 +01:00
Holger Könemann 1abde3bdf7 tryout the light navbar 2017-01-06 20:25:17 +01:00
Holger Könemann 673daac08f adding the darker navbar again 2017-01-06 20:15:59 +01:00
Holger Könemann 71fa07a2d3 rechecking 2017-01-06 20:09:14 +01:00
Holger Könemann cc695d5867 readjusting toggles markup again 2017-01-06 20:00:03 +01:00
Holger Könemann eeb1516504 Adjusting navbar toggle markup breakpoint 2017-01-06 19:55:53 +01:00
Holger Könemann ddfa8d1344 Changing menu markup to alpha6 2017-01-06 19:51:53 +01:00
Holger cecaf549ba Merge pull request #161 from saknopper/file-permissions
header.php: remove executable bit
2016-12-15 09:06:47 +01:00
koenemann 366a6e689b removing id="content" from main nav 2016-11-25 13:50:04 +01:00
Sander Knopper de23189992 header.php: remove executable bit 2016-11-25 12:55:11 +01:00
Stef Kariotidis c4e5d495d4 root files code format 2016-11-21 20:47:05 +02:00
Stef Kariotidis b41729840f code formatting 2016-11-21 18:25:56 +02:00
Holger Könemann 2ef0ff0c58 Adding fluid/fixed container option to navbar 2016-11-20 20:36:22 +01:00
Stef Kariotidis a45ba5bddc no need for container option 2016-11-19 19:29:57 +02:00
koenemann 52298738c7 See https://github.com/holger1411/understrap/pull/128 2016-11-17 09:11:14 +01:00
Stef Kariotidis ee6de9e9ca fix undefined variable issue in header and footer 2016-11-15 13:09:46 +02:00
koenemann c9787c436a Align all templates to do the same left/rigth sidebar check 2016-11-14 15:16:24 +01:00
koenemann 85a6d42c00 Remove "role="button" from hamburger nav and remove gulpfile.js from .gitignore 2016-11-04 09:40:40 +01:00