百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nasapress

> 编程语言
开源

已淘汰的 WordPress 主题,用于 NASA 格伦研究中心的网站。仅保留作历史参考,不再进行任何活动维护。

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

已淘汰的 WordPress 主题,用于 NASA 格伦研究中心的网站。仅保留作历史参考,不再进行任何活动维护。

NASAPress (a WordPress Theme)

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.

Support and compatibility status

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.

Repository notice

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.

Sites using NASAPress

Legacy NASA Glenn Research Center websites, including www1.grc.nasa.gov and related support sites.

Historical theme information

The remainder of this README is preserved primarily for historical/reference purposes and reflects the original installation, setup, and development guidance for NASAPress.

Features

  • Built on Sage 9.0.0-beta.3
  • Sass for stylesheets
  • ES6 for JavaScript
  • Webpack for compiling assets, optimizing images, and concatenating and minifying files
  • Browsersync for synchronized browser testing
  • Laravel's Blade as a templating engine
  • NASA Glenn Web Design System based on the U.S. Web Design System for CSS framework
  • Font Awesome

Required plugins

  • Add Categories to Pages
  • Advanced Custom Fields

Recommended plugins

  • NASAPress Companion
    • adds shortcodes for displaying nasa.gov news articles, spinoffs, and lists of pages.
  • Advanced TinyMCE Configuration
    • allows editors to add NASA Web Design Standards styles to elements in the visual text editor.
  • TinyMCE Advanced
  • Better WordPress External Links
    • Plugin Settings:
      • Set External links' CSS class to usa-external_link
      • Uncheck 'Use CSS provided by this plugin?'
  • Disable Search
    • if using DigitalGov Search
  • Responsive Lightbox
    • for viewing images in a lightbox.
  • Yet Another Related Posts Plugin
  • Yoast SEO
    • for breadcrumbs
  • Gravity Forms and Gravity Forms Survey Add-On
    • for site feedback form and other forms.
  • Popup Maker
    • for displaying site feedback form in a popup window.
  • Hide YouTube Related Videos
  • Broken Link Checker

Designed for use with these services

  • Digital Analytics Program
  • DigitalGov Search

Requirements

Make sure all dependencies have been installed before moving on:

  • WordPress >= 4.7
  • PHP >= 5.6.4
  • MySQL >= 5.6 or MariaDB >= 10.0
    • Earlier versions don't support FULLTEXT index for InnoDB engine required by YARPP plugin. See this explanation of issue.
  • Composer
  • Node.js >= 6.9.x
  • Yarn

Theme installation

Clone this repo into your WordPress themes directory.

Install Composer dependencies:

bash
# @ app/themes/nasapress or wp-content/themes/nasapress
$ composer install

Run 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 hostname
  • publicPath should reflect your WordPress folder structure (/wp-content/themes/nasapress for non-Bedrock installs)

Theme setup

Search the theme folder for todo-config. These comments mark the locations where you'll likely need to make customizations for your site.

Add top navigation

Create a menu and assign it to the 'Primary Navigation' location.

Enable breadcrumbs

Install and activate the Yoast SEO plugin. Follow steps 1-5 in this guide to enable yoast breadcrumbs.

Enable related pages

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.

Add NASA Web Design Standards styles to Visual Editor

todo

Add site feedback form

todo

Using the theme

Page templates

Home page

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.

xml

  

  
  

  
  

    
  

Landing 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.

Default template

The default template has no top hero section.

On this page navigation

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.

Setting NASA Official

A NASA Official can be added or changed on the edit page category screen. You can select from any users of your WordPress site.

Theme structure

…

Theme development

Build commands

  • yarn run start — Compile assets when file changes are made, start Browsersync session
  • yarn run build — Compile and optimize the files in your assets directory
  • yarn run build:production — Compile assets for production

Todos

Make site title customizable in wp-admin. Make right side of footer customizable in wp-admin.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言