0
votes
0answers
34 views

Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)

I am using this to load css styles in the admin area (for any user who is not an administrator): function wpse_admin_styles() { if ( !current_user_can( 'manage_options' ) ) { echo ...
1
vote
1answer
327 views

Admin Panel pagination link styles

Whenever I write plugins that use Admin Panels, I include some form of pagination using the paginate_links method and I have always been able to style them in a nice way using the suggestions on this ...
0
votes
3answers
134 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. ...
0
votes
2answers
2k views

How do you modify CSS files via admin panel?

All theme styles are in style.css file. Let's say first line looks like: body { background-color: #fff; } Now, I've created an option in admin panel named body_bg. User types #000 there and I ...