Commit graph

45 commits

Author SHA1 Message Date
Claudio Sanches
6e48800316 Allow return the storefront_site_title_or_logo() 2016-10-08 02:20:48 -03:00
Patrick Rauland
0222a61cc5 Update storefront-template-functions.php
Changing footer credit from WooThemes to WooCommerce
2016-10-05 09:12:38 -06:00
James Koster
56ae141dd7 Adds new actions to wrap post content. closes #482
* `storefront_post_thumbnail` is now hooked in to
`storefront_post_content_before`
* `storefront_post_thumbnail() now provides a default arg`
2016-10-03 11:13:18 +01:00
opportus
60f22c5572 structured data update 2016-09-26 23:14:46 +02:00
James Koster
323e713e85 Only wrap logo / title in a h1 if the posts page is the homepage 2016-08-15 10:42:22 +01:00
James Koster
71bc5b3961 custom logo selective refresh 2016-08-03 09:49:16 +01:00
James Koster
279147af4e add logo class 2016-08-02 17:19:08 +01:00
James Koster
89eb8587d3 coding standards tidy up 2016-08-01 11:17:10 +01:00
opportus
d5a4aa7f4c improved semantic html - woocommerce - revision1 2016-07-28 18:17:31 +02:00
opportus
1493485074 improved semantic html - header and footer fixes - revision5 2016-07-28 17:20:33 +02:00
opportus
7527761474 improved-semantic html - archive 2016-07-28 14:27:12 +02:00
opportus
5f986f681f improved semantic html - header and footer fixes - revision4 2016-07-28 14:13:16 +02:00
opportus
74dbcd2e62 improved semantic html - header and footer fixes - revision3 2016-07-27 23:33:46 +02:00
opportus
c66d6c4da4 improved semantic html - single post 2016-07-27 19:40:14 +02:00
opportus
4d98f07a4a improved semantic html - header and footer fixes - revision2 2016-07-27 15:50:32 +02:00
opportus
c681270db7 improved semantic html - header and footer fixes 2016-07-26 08:20:51 +02:00
Martin
148449499a Check if functions exist 2016-07-12 08:37:41 +02:00
Tyler Janzen
fdb09dbd1c Added check for existence of secondary nav menu
If not using a secondary nav menu, you end up with an empty <nav> tag which
messes up the layout of the search bar which get pushed below the title/logo.
This also causes the header to be larger than desired and looks terrible.
This patch simply checks for the existence of a secondary menu before it outputs
the <nav> tags, thus not echoing an empty <nav> tag if you don't use a secondary
nav menu.
2016-06-23 05:57:03 -06:00
Nicola Mustone
3ad17b639a use core function 2016-06-02 12:18:59 +02:00
Nicola Mustone
facab5e124 fix fatal error if WooCommerce is not installed 2016-06-02 08:25:57 +02:00
James Koster
d877359a77 coding standards / changelog 2016-06-01 12:26:01 +01:00
opportus
f05eea7117 Structured data improvement 2016-05-26 07:57:50 +02:00
James Koster
3e4efc5256 fix a typo 2016-05-11 14:39:29 +01:00
James Koster
3557986345 comment style tweaks 2016-04-25 13:49:21 +01:00
James Koster
2ed3e24d98 Fix duplicate functions. closes #368 2016-04-11 15:17:48 -05:00
James Koster
edf3eaa510 various typography / design tweaks 2016-04-11 15:16:11 -05:00
James Koster
a4e201b5eb remove unnecessary logo prompt in the customizer. #340 2016-03-21 10:22:39 +00:00
James Koster
d2fb9475b5 Adds support for WordPress 4.5's site logo feature. closes #340 2016-03-18 14:34:16 +00:00
James Koster
79159b1203 Wrap the main nav / cart in a section and style it 2016-03-18 12:10:14 +00:00
James Koster
1d6eec5cac animate the menu toggle button icon 2016-03-15 16:06:04 +00:00
James Koster
5ad5c684d7 typo/coding standards. closes #324 2016-03-15 13:23:59 +00:00
James Koster
9617f499e0 Merge pull request #345 from BurlesonBrad/patch-3
753-781 added Best Selling Products w/ identical format as other sections
2016-03-15 13:18:59 +00:00
James Koster
d9e5011155 correct sanitisation 2016-03-15 13:18:22 +00:00
Brad Griffin
319951070e Update storefront-template-functions.php
why does this 'fork' / 'pull' / 'propose file change' look different than the other two that I did? 
....or am I about to click something different and not realize it? 

Again, we're just Add Best Selling Products to 753-781 for 2.0
2016-03-13 15:47:15 -05:00
James Koster
85ca5afd37 updates the checkbox sanitization function and the post meta markup 2016-03-01 20:32:55 +00:00
James Koster
a3ec0358fa ensure php adheres to coding standards according to PHP CodeSniffer / wpcs. closes #326 2016-02-25 14:46:06 +00:00
Farook Ibrahim
e99531ec1e Refs: #329 2016-02-23 16:21:49 +05:30
James Koster
e6f4679187 validation in storefront_posted_on(). 2016-02-22 15:22:16 +00:00
James Koster
1409ee5c66 lots of coding standards tweaks. #326 2016-02-19 16:57:56 +00:00
James Koster
880a933745 use more engaging titles for homepage product sections 2016-02-09 17:26:28 +00:00
James Koster
fd4c2b4972 adds a menu bar on handheld devices. #315 2016-02-08 17:13:41 +00:00
James Koster
08f5089c90 redesigned the post meta section 2016-02-05 09:55:25 +00:00
James Koster
97eebe0924 A large code cleanup and sets $storefront_version as a global var
* Strip spaces
* more efficient syntax
* Coding standards compliance
2016-02-04 13:16:31 +00:00
James Koster
03b74ffffd template file tidy up
Also removes and deprecates `storefront_categorized_blog()`
2016-01-21 10:50:49 +00:00
James Koster
5dd0d0d5b5 Refactor step 1!
Replaces the old convoluted / confusing file structure with a neater
class based system. It should now be easier to understand the purpose
of each file.

Performance should see a small bump and it will be easier to extend
core features like the Customizer integration.

File names are more akin to WooCommerce core which improves consistency
/ recognisability.

Assets are all arranged into a single dir rather than being spread out
all over the place.

Deprecated `storefront_sanitize_hex_color()`.

Updated Gruntfile.js to reflect new structure.
2016-01-20 16:02:53 +00:00