Skip to content

Instantly share code, notes, and snippets.

@stevengliebe
Last active September 1, 2017 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevengliebe/366b7aed6d3cfb3654c7 to your computer and use it in GitHub Desktop.
Save stevengliebe/366b7aed6d3cfb3654c7 to your computer and use it in GitHub Desktop.
Example of using Church Content plugin field_overrides. http://churchthemes.com/guides/developer/church-content/
<?php
'field_overrides' => array(
'_ctc_person_urls' => array(
'name' => __( 'New Title', 'yourtheme' ),
'desc' => __( 'Enter one URL per line.', 'yourtheme' )
),
'_ctc_person_email' => array(
'desc' => sprintf( __( 'The WordPress <a href="%s" target="_blank">antispambot</a> function is used to help deter automated email harvesting.', 'yourtheme' ), 'http://codex.wordpress.org/Function_Reference/antispambot' )
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment