Archive for the 'wordpress' Category

28 May 2014

wordpress remove admin bar top margin

17:22 | wordpress | 823 views

After exit from admin mode I’ve reaized that the page have an unwanted top margin. The reason is in the the admin-bar.php file function _admin_bar_bump_cb() { ?>

28 May 2014

open editor in new window

15:11 | wordpress | 663 views

The editor link generated by a function named with the following command: So this function generate a structure. There is no target attribute defined. We need to change this manually. Open the ..wp-includes/link-template.php file and find this row: Just add the target attribute and done.

28 May 2014

enable jquery in wordpress

14:26 | jquery, wordpress | 680 views

1. include the jquery into your theme Find the file in the theme directory and include one line above like this

#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }