Making WordPress.org


Ignore:
Timestamp:
05/24/2017 06:25:21 PM (8 years ago)
Author:
coreymckrill
Message:

WordCamp: Add Twitter Handle field to Sponsor CPT

This commit adds the field to the Sponsor CPT on individual WC sites.
A corresponding field in the multi-event-sponsors plugin still needs
to be added.

Refs #2383
Props chandrapatel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-sponsor-info.php

    r3601 r5509  
    106106
    107107        <?php $this->render_form_field_required_indicator(); ?>
     108    </li>
     109
     110    <li>
     111        <label for="_wcpt_sponsor_twitter_handle">
     112            <?php esc_html_e( 'Twitter Handle:', 'wordcamporg' ); ?>
     113        </label>
     114
     115        <input
     116            type="text"
     117            class="regular-text"
     118            id="_wcpt_sponsor_twitter_handle"
     119            name="_wcpt_sponsor_twitter_handle"
     120            value="<?php echo esc_attr( $twitter_handle ); ?>"
     121        />
    108122    </li>
    109123
Note: See TracChangeset for help on using the changeset viewer.