Tagged Questions
0
votes
1answer
36 views
Globally register styles but enqueue them selectively
I am trying to get my theme registered stylesheets in plugin, the purpose is I want to get all stylesheets in my plugin and then manipulate those registered styles.
stylesheets registered via
...
0
votes
1answer
54 views
How to include stylesheet in custom admin using parent_slug
Using this code from codex:
function my_enqueue($hook) {
if( 'edit.php' != $hook )
return;
wp_enqueue_script( 'my_custom_script', plugins_url('/myscript.js', __FILE__) );
}
add_action( ...
0
votes
1answer
248 views
How to display message (with switch_theme hook) after deactivating My theme?
I'm able to display a message by activation of my theme with the 'new' after_switch_theme hook this way:
function themeActivationFunction($oldname, $oldtheme=false) {
$msg = '
<div ...
1
vote
1answer
73 views
How can we hide the parent's theme url at the child themes details on a multisite?
I hope the title makes sense.
But anyway, to clear things up, here is a screen shoot of what I mean:
To be honest I really don't see how site admins benefit from this piece of information since ...
0
votes
0answers
158 views
When using my custom theme, after any save/submit in wp-admin I get blank screen [closed]
When I activate a theme that I made, after any save or submit that refreshes the page on wp-admin I get a blank screen, If I go back and refresh the page the settings are saved.
If I close the page in ...
1
vote
1answer
535 views
Add social icons in a theme through custom admin menu
Is it possible to make a theme with an option of configuring social icons with links through the custom header control panel?
I googled it and found nothing that could help me, any help on that topic ...
0
votes
2answers
50 views
How to reset a custom theme
After making a lot of little changes to the current custom theme [zeeBizzCard] I'm using, I want to reset it back to it's original style. Being new to WP, I didn't make a backup of the default theme ...
0
votes
3answers
82 views
Exclude stylesheet from admin
I have been using the following function to enqueue some CSS to my theme. However, they are used in the admin area as well:
wp_enqueue_style(...)
I don't want them to be used in the admin area. ...
5
votes
3answers
264 views
How to make a theme with more than one CSS file?
I've made my first theme and now I want to create different "profiles". These profiles are just independent CSS files that user can try. The point is, how to make these files to allow users to choose ...
2
votes
1answer
54 views
How can I show more than 15 themes at a time in the admin menu?
I have a lot of themes in my test wordpress site. I get a little frustrated that I can't show more than 15 at a time.
In pages and posts you can click "screen options" to choose the number, but it ...
0
votes
2answers
83 views
I made new theme directory, why won't it show up in admin GUI?
I did this:
cd wp-content/themes
cp -R someTheme newTheme
then:
cd newTheme
vim style.css #changed name of theme in the css comment header
and then logged into example.com/wp-admin. But when I ...
1
vote
2answers
398 views
How do you get thumbnails to show up in the admin edit post?
I tried to add thumbnail support to my theme
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size(133, 133, true);
add_theme_support( 'post-thumbnails', array( 'post' ) );
...
0
votes
1answer
50 views
What is the most efficient way of adding additional functionaliy for admin only
I'm trying to figure out the best approach to add additional functionality that will only be utilized by admins via /wp-admin.
What's the best way to implement so that resources aren't being wasted. ...
0
votes
2answers
135 views
Thesis -style Navigation
I am working on a theme where I would like users to be able to select pages to show in the theme options page much like Thesis.
I've been Googling / reverse engineering Thesis for a couple hours but ...
4
votes
2answers
725 views
Any official way to create an admin theme?
I was wondering whether there's a common way of customising the aspect of the admin panel.
I know you can play with the css and js files but what I was looking for is some kind of "admin theme" like ...
0
votes
1answer
61 views
Is there any way to modify images from a theme using the web interface?
Is there any way to modify images from a theme using the Wordpress web interface?
1
vote
1answer
661 views
How can I display/hide certain content based on a Theme Option field?
I'm building a Theme Options page for my theme, and I've managed to get most of it working fine. But now I'm trying to show and hide certain parts in my theme based on a simple check box. An example:
...
10
votes
2answers
3k views
Adding an Arbitrary Link to the Admin Menu?
Is there a way to add a arbitrary hyperlink to the WordPress admin menu (I mean the menu on the left when you log into the admin dashboard)? For example, can one add a link to Google?
In my ...
3
votes
1answer
341 views
How do I create my own admin button and theme settings page?
I have some options I want my client to be able to change, and so I need an options page for my theme that I can show for those with "editor" status. How can I do this and utilise the options in my ...