Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

My Sites Shortcode

Displays the list of your sites in a list format. by adding this shortcode into a post or page : [my-sites]

Ever wanted your users to see all their sites in a list format, Well now you can using this shortcode!

Here's how it works:

Install this plugin and then add [my-sites] onto a page or post where you want people to see all of their sites.

Author Enej Bajgoric / CTLT DEV
Profile
Contributors oltdev, enej, ctlt-dev
Tags cms, multiuser, shortcode, sites
  1. my-sites-shortcode screenshot 1

    This is how the html looks like on twenty ten

The usual vanilla installation:

  1. Upload my-sites-shotcode folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place [my-sites] shortcode into your post or page (http://codex.wordpress.org/Shortcode_API "WordPress shortcode") where you want it

1.1

  • additional classes on every element for better styling
  • added additional attributes to the shortcode , such as :images, image_size, role, num_before_list

1.0

  • Initial Release

FAQ

What are the shorcode options you can also do something like this [my-site before="text to appear before the widget" loggedout="text to be display to people who are not logged in"]

or [my-sites images=1 image_size=200 role=1 num_before_list=2]

also here is some css to get you started that you can copy and paste into your theme.

.my-sites-list{ margin:0; }
.my-site{
    list-style: none;
    position: relative;
    overflow: hidden;
    margin-bottom:10px; 
}

.site-link-image { float:left; margin:0 10px 0 0; }
.site-link-image img{ border:3px solid #CCC; }
.site-name{ margin-bottom:0; font-weight:bold; }
.site-link{  color:#3333; }
.site-role{ text-transform: capitalize;}
Share  
Download
Version 1

Requires WordPress version: 3.0 or higher

Compatible up to: 3.0.5

Last Updated 13 Jul 2011

Date Added: 01 Apr 2011

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
2 ratings
554 downloads

Compatibility

Not Enough Data

Reports:
Works: 1
Broken: 0