nash-ye / wp-conditional-themes

A simple API to switch the themes on certain conditions.

Home Page:https://wordpress.org/plugins/wp-conditional-themes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where to add those hack?

soumyabrataghosh opened this issue · comments

I want to use this

Conditional_Themes_Manager::register( 'twentythirteen', function() {
return current_user_can( 'administrator' );
} );

but where should I add this line?

in functions.php? or you index.php file?

Check this post..
https://wordpress.org/support/topic/need-better-instructions

I will make it more easier in the next update.. Thank you :)