• Stars
    star
    529
  • Rank 83,482 (Top 2 %)
  • Language
    PHP
  • Created almost 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is the sample theme created for the Genesis Framework.

Genesis Sample Theme

GitHub project link: https://github.com/studiopress/genesis-sample/.

Installation Instructions

  1. Upload the Genesis Sample theme folder via FTP to your wp-content/themes/ directory. (The Genesis parent theme needs to be in the wp-content/themes/ directory as well.)
  2. Go to your WordPress dashboard and select Appearance.
  3. Activate the Genesis Sample theme.
  4. Inside your WordPress dashboard, go to Genesis > Theme Settings and configure them to your liking.

Theme Support

Please visit https://my.studiopress.com/help/ for theme support.

For Developers

The version of Genesis Sample on GitHub includes tooling to check code against WordPress standards. To use it:

  1. Install Composer globally on your development machine. See Composer setup steps.
  2. In the command line, change directory to the Genesis Sample folder.
  3. Type the command composer install to install PHP development dependencies.
  4. Type composer phpcs to run coding standards checks.

You'll see output highlighting issues with PHP files that do not conform to Genesis Sample coding standards.

Run composer phpcbf if you see “phpcbf can fix the x marked sniff violations automatically” in the output of composer phpcs.

npm scripts

Scripts are also provided to help with CSS linting, CSS autoprefixing, and creation of pot language files. To use them:

  1. Install Node.js, which also gives you the Node Package Manager (npm).
  2. In the command line, change directory to the Genesis Sample folder.
  3. Type the command npm install to install dependencies.

You can then type any of these commands:

  • npm run autoprefixer to add and remove vendor prefixes in style.css.
  • npm run makepot to regenerate the languages/genesis-sample.pot file.
  • npm run lint:css to generate a report of style violations for style.css.
  • npm run lint:js to generate a report of style violations for JavaScript files.
  • npm run fix:js to fix any JavaScript style violations that can be corrected automatically.
  • npm run zip to create a genesis-sample.zip. Files in the excludes array in scripts/makezip.js are omitted.

Packaging for distribution

  1. Follow the install instructions for npm scripts above.
  2. Switch to the git branch you plan to distribute.
  3. Bump version numbers manually and commit those changes.
  4. Type npm run zip to create genesis-sample.zip. Files in the excludes array in scripts/makezip.js are omitted from the zip. filename.md files will be renamed to filename.txt.

More Repositories

1

atomic-blocks

Atomic Blocks has been renamed to Genesis Blocks. This plugin is no longer maintained! Visit Atomic Blocks → Migrate to migrate to the new plugin.
JavaScript
157
star
2

genesis-custom-blocks

A WordPress Admin interface and a simple templating system for building custom Gutenberg blocks.
JavaScript
83
star
3

simple-social-icons

Plugin: Simple Social Icons
PHP
57
star
4

responsive-menus

Genesis Responsive Menus
JavaScript
27
star
5

pattern-manager

Manage your theme's pattern PHP files the easy way, with Pattern Manager by WP Engine.
TypeScript
21
star
6

genesis-connect-woocommerce

Core plugin for developing WooCommerce integration
PHP
18
star
7

genesis-simple-hooks

Plugin: Genesis Simple Hooks
PHP
16
star
8

genesis-simple-sidebars

Plugin: Genesis Simple Sidebars
PHP
12
star
9

genesis-tabs

Plugin: Genesis Tabs
PHP
11
star
10

genesis-simple-faq

An accessible, performant WordPress plugin that adds FAQ management and rendering to your Genesis child theme.
PHP
10
star
11

seo-data-transporter

Plugin: SEO Data Transporter
PHP
10
star
12

agentpress-listings

AgentPress Listings
PHP
9
star
13

genesis-simple-menus

Plugin: Genesis Simple Menus
PHP
9
star
14

genesis-simple-edits

Plugin: Genesis Simple Edits
PHP
9
star
15

genesis-customizer

Proof of concept for a Customizer class for Genesis
PHP
5
star
16

genesis-responsive-slider

Plugin: Genesis Responsive Slider
PHP
4
star
17

genesis-beta-tester

Plugin: Genesis Beta Tester
PHP
3
star
18

social-profiles-widget

Plugin: Social Profiles Widget
PHP
2
star
19

gcb-block-templates

PHP
2
star
20

genesis-fancy-dropdowns

Plugin: Genesis Fancy Dropdowns
PHP
2
star
21

.github

Central repo for templates and community health files
1
star