Profile
Achievement
lromak's Recent Snippets
- All /
« Prev 1 Next »
Instructions:
WordPress menus and sidebars/widgets are really powerful modules, but unfortunately it requires Admin user role to edit them.
If you would like to allow users with Editor user role to edit any of the widgets or menus, just paste t...
2
902
posted 11 years ago by lromak
To be used in WordPress template. List full taxonomy, or only custom post type associated with the post. Examples include a linking or non linking list.
2
793
posted 11 years ago by lromak
Removes $ from HTML form post, allows only number and decimal points. Has $ display in field but disappear when onfocus.
1
944
posted 11 years ago by lromak
Change to line in page template file to call a different sidebar.
0
770
posted 14 years ago by lromak
PHP
How to replace the default WordPress “W†logo in the administrative header with a custom alternative
First, create an image that fits the allocated space. As of WordPress 2.8, the logo is a 30 pixels wide and 31 pixels tall transparent GIF. When using a transparent GIF or 8-bit PNG, ensure that the image matte matches the header background color: he...
3
1577
posted 14 years ago by lromak