0
votes
1answer
81 views

How to add php stylesheet to admin section instead of admin_head hook

how can we do the below code using separate file let say admin-style.php add_action('admin_head', 'custom_admin_style'); function custom_admin_style() { $bg_color = get_option('custom_color'); ...
0
votes
1answer
61 views

How to debug failed changes to posts?

I just rebuilt my server with Ubuntu 14.04, Nginx 1.6.0, PHP 5.5.9 and Wordpress 3.9. I am able to complete the Wordpress install and login to the Wordpress dashboard, however, I can't make any ...
0
votes
0answers
124 views

Pass PHP variable between functions in functions.php

I have a WordPress Admin page where you can add a "listing". Within this Admin Page I have added many fields which transfer variables over to the listing page which is created/updated. Within this ...
0
votes
1answer
173 views

How can i force wp-admin to use 2-column dashboard layout? [closed]

How can i force wp-admin to use 2 column layout via plugin?
2
votes
1answer
121 views

Site Title and Tagline in Pagelines DMS Options Panel

I'm using the Pagelines DMS Theme and I'm wanting to extend the functionality of the front end admin panel. The user(s) I'm building this for would like to be able to edit a few settings directly from ...
0
votes
1answer
2k views

admin-ajax.php loading many times

My site is running slow, because the file "admin-ajax.php" is loaded many times. see screenshot here: http://f.cl.ly/items/2b0O3Q0X27433X2F2j3U/Bildschirmfoto%202013-02-23%20um%2014.13.14.png Here ...
1
vote
1answer
153 views

Namespace spl_autoload problem in Wordpress admin

I am experimenting with PHP namespacing within Worpdress plugins. The plugin includes a loader file which sets up the spl_autoload functionality and then instantiates a different controller depending ...
0
votes
2answers
68 views

WP Login Button for current domain

I want to make a link that goes to wp-login.php for whatever domain I'm at now. Something like: <a ...
0
votes
1answer
433 views

Aspx/Rss feed - failed to open stream: Redirection limit reached

I have this issue ive been stuck with now. Its when i load a page that have a feed. I put the feed in wp-admin , this usually work with other feeds but not sure why its not working with this kind of ...
0
votes
1answer
150 views

Link blogname and blogdescription to the Options Framework

I'm putting together a Theme Options page, where the user(s) I'm building this for would like to be able to edit a few settings directly from this page, including of which - the Site Title and ...
2
votes
1answer
493 views

Site Title and Tagline in Theme Options Page

I'm using the Options Framework Theme to put together an options page. The user(s) I'm building this for would like to be able to edit a few settings directly from this page, including of which - the ...
1
vote
1answer
587 views

Enqueue Javascript Correctly for 3.5

I am trying to create tabs for admin settings page in wp, but I think I'm doing it wrong. The example below shows how I did it but I don't know how to change this to use it correctly with no conflict ...
-4
votes
2answers
649 views

Adding jquery using php function

I was turned down with this question because I get a php error and my question revolves around jquery, but when I take out the JQUERY everything works fine. * Again I'm creating a wordpress plugin. I ...
1
vote
1answer
122 views

Why isn't admin_notices displaying my text? [Simple Plugin, Beginner]

Here is some code that is the result of four days of studying Wordpress and PHP. Unfortunately, it's not working the way it's supposed to. Nothing displays at the admin_notices bar. Originally, I ...
4
votes
1answer
334 views

List latest posts in WP-Admin

I run a multiple author site and I have created a plugin in wp-admin where authors can connect and collaborate with each other. To enhance it, I want to display a list of latest posts, this list ...
0
votes
2answers
139 views

How can I open up my administrative panel to everyone?

I'm planning on running a open news site that I want everyone to be able to view the inside of the site without registration. I feel like it should exist a simple check for viewing the WordPress ...
0
votes
1answer
69 views

retain querystring values when savincustom options in admin

Quick question, I have a custom options page which posts to options.php, however I have a few sections to my options page where i change the post url like so: <form ...
0
votes
1answer
60 views

Is there a (offical) way for a theme to deactivate itself and show a message in admin?

I know that plugins can deactivate itself, but how about themes? I work on a parent theme (Framework) and I don't want users to be able to activate it. This is what I have so far. The problem is ...
1
vote
1answer
1k views

How to add some custom HTML to the edit posts page

On the wordpress admin edit posts page, I want to display some custom content and script, underneath the meta box. I want to hand code this as the various plugins I could use (advanced custom fields ...
-1
votes
1answer
95 views

What's the .php file which generates the Custom Background page in the admin panel?

What's the .php file which generates the Appereance->Custom Background page in Wordpress' admin panel?
0
votes
1answer
194 views

Help with accessing wp-admin page and resolving error messages

I was recently advised to reinstall both wordpress and my wordpress theme due to (i think) a still unresolved error with a slide manager, but on doing so, apppear to have lost access to the admin-wp ...
0
votes
3answers
2k views

I get “The PHP Date/Time library is not supported by your web host.” on my CentOS host, what library to I need to install to add support?

I did some quick looking around, but my PHP skills are pretty nascent. I am sure there is just a package that needs installing. Edit to add additional information about the setup: Using: yum info ...