porterwp
  • Welcome
  • Documentation
    • Directory Structure
    • Configuration Files
    • Porter Json
    • Posttypes Json
    • Taxonomies Json
    • Blocks Json
    • Posttypes Taxonomies
    • Assets
    • Blocks
    • Make Sh
    • Premium Filters Block
    • Ajax Filters
    • Caching
    • Hooks
    • Admin Ui
  • Filters
    • porter_acf_option_defaults
    • porter_block_folders
    • porter_block_path
    • porter_block_patterns_path
    • porter_blocks_array
    • porter_blockstyle_args
    • porter_blockstyles_path
    • porter_core_blockstyles_path
    • porter_core_pattern_categories
    • porter_default_object_args
    • porter_dynamic_blocks
    • porter_editor_scripts_default_args
    • porter_editor_styles_default_args
    • porter_filter_event_date
    • porter_filter_parsed_query
    • porter_filter_tax_query_relation
    • porter_public_scripts_default_args
    • porter_public_styles_default_args
    • porter_wp_config_filepath
    • porter_wp_inc_filepath
    • porter_wp_inc_filepath_exclusions
    • porter_wp_inc_load_first_filepaths
Powered by GitBook
On this page
  1. Documentation

Configuration Files

PorterWP is almost entirely driven by JSON inside porter/config/. Each file has its own guide:

File
Purpose

porter.json

Global settings, premium feature flags, asset enqueues

blocks.json

Block styles, pattern registration, dequeue/unregister rules

posttypes.json

Register custom post types

taxonomies.json

Register custom taxonomies

Use these in tandem with make.sh and the Gulp tasks to scaffold blocks, icons and CSS.

PreviousDirectory StructureNextPorter Json

Last updated 1 day ago