-
-
Save billerickson/9217413bbc0dac9a591cdd8d59b7346b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Container::make( 'post_meta', 'Page Options' ) | |
->where( 'post_type', '=', 'page' ) | |
->where( 'post_id', '!=', get_option( 'page_on_front' ) ) | |
->add_fields( array( | |
Field::make( 'image', 'ea_header_image', 'Header Image' ), | |
Field::make( 'textarea', 'ea_header_content', 'Header Content' ), | |
Field::make( 'checkbox', 'ea_disable_footer_form', 'Disable Form in Footer' ), | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment