Steel Wagstaff
3667d97687
Add aria-label to primary nav ( #282 )
...
* Add aria-label to primary nav
3 years ago
Ricardo Aragon
956df18b4a
Add classes for nav primary menu items and footer items ( #273 )
...
* Add classes for nav primary menu items and footer items
* Change variable name
* Update Pressbooks support link URL & WP version in pipeline
Co-authored-by: SteelWagstaff <steel@pressbooks.com>
3 years ago
Oscar Arzola
3f7cbb9ef1
Use classic widgets in WP 5.8 ( #270 )
3 years ago
Ricardo Aragon
7635a4d94d
Adding user admin url top menu link for users who doesn't belongs to a book, blog or site' && git push origin pbald-219-UserAdminLinkMenu
4 years ago
Ho Man Chan
28ba430afa
Fix site option to use string
4 years ago
Ho Man Chan
0a542a8875
Fix Lint
4 years ago
Ho Man Chan
1b9f5a4224
Fix lint class ordering
4 years ago
Ho Man Chan
d47a17cce9
Fix lint class ordering
4 years ago
Ho Man Chan
6ad16a29df
Add network directory exclude when in catalog is toggled
4 years ago
Steel Wagstaff
ab9e471a6c
Add support for Instagram to Aldine ( #212 )
...
* Add support for Instagram to Aldine customizer
* Replace instagram logo
Use SVG that matches other social icons
* Fix Instagram SVG size
* Fix linting error
5 years ago
Carlos Gutiérrez
646bb05f54
Revert increase font-size feature ( #206 )
5 years ago
Dac Chartrand
1b927aff6a
Fix#202 Books not being added to catalog ( #203 )
...
Set `number` to to something absurdly high
Use `meta_key` and `meta_value` to narrow results even further
Fix undefined variable warning
5 years ago
Dac Chartrand
60100a08dc
Fix syntax error
...
Trailing commas in functions only supported in PHP 7.3
The unit tests, they do nothing!
5 years ago
Dac Chartrand
139d01f558
Use wp_blogmeta to speed up catalog ( #192 )
...
Use wp_blogmeta to speed up catalog
Fixes TODO in reference to: https://core.trac.wordpress.org/ticket/37923
Depends on https://github.com/pressbooks/pressbooks/pull/1805
5 years ago
Daniel Fernandes
9a9c110427
Contact link form, color picker a11y tweaks ( #186 )
...
Fixes : pressbooks/ideas#180
Fixes : pressbooks/pressbooks#1659
6 years ago
Ned Zimmerman
95605f2390
Add fallback for CTA shortcode using old attribute ( fix #184 ) ( #185 )
6 years ago
Dac Chartrand
144da94e6f
Load translations
6 years ago
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