- can add files to front with single function
- can create html in shortcode with basic templates
This commit is contained in:
@@ -26,16 +26,23 @@ include_once(dirname(__FILE__) . '/utils/create_html.php');
|
||||
|
||||
function main_shortcode() {
|
||||
|
||||
# send styles files by name, without extension .css
|
||||
add_css_to_front( array(
|
||||
"mystyle",
|
||||
));
|
||||
# # send styles files by name, without extension .css
|
||||
# add_css_to_front( array(
|
||||
# "mystyle",
|
||||
# ));
|
||||
#
|
||||
# # send scripts files by name, without extension .js
|
||||
# add_scripts_to_front( array(
|
||||
# "myscript",
|
||||
# "myscript2",
|
||||
# "myscript3",
|
||||
# ));
|
||||
|
||||
# send scripts files by name, without extension .js
|
||||
add_scripts_to_front( array(
|
||||
"myscript",
|
||||
"myscript2",
|
||||
"myscript3",
|
||||
add_files_to_front( array(
|
||||
"mystyle.css",
|
||||
"myscript.js",
|
||||
"myscript2.js",
|
||||
"myscript3.js",
|
||||
));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user