Dac Chartrand
6fefcce835
Simple honeypot ( fixes #134 ) ( #135 )
6 years ago
Ned Zimmerman
e2c0916968
Ensure that unsupported catalog subjects aren't loaded ( #133 )
...
We can't display BISAC subjects in a human-readable format, so we should apply the `is_bisac()` utility to ensure that we only attempt to display Thema subjects on the catalog and book cards within the catalog.
6 years ago
Ned Zimmerman
e7e4b51063
Fix catalog subjects issue
6 years ago
Dac Chartrand
1fc37da302
Create a new book menu item ( #132 )
...
For users created with SSO that have no books.
blog = Logged in users may register new sites
all = Both sites and user accounts can be registered
6 years ago
Ned Zimmerman
743e20f35e
Use Pressbooks coding standards ( #131 )
6 years ago
Ned Zimmerman
d283cc836c
Enable WordPress 4.9.6 GDPR tools ( #129 )
...
This PR lets Aldine (and by extension the Pressbooks landing page site) display the export and erase personal data panels introduced in WordPress 4.9.6. They will only be visible to those who have admin access to the root site (network managers).
6 years ago
Ned Zimmerman
5615e8c063
Adjust labels as per feedback.
7 years ago
Ned Zimmerman
abd4314b36
Add customizer options for dark (hover) colours ( #125 )
...
* Add dark variants for primary/accent colours in customizer.
* Expand contrast checks to handle dark variants.
7 years ago
Ned Zimmerman
563bc50e31
Fix contact form title ( fixes #122 ). ( #123 )
7 years ago
Ned Zimmerman
675941b406
Use correct property for CTA link ( fix #118 ). ( #119 )
7 years ago
Ned Zimmerman
cb604c7588
Fix colour variants ( fixes #111 ).
7 years ago
Ned Zimmerman
03df1ac78c
Hook up new email to contact form.
7 years ago
Dac Chartrand
c45679798d
New customizer option: Contact Email ( fixes #109 ) ( #113 )
7 years ago
Ned Zimmerman
ef6225a0f2
Add shortcode buttons ( #108 )
...
* Add buttons for page sections and calls to action.
* Fix coding standards.
* Fix localization.
7 years ago
Dac Chartrand
c5b7a6471e
Hide archived, spammed or deleted books from catalog ( fixes #106 ) ( #107 )
7 years ago
Ned Zimmerman
d10949677c
Use a separate cookie for root font size.
7 years ago
Ned Zimmerman
1409a01b77
Update activation routine to use shortcodes.
7 years ago
Ned Zimmerman
0866e9afe8
Fix pages without content ( close #102 )
7 years ago
Ned Zimmerman
826dc93086
Load header image from ( fix #104 )
7 years ago
Dac Chartrand
7bd5c9bc67
Misc Fixes ( #91 )
...
* Suppress "Display title and tagline" in customizer (fixes #88 )
* Suppress header text colour in customizer (fixes #86 )
* Migrate site logo (fixes #85 )
* Change 404 message when catalog is empty (fixes #90 )
7 years ago
Ned Zimmerman
2bb6dc088a
Add custom shortcodes: aldine_page_section, aldine_call_to_action.
7 years ago
Ned Zimmerman
7b0b88a45c
Reduplicate some code to make sre things work without Pressbooks.
7 years ago
Ned Zimmerman
9fc027ffd7
Automatically generate variants for customizer colors.
7 years ago
Ned Zimmerman
f410154d31
Show user catalog link in menu ( fix #78 )
7 years ago
Dac Chartrand
2fe6fe271b
Fix contrast feedback ( #76 ) ( #77 )
...
Moved to `customize_controls_enqueue_scripts` action (instead of `customize_preview_init`)
7 years ago
Ned Zimmerman
1793386ff2
Fixes for #71 ( #73 )
...
* Redirect empty catalog to 404, hide empty landing page catalog, hide content editor for catalog page.
* PHPCS fix.
* Use ??.
7 years ago
Dac Chartrand
ff02fb6eb5
Ensure support for OAuth registration/sign in ( #70 )
7 years ago
Dac Chartrand
fd0669e842
Catalog opt-in and faster front page ( fixes #65 ) ( #68 )
...
* Widgets not supported
@see pressbooks-aldine/inc/intervention.php
* Catalog page: restore network admin controls (issue #65 )
* Connect functionality to get_catalog_data
* Better, strong, faster, ...sort-y-er? (issue #65 )
* Fix accessibility issue, handle the old option from networks that have been using Pressbooks Publisher
* Fix eslint failure
* Fix sorting. Fix coding standards.
* Let phpcbf fix things for me.
* Remove odd leftover comment.
7 years ago
Ned Zimmerman
b3b9317588
Add migration from Pressbooks Publisher ( fix #53 ). ( #55 )
7 years ago
Ned Zimmerman
5268033590
Fix failing tests.
7 years ago
Ned Zimmerman
b66d12b511
Fix catalog and customizer ( close #2 , close #48 ).
7 years ago
Ned Zimmerman
3d1344cb72
Rework catalog sort/filter.
7 years ago
Ned Zimmerman
24c21b3c0d
Fix page layout, part two.
7 years ago
Ned Zimmerman
b25c41e6b3
Fix internal pages ( closes #18 ).
7 years ago
Ned Zimmerman
df710eca7d
Add SVG icons to footer, fix #47 .
7 years ago
Ned Zimmerman
15fe65d7bf
Remove ParsedownExtra remnants.
7 years ago
Ned Zimmerman
5084eb4195
Generate fallback menu ( fix #44 ). ( #45 )
7 years ago
Ned Zimmerman
9b0c326370
Add more blocks.
7 years ago
Ned Zimmerman
3ad5a0513d
Clean up blocks on front page, a bit.
7 years ago
Ned Zimmerman
227d37ea89
Remove landing page widgets, fix activation.
7 years ago
Ned Zimmerman
2e0e912e0e
Update contact form.
7 years ago
Ned Zimmerman
59633ff08c
More cleanup (header and JS).
7 years ago
Ned Zimmerman
6d6021debb
Some header cleanup.
7 years ago
Ned Zimmerman
4cc00956a1
Add menu setup routines.
7 years ago
Ned Zimmerman
6c833a12a6
Add font size toggle.
7 years ago
Ned Zimmerman
a241f67f96
Clean up functions.php.
7 years ago
Ned Zimmerman
b85765f54f
Disable Pressbooks features if Pressbooks isn't installed.
7 years ago
Ned Zimmerman
2652847029
Standardize localization.
7 years ago
Ned Zimmerman
5e69de9db5
Rebuild based on _s ( #40 )
7 years ago