Title: [Plugin Diamond Multisite Widget]
Last modified: August 19, 2016

---

# [Plugin Diamond Multisite Widget]

 *  [tfblog](https://wordpress.org/support/users/tfblog/)
 * (@tfblog)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-diamond-multisite-widget/)
 * Hi,
 * Love this plugin as it fits all of my needs, however I am having a permalink 
   issue with this. All of my other plugins work fine with permalink.
 * Here is the problem:
 * I am using your Diamond Plugin and it’s pretty great! Just what I was looking
   for. I am having one problem with it though and can’t find a solution:
 * [http://thefertilityblogs.com](http://thefertilityblogs.com) is the page. If 
   you look at the bottom of the page, where I have the widget installed (the widget
   is titled “recent posts”), you’ll see that the links for the posts are not including
   the subdomain in it’s url. It is using [http://thefertilityblogs.com/2011/02/bad-news/](http://thefertilityblogs.com/2011/02/bad-news/)
   rather than what it should be using: [http://nikkisjourney.thefertilityblogs.com/2011/02/11/bad-news/](http://nikkisjourney.thefertilityblogs.com/2011/02/11/bad-news/)
 * The same also goes for the bloglist using Diamond found at: [http://thefertilityblogs.com/categories/members-recent-posts/](http://thefertilityblogs.com/categories/members-recent-posts/)
 * Can you suggest a solution for me?

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

 *  Thread Starter [tfblog](https://wordpress.org/support/users/tfblog/)
 * (@tfblog)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-diamond-multisite-widget/#post-1914213)
 * Does anyone have any suggestions at all?
 *  Thread Starter [tfblog](https://wordpress.org/support/users/tfblog/)
 * (@tfblog)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-diamond-multisite-widget/#post-1914259)
 * Here is the code that is the culprit:
 *     ```
       $txt = str_replace('{title}', '<a href="' .get_blog_permalink($post["blog_id"], $post["id"]).'">'.$p->post_title.'</a>' , $txt);
       			$txt = str_replace('{more}', '<a href="' .get_blog_permalink($post["blog_id"], $post["id"]).'">'.$wgt_mtext.'</a>' , $txt);
       			$txt = str_replace('{title_txt}', $p->post_title , $txt);
       			$txt = str_replace('{date}', date_i18n($wgt_dt, strtotime($p->post_date)), $txt);
       			$txt = str_replace('{excerpt}', $ex , $txt);
       			$txt = str_replace('{author}', get_userdata($p->post_author)->nickname, $txt);
       			$txt = str_replace('{avatar}', $av , $txt);
       			$txt = str_replace('{blog}', get_blog_option($post["blog_id"], 'blogname') , $txt);
       ```
   
 *  Thread Starter [tfblog](https://wordpress.org/support/users/tfblog/)
 * (@tfblog)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-diamond-multisite-widget/#post-1914283)
 * Anyone??

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

The topic ‘[Plugin Diamond Multisite Widget]’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * 3 replies
 * 1 participant
 * Last reply from: [tfblog](https://wordpress.org/support/users/tfblog/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-diamond-multisite-widget/#post-1914283)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
