Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of hnla

Support: Creating & Extending

Existing and new plugins/components and themes.

link for new post, edit posts, etc… (3 posts)

Started 1 year, 7 months ago by: Famous

  • Profile picture of Famous Famous said 1 year, 7 months ago:

    I plan on putting my own custom logos with links in the upper sidebar for a more customized feel. I am gonna put an icon and text description right below, and both will be links to their (blogs) backened (write posts, edit posts, etc…) blogs. How can I do this? I tried:
    ? php echo bp_loggedin_user_domain() ? post-new.php
    but it didn’t work it wouldn’t add the username to the address bar. It kept redirecting to the dashboard, any ideas?

  • Profile picture of r-a-y r-a-y said 1 year, 7 months ago:

    Check out the bp_adminbar_blogs_menu() function in /bp-core/bp-core-adminbar.php for hints.

    Depending on your needs, you could also use the blogs loop:

    http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-blogs-loop/

  • Profile picture of Famous Famous said 1 year, 7 months ago:

    not sure how to use (bp_adminbar_blogs_menu() function in /bp-core/bp-core-adminbar.php) it. I tried this:
    a href=”‘ . $site_url . ‘wp-admin/post-new.php”‘ . __( ‘New Post’, ‘buddypress’ ) . ‘/a
    but it showed this in my address bar:

    http://mysite.com/%27%20.%20$site_url%20.%20%27wp-admin/post-new.php

    It didn’t show the user address. What part am I missing? Thanks