skip to Main Content

mywp_site

Mywp_site

Description

mywp_site shortcode can be get the site data.

 

Usage

Default site data is current site and "field" attribute is must have a value.

[mywp_site field="****"]

 

Attributes

field="id"

Get the site id.

[mywp_site field="id"]
1

 

field="name"

Get the site name. Same to get_bloginfo( "name" )

[mywp_site field="name"]

 

site_id="***"

Get the specific blog.

[mywp_site site_id="2" field="name"]

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top