skip to Main Content

mywp_theme

Mywp_theme

Description

mywp_theme shortcode can be get the theme data.

 

Usage

Get the default theme data is current theme.

[mywp_theme field="****"]

 

Attributes

field="url"

Get the theme directory url.

[mywp_theme field="url"]
http://example.com/wp-content/themes/activate_your_theme_dir_name

 

field="path"

Get the theme directory path.

[mywp_theme field="path"]
/example_home_dir/wp-content/themes/activate_your_theme_dir_name

 

field="name"

Get the theme name.

[mywp_theme field="name"]
Example Theme Name

 

parent="1"

Change the target theme.

[mywp_theme parent="1"]

 

Leave a Reply

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

Back To Top