Articles of wp admin

How to display magic field's custom write panel in wordpress theme?

So here is the thing. I’m creating a site. A user can register in my site and post articles. The thing is I don’t want separate admin area to post articles. I want to integrate everything in my theme. So the user don’t need to go to wp-admin to create posts. I’m using magic fields […]

Change maxlength of link_description in dashbord link section?

Im using wordpress together with qtranslate and it works on pages and post but not in menus, widgets etc. So i created jquery scripts to solve those issues. The problem is that the field “link_description” in wordpress link section is limited to 30. Using two languages or more, 30 characters is not enough. Is it […]

Pages section (only) not loading after publishing large number of pages

I’m having some issues with my first wordpress installation that’s really throwing me for a loop. First some background info on the situation. I’ve been working on converting an HTML site into wordpress. Since the site was quite large (around 8000 pages) I used a plugin to import the HTML files. While doing so I […]

How to add text editor in plugin menu?

Can I add a text editor to my plugin menu? So I can let users edit custom css file? Something like /wp-admin/plugin-editor.php but I want users to be able to edit only one file. The custome css file. Could this be done using WordPress standard functions?

WordPress menu to change page title

I am using wp_list_pages. I am unable to change page title For eg:- I made a page with name lorem ipsum and want to show in content area the same name i.e lorem ipsum. But in menu, I want to show the name lorem. How to do this.

comment_form – show all fields when logged in

I’m using the http://codex.wordpress.org/Function_Reference/comment_form in my comments. If logged in I’m seeing only the textarea for my comment, not the fields for e-mail and name. Question Is it possible to make them visible even when logged in? Why would I want to do that? I’m designing themes and it would be easier for me as […]

Uncaught SyntaxError: Unexpected Token Illegal

I have a local install of WordPress running & I am suddenly getting these errors in my console when I open a modal window (such as file upload): Uncaught SyntaxError: Unexpected token ILLEGAL media-upload.php:75Uncaught ReferenceError: jQuery is not defined media-upload.php:89Uncaught ReferenceError: SWFUpload is not defined media-upload.php:156Uncaught ReferenceError: jQuery is not defined load-scripts.php:1Uncaught SyntaxError: Unexpected token […]

Custom admin post.php page

I’m working on a CPT but I need to have more control over the layout of the post/edit page (post-new.php and post.php). I thought hacking through admin_init would be the best option, but I can’t get the script to work at all. Help? function init_shelf_page() { if (!current_user_can(‘edit_shelves’) && $_SERVER[‘PHP_SELF’] == ‘/wp-admin/post.php’) { if (isset($_GET[‘post’])) […]

customizing wp user with custom fields

I want to allow the admin of a site i’m building to highly customize the wordpress user. This will be a highly advanced plugin so I’m fine creating a whole new page in the admin to do this customization (to avoid the weak hooks in the current user admin page). My question is this: how […]

Manipulate list of themes in wp-admin

I’m running a multisite network with 100+ themes installed and activated. Is there a way to manipulate the list of available themes in wp-admin so that certain themes appear in the list first? (a kind of “Featured” or “recommended”) After the first 9 or so alphabetical as default would be fine. Obviously Googling the words […]