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
//line 251 of includes/views/single-listing.php | |
echo '<h5>Tagged Features</h5><ul class="tagged-features">'; | |
echo get_the_term_list( get_the_ID(), 'features', '<li>', '</li><li>', '</li>' ); | |
echo '</ul><!-- .tagged-features -->'; | |
// for displaying the term image | |
<?php |
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 | |
/* | |
Plugin Name: PMPro BuddyPress Customizations | |
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-buddypress-customizations/ | |
Description: Example code to lock down parts of BuddyPress with PMPro | |
Version: 0.1 | |
Author: Stranger Studios | |
Author URI: http://www.strangerstudios.com | |
*/ | |
/* |
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 | |
/** | |
* This file adds the User Directory template to the Minimum Theme. | |
* | |
* @author StudioPress | |
* @package Parallax | |
* @subpackage Customizations | |
*/ | |
/* |
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 | |
/* | |
Plugin Name: Restrict Content Pro - Custom User Fields | |
Description: Adds additional user fields to the registration process | |
Version: 1.0 | |
Author: Pippin Williamson | |
Author URI: http://pippinsplugins.com | |
Contributors: mordauk, angiemeeker | |
*/ |
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
I managed to do this fairly easily by editing the “class-rcp-export-members.php” file. But it would be great if there was a hook there to add in my custom fields? | |
For reference for people, just add a column to the “csv_cols” function on line 35. | |
And then add your custom field to the “get_data” data array on line 71 like this: | |
‘telephone’ => get_user_meta($member->ID, ‘rcp_telephone’, true); |
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 | |
/** | |
* This file adds the User Directory template to the Minimum Theme. | |
* | |
* @author StudioPress | |
* @package Parallax | |
* @subpackage Customizations | |
*/ | |
/* |
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
//* Add Newsletter Group Meta to Newsletter | |
add_action( 'genesis_entry_header', 'ogs_newsletters', 12 ); | |
function ogs_newsletters($post_meta) { | |
if( is_page ( 'newsletters' ) ) { | |
if( have_rows('newsletter_archive') ): | |
while( have_rows('newsletter_archive') ): the_row(); | |
// vars | |
$newsletter_archive_year = get_sub_field('newsletter_archive_year'); | |
$newsletter_january = get_sub_field('newsletter_january'); | |
$newsletter_february = get_sub_field('newsletter_february'); |
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
//* Add Newsletter Group Meta to Newsletter | |
add_action( 'genesis_entry_header', 'ogs_newsletters', 12 ); | |
function ogs_newsletters($post_meta) { | |
if( is_page ( 'newsletters' ) ) { | |
if( have_rows('newsletter_archive') ): | |
while( have_rows('newsletter_archive') ): the_row(); | |
// vars | |
$newsletter_archive_year = get_sub_field('newsletter_archive_year'); | |
$newsletter_january = get_sub_field('newsletter_january'); | |
$newsletter_february = get_sub_field('newsletter_february'); |
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
//* Add Newsletter Group Meta to Newsletter | |
add_action( 'genesis_entry_header', 'ogs_newsletters', 12 ); | |
function ogs_newsletters($post_meta) { | |
if ( is_page ( 'newsletters' ) ) { | |
if( have_rows('newsletter_archive') ): | |
while( have_rows('newsletter_archive') ): the_row(); | |
// vars | |
$newsletter_archive_year = get_sub_field('newsletter_archive_year'); | |
$newsletter_january = get_sub_field('newsletter_january'); | |
$newsletter_february = get_sub_field('newsletter_february'); |
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 | |
/** | |
* This file adds the User Directory template to the Parallax Pro Theme. | |
* | |
* @author StudioPress | |
* @package Parallax | |
* @subpackage Customizations | |
*/ | |
/* |