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

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -