WordPress.org

Forums

Bowe Codes
[resolved] Fix for blog title link not linking to blog (2 posts)

  1. nathanegraham
    Member
    Posted 2 years ago #

    I'm on BP 1.6.4. When I add a blog using Bowe Codes it's pulled in correctly with the correct avatar and blog id but when a user clicks on the blog link, it just brings them to the page where the shortcode was added. However, the group avatar correctly links to the blog.

    I fixed this by changing line 577 from this:

    $blog_html .= '<h4>'siteurl',$blog_id).'">'.get_blog_option($blog_id, 'blogname').'</h4>';

    to this (notice that 'siteurl' and $blog_id are switched):

    $blog_html .= '<h4>$blog_id,'siteurl').'">'.get_blog_option($blog_id, 'blogname').'</h4>';

    Thanks,
    NG

    http://wordpress.org/extend/plugins/bowe-codes/

  2. imath
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    You should use basticks to make sure the code is displaying the best way on this forum ;)

    Thanks for your feedback, i'll look at it in order to push an upgrade asap.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Bowe Codes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic