- primary functions are stored in functions.php
- secondary/plug-in functions are stored in /includes
- recurring UI elements are stored as unique php files in /modules
- css is broken down into separate files that correspond to php files
- php files named by wp page/template type or module/element type with -- modifiers
- ACF organized into groups by corresponding post type, page template, or global group, with post type or page template name as prefix
- we use { } for continguous php and :/else:/endif; for PHP broken up by html
- https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/
- in-line php lines up with previous html element (if statements)
- line-breaks between php and in-line html
- This repository will automatically deploy changes to production when successfully merging to the
main
branch. main
can only be edited by pull-requests from other branches.
- [] later - simplify if statement syntax ( a ? b : c); e.g.
wp_nav_menu( array( 'theme_location' => is_user_logged_in() ? 'logged-in-menu' : 'logged-out-menu' ) );
- [] clean up template/modules hierarchy on video single and language single
- [] convert jquery to vanilla javascript
- [] add alert banner and display only if user hasn't visited the site in a week
- [] build captions post type
- [] build single page template for partners post type
- [] add: "about" drop down to header (footer only for launch)
- [] backwards compatibility evaluation
- [] ADA accessibility evaluation
- [] blog integration
- [] browser notifications opt-in
- [] make homepage banner a carousel
- [] make testimonial carousel a true carousel
- [] sort results by language first, then video, then lexicons, then resources - or, alternatively, divide results into sections with language videos, language pages, etc - to make it easier on the eyes
- [] add: historical interns, other secondary team data
- [] inlcude more clarity for external resources
- [] related languages carousel
- [] add continent of origin
- [] toggle metadata view for for more than 1 language
- [] toggle all metadata view on mobile
- [] once captions post type is live, add download feature
- [] figure out navigation path from single videos back to the language in question
- [] figure out embeds for Dropbox files (not on YouTube)
- [] related videos carousel
- [] language collection pages - probably page templates with customized for-loops baased on ACF fields (need to define what we want to sort by)
- [] micro-blogging feature
- [] other fellows carousel
- [] toolkit newsletter propt
- [] toolkit language prompt
- [] toolkit donate prompt