Anthony
Anthony

Reputation: 131

Activating plugins wordpress when creating new theme

I have been creating a new Wordpress theme, I have most of everything working fine, except when I install and enable a plugin, nothing happens.

Specifically the yoast seo plugin.

Upvotes: 1

Views: 28

Answers (1)

Samuel Liew
Samuel Liew

Reputation: 79022

You may have forgotten to place the Wordpress PHP functions wp_head(); and wp_footer(); respectively in the header and footer of the template.

Plugin scripts and stylesheets (and other important functions) are loaded through these hooks, and it is very important to always do this when creating your own template.

Upvotes: 1

Related Questions