This file contains hidden or 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 | |
| /** | |
| * Custom Group Fields. | |
| */ | |
| function yzc_custom_groups_fields() { | |
| $fields = array( | |
| array( 'title' => 'Meetup Date & Time', 'name' => 'meetup_date', 'type' =>'text' ), | |
| array( 'title' => 'Meetup Country', 'name' => 'meetup_country', 'type' =>'text' ), |
This file contains hidden or 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 | |
| // Change Activation Message | |
| function yzc_translate_activation_msg( $translated_text ) { | |
| switch ( $translated_text ) { | |
| case 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.' : | |
| $translated_text = 'type your new message here'; | |
| break; | |
| } | |
This file contains hidden or 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 | |
| add_action('admin_init', 'gpm_add_meta_boxes', 2); | |
| function gpm_add_meta_boxes() { | |
| add_meta_box( 'gpminvoice-group', 'Custom Repeatable', 'Repeatable_meta_box_display', 'page', 'normal', 'default'); | |
| } | |
| function Repeatable_meta_box_display() { | |
| global $post; | |
| $gpminvoice_group = get_post_meta($post->ID, 'customdata_group', true); |
This file contains hidden or 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
| # This is a template .gitignore file for git-managed WordPress projects. | |
| # | |
| # Fact: you don't want WordPress core files, or your server-specific | |
| # configuration files etc., in your project's repository. You just don't. | |
| # | |
| # Solution: stick this file up your repository root (which it assumes is | |
| # also the WordPress root directory) and add exceptions for any plugins, | |
| # themes, and other directories that should be under version control. | |
| # | |
| # See the comments below for more info on how to add exceptions for your |