Deprecated legacy WordPress theme for NASA Glenn Research Center sites. Retained for historical reference; no further active maintenance planned.
Deprecated legacy WordPress theme for NASA Glenn Research Center sites. Retained for historical reference; no further active maintenance planned.
Project status: Deprecated / legacy theme
NASAPress is no longer under active NASA development or support. This repository is being retained as a historical reference for legacy NASA Glenn Research Center websites that still use the theme.
NASAPress should be treated as unsupported legacy code. No new feature development is planned, and the repository may be archived.
NASAPress is a legacy WordPress theme used for older NASA Glenn Research Center web properties, including www1.grc.nasa.gov and related support sites.
Based on current operational assessment, WordPress for these remaining legacy sites is expected to remain fixed at WordPress 6.3.5 for the remainder of their service life.
Because NASAPress is no longer actively maintained, compatibility with newer WordPress core releases, newer PHP versions, and current or future plugin releases is not guaranteed.
In particular, some plugins may require newer WordPress versions or may introduce regressions or incompatibilities when used with this theme and its older codebase.
Recommendation: use NASAPress only in limited sustainment mode until the remaining legacy sites are retired. Avoid elective enhancements or major theme changes.
This repository contains historical source code and older front-end build tooling. Security notices associated with dependency files in this repository should be understood in that context. The repository is not intended to represent an actively maintained or modern WordPress theme baseline.
Legacy NASA Glenn Research Center websites, including www1.grc.nasa.gov and related support sites.
The remainder of this README is preserved primarily for historical/reference purposes and reflects the original installation, setup, and development guidance for NASAPress.
usa-external_linkMake sure all dependencies have been installed before moving on:
Clone this repo into your WordPress themes directory.
Install Composer dependencies:
# @ app/themes/nasapress or wp-content/themes/nasapress
$ composer installRun yarn from the theme directory to install dependencies. If you won't be making changes to the theme's static assets (css, javascript, images) then run yarn install --production.
Update resources/assets/config.json settings:
devUrl should reflect your local development hostnamepublicPath should reflect your WordPress folder structure (/wp-content/themes/nasapress for non-Bedrock installs)Search the theme folder for todo-config. These comments mark the locations where you'll likely need to make customizations for your site.
Create a menu and assign it to the 'Primary Navigation' location.
Install and activate the Yoast SEO plugin. Follow steps 1-5 in this guide to enable yoast breadcrumbs.
If you want to show related pages at the bottom of pages install and activate the YARPP plugin. On the plugin settings, you might see a message about 'consider titles' and 'consider bodies' being disabled due to InnoDB... If you are using MySQL 5.6 or greater, expand the message and click the 'Create FULLTEXT indices' button to enable them.
Under display options, select 'Pages', then click the Custom button and make sure 'You Might Also Like' is selected as the template file.
todo
todo
Although not technically a template the theme expects a static front page and styles it differently than the others. Use the following as a starting point for this page.
The landing page template features a large hero image with leading paragraph followed by text. Make sure your featured image is large enough to not pixellate too much at larger screen sizes.
The default template has no top hero section.
The default and landing page templates automatically convert h2, h3, and h4 tags into left 'in page' navigation. For shorter pages, this may not be desired, and can be turned off in the "On this page" settings on the edit page screen. In this section, you can also change which heading tags to convert to navigation.
A NASA Official can be added or changed on the edit page category screen. You can select from any users of your WordPress site.
…yarn run start — Compile assets when file changes are made, start Browsersync sessionyarn run build — Compile and optimize the files in your assets directoryyarn run build:production — Compile assets for productionMake site title customizable in wp-admin. Make right side of footer customizable in wp-admin.
No open issues yet, or sync has not completed.