Exemplo n.º 1
0
        the_title();
        ?>
</h1>
                    <div class="table">
                        <div class="table-cell entry-meta">
                            <?php 
        buddyboss_entry_meta();
        ?>
                        </div>
                        <div class="table-cell">
                            <!-- Socials -->
                            <div class="btn-group social">

                            <?php 
        foreach (buddyboss_get_user_social_array() as $social => $name) {
            $url = buddyboss_get_user_social(get_the_author_meta('ID'), $social);
            ?>

                            <?php 
            if (!empty($url)) {
                ?>
			
                            <a class="btn" href="<?php 
                echo $url;
                ?>
" title="<?php 
                echo esc_attr($name);
                ?>
"><i class="alt-social-icon alt-<?php 
                echo $social;
                ?>
								<span class="location"><?php 
            echo stripslashes($address);
            ?>
</span>
								<?php 
        }
    }
}
?>
                    </div>
                    <!-- Socials -->
                    <div class="btn-group social">

                    <?php 
foreach (buddyboss_get_user_social_array() as $social => $name) {
    $url = buddyboss_get_user_social(bp_displayed_user_id(), $social);
    ?>

                    <?php 
    if (!empty($url)) {
        ?>
			
                    <a class="btn" href="<?php 
        echo $url;
        ?>
" title="<?php 
        echo esc_attr($name);
        ?>
"><i class="alt-social-icon alt-<?php 
        echo $social;
        ?>