How to get the active theme’s slug?

You can get the slug in the options table, stored under the name stylesheet.

echo get_option('stylesheet');

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)