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.

 

 

Attributes

field=”url

Get the theme directory url.

[mywp_theme field="url"]

Reulst

http://example.com/wp-content/themes/activate_your_theme_dir_name

 

field=”path

Get the theme directory path.

[mywp_theme field="path"]

Result

/example_home_dir/wp-content/themes/activate_your_theme_dir_name

 

field=”name

Get the theme name.

[mywp_theme field="name"]

Result

Example Theme Name

 

parent=”1

Change the target theme.

[mywp_theme parent="1"]

 

This Post Has 0 Comments

Leave a Reply

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

Back To Top