0
votes
1answer
24 views

Image not displayed

I am using the following inside images-options which is linked to functions.php.When clicked on submit button it crashes in wordpress admin <th scope="row">Image 1:</th> <td> ...
0
votes
0answers
6 views

Export links of custom created admin page

All right so i have created a page in the wordpress admin called Theme Options.When i export my files the links of these pages are not exported.I want the links that i have included in this page to be ...
0
votes
0answers
41 views

How to remove text “Log In” from login page

I am using Theme My Login and have noticed that, even though I am customising my own login-form.php template and simply including the appropriate form on a blank page with theme_my_login();, the text ...
0
votes
1answer
57 views

How to remove menu from WP-Admin menu

I would like to hide option of template from the menu side in wp-admin. I tried this code but its not work , its no hide the option:- //hide in admin menu add_action( 'admin_menu', ...
0
votes
1answer
36 views

How to include a file only on dashboard widgets page?

I want to add some styles to the widgets input fields. Therefore I want to include a style.css file only on the wp-admin/widgets.php page. How can I detect the above page and include file there?
0
votes
1answer
79 views

Can't work out why widget contents disappear from admin

everytime I make a change to any widgets in admin they disappear - sometime just from admin, sometimes from the frontend and sometimes both. I get them back by adding update_option( ...
0
votes
1answer
40 views

Display site admin profile fields in header.php

I am working on a multisite setup and Im trying to display some meta from the site owner's profile. I tried the following code but it is echoing the super admin's meta instead of the current site ...
1
vote
1answer
70 views

Why is this Ajax not working?

I'm not sure if I am abusing WordPress and Ajax by doing it this way but WP and Ajax Codex a well as Plugin Development with Ajax do not seem to be very helpful. I have created the following Ajax ...
0
votes
0answers
20 views

How to auto set screen option defaults [duplicate]

I want to make a function in my theme, which sets some things in the screen options tab on by default if you select my theme. This remains same for all users in the admin area. I don't care about ...
0
votes
1answer
61 views

How to remove permalinks links presents in each page of my site?

I have this WordPress static site: http://www.saranistri.com/ As you can see at the end of each page there is a link named Pemalink into a box. I want to remove this box and this link. Can I do this ...
0
votes
1answer
63 views

Custom post type isn't working

I just built up a beta environment for testing my new Wordpress site. I didn't migrate the database; I did my own installation again and ported over my theme (it's a simple theme) to my new instance. ...
0
votes
1answer
42 views

Adding Media button to only pages

I have created a media button as such: // Create a media button for pages function aisis_page_button_link(){ global $post_ID, $temp_ID, $iframe_post_id; $iframe_post_id = (int) (0 == ...
0
votes
1answer
70 views

How to add an admin alert for missing plugins

I'm trying to add an admin alert that reminds the user to install a certain plugin in case it is missing. I have found a way to generally add an alert box: function addAlert() { ?> <script ...
0
votes
2answers
121 views

Get options from database using php class

I want to make a php class that gets an option from the wp database (which is an array of options) and be able to call this class with the name of the option and the class to return the options value. ...
1
vote
1answer
909 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 ...
1
vote
1answer
110 views

Add attachment for all images in post

I want to move someone else's WordPress blog to a new server. I only have access to the exported XML file of the blog. When importing the XML with the Wordpress Importer plugin, everything went fine ...
1
vote
1answer
78 views

Change the look and feel of admin pages

I want to change the look and feel of the post edit page without making changes to any of the wordpress core file, which is basically a theme. For example, for any user with role of 'author', i want ...
5
votes
3answers
325 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 ...
5
votes
3answers
1k views

Change admin bar to default:off

While I quite like the admin bar I actually want it to be OFF by default instead of ON ( I don't want to disable it altogether because I want users to be able to turn it on if they want - but but I ...
0
votes
1answer
192 views

show_option_none not working in meta box

I have the following code going into a meta box: function multi_author($post, $box) { $currentAuthors = esc_attr(get_post_meta($post->ID, 'multiAuthors', true)); if ($currentAuthors) { ...
3
votes
5answers
8k views

How to customize wordpress login/register pages?

My question is how do I customize the default WordPress login and register page without editing WP's core files. I'm thinking more along the lines of a functions.php code. Can anyone help me out by ...
1
vote
1answer
151 views

Administration Pages Styling

I am adding administration pages using add_menu_page() function. But it wont look good. Check the image below. I would like to have it as separated and in between Appearance and Plugins section ...
0
votes
2answers
137 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
754 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 ...
4
votes
4answers
2k views

Including CSS and JS on Admin Screen of Custom Theme Options

I am creating a custom theme with a theme options page. I would like to style the options page and do not want to include inline styles. Is there any way to include an external stylesheet from say ...
1
vote
1answer
746 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: ...