wordpress - activate plugins on custom theme -


I'm new to WordPress and just created my first template.

In functions.php I've put the following code, the function I think is that the plugins should call the plugin directory:

  If (function_exists ('register_sidebar' '', 'Name' = & gt; 'Widgetized Area', 'id' => 'widgetized-area', 'description' => "',' before_widget '=> After_widget '= & gt;' ',' before_title '= & gt; ",' after_title '=>);); }   

I see all the plugins, and in the widget screen I also see the 'Widgets' screen and it allows me to drag the widget into the work area.

The website displays the HTML of the plugin but neither JS and CSS is working.

What am I missing?

The code you added above in your functions.php is that To register any plugin, register the sidebar, there is no connection to its plugin

You can follow the sidebar included in the template:

  If (is_active_sidebar ('widgetized-area')) {dynamic_sidebar ('widgetized-area'); }    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -