Skip to:
Content
Pages
Categories
Search
Top
Bottom

codex help needed: documentation for dummies

  • Avatar of Enlightenmental1
    enlightenmental1
    Participant

    @enlightenmental1

    <?php echo $user->avatar ?>

    where does one find more of these?

    specifically where/how to add elements to the users blog

    I have the blog admin information dispalying on their sidebar, but cannot get the other codex samples to work

    how do i define a dynamic user_id ?

    <?php if ( bp_has_blogs() ) : ?>

    <div class=”pag-count” id=”blog-count”>

    <?php bp_blogs_pagination_count() ?>

    </div>

    <div class=”pagination-links” id=”blog-pag”>

    <?php bp_blogs_pagination_links() ?>

    </div>

    <ul id=”blog-list” class=”item-list”>

    <?php while ( bp_blogs() ) : bp_the_blog(); ?>

  • <!– Example template tags you can use –>

    <?php bp_blog_permalink() ?>

    <?php bp_blog_title() ?>

    <?php bp_blog_description() ?>

  • <?php endwhile; ?>

    <?php else: ?>

    <div id=”message” class=”info”>

    <p>No blogs found for user.</p>

    </div>

    <?php endif;?>

    in the above code, if I wanted to insert that into the sidebar of every user’s blog, how do i keep the user_id dynamic so it disaplys the content of the blog owner…. not pre-defined

    plz help….. the documentation is hard to understand without more examples for us noobs

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.