i tried to make a simple plugin and for that include some css and js (which is inside css and js folder like wp-content/plugin/css/theme.css) but it’s not working and also showing in view-source (ctrl +u) and not giving any error either..
i copy some code from stack overflow article,
wp_register_style('testi-theme-css', plugins_url('css/theme.css', __FILE__), array(), '1.0.0');
what’s wrong in there? and anything i need to add in child-theme or parent-theme function.php file?
Viewing 1 post (of 1 total)
The forum ‘Other’ is closed to new topics and replies.