Tagged Questions
0
votes
2answers
54 views
How to check if a theme is active?
I'd like to be able to check if the twentytwelve theme is active. I know if I was checking for an active plugin I'd do something like:
$active_plugins = apply_filters( 'active_plugins', get_option( ...
0
votes
2answers
35 views
I have no images in an activated wp theme
With this line everything works fine - (as a Non-Wordpress index.php):
<link href="style.css" rel="stylesheet" type="text/css"/>
When I activate the file as a wp theme and replace above ...
0
votes
1answer
286 views
Automatically delete default posts and pages on theme install?
Is there a way to automatically delete the default wordpress posts and pages when activating theme theme?
2
votes
3answers
678 views
Multisite: setting theme and options when a new blog is created
When a new blog is created in a WP Multisite instance I want to be able to set the default theme and configuration options
create 2 menus (main and secondary) and associate them with the 2 slots ...