aleph, Cimy integration
-
I found this code to add ONE extra field but how do I add ALL extra fields from Cimy or even just another field from Cimy? I am using it with aleph. The code is below, thanks.
<?php get_header(); ?>
<!–
This is a example template for Aleph.
The function aleph_user_profile() outputs a formatted profile. You need to put it between the adequate markup of your template.–>
<div id=”content” class=”narrowcolumn”><?php
add_action(‘aleph_user_profile_fields’, ‘display_user_cimy_field’);function display_user_cimy_field() {
$address = aleph_get_user_cimy_field(“address”);
if ($address) {
echo ‘<dt>Address</dt>’;
echo ‘<dd>’ . $address . ‘</dd>’;
}
}
aleph_user_profile(
array(
‘before_title’ => ‘<h2 class=”center”>’,
‘after_title’ => ‘</h2>’,
‘before_section’ => ‘<div class=”entry”><h3>’,
‘after_section’ => ‘</h3>’,
‘before_avatar’ => ‘<div style=”float: right;”>’,
‘after_avatar’ => ‘</div></div>’
)
);
?></div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
The topic ‘aleph, Cimy integration’ is closed to new replies.