WordPress all actions and filters
print all wp_actions: print all wp_filters: All WordPress actions:
print all wp_actions: print all wp_filters: All WordPress actions:
sync user roles across WordPress Multisite: Sync all roles with capabilities on all sites of the WordPress Multisite Network:
query_posts() is overly simplistic and problematic way to modify main query of a page by replacing it with new instance of the query. It is inefficient (re-runs SQL queries) and will outright fail in some circumstances (especially often when dealing with posts pagination). Any modern WP code should use more reliable methods, like making use ... Read more
css: html: can I use multocol quirksmode.org/css/columns/ www.w3.org/TR/css3-multicol/
Works in Chrome and Safari. WebKit supports styling of the scrollbars in overflow sections, listboxes, dropdown menus and textareas. These are the pseudo elements - the actual parts of the scrollbars: The different states of scrollbars: :horizontal – The horizontal pseudo-class applies to any scrollbar pieces that have a horizontal orientation. :vertical – The vertical ... Read more
Remove Trailing Slash From String PHP Alternative way: ltrim - Strip whitespace (or other characters) from the beginning of a string rtrim - Strip whitespace (or other characters) from the end of a string trim - Strip whitespace (or other characters) from the beginning and end of a string
Download activetab theme activetab theme preview GitHub activetab theme description: responsive and clean two columns, right sidebar, fixed or static multi-level drop down menu widget-ready sidebar and footer areas 2 extra page templates: 'full width (no sidebar)', 'redirect to first subpage' support for: custom background, custom header, custom menu, editor style, post thumbnails, microformats, rtl ... Read more
Уроки написания утилитки на $1,000,000 Осенью 2008 года мы с приятелем потратили две-три недели свободного от основной работы времени, чтобы написать маленькую утилитку для бэкапа баз данных (MS SQL Server и потом MySQL). Сегодня она приносит нам около $230,000 в год и можно с уверенностью говорить, что суммарно мы заработаем на ней больше $1,000,000. Под ... Read more
Register WordPress custom post type with custom category, custom tag, default post category and tags: Usage in templates: Show list of all not empty custom taxonomies (custom post type categories): List of custom post types (archive) can be viewed by such link: http://site.com/quote/ WordPress by default uses the archive template of your theme to display ... Read more
Just because a file ends in .PHP doesn't mean it responds with XHTML -- respond however you'd like! Atom CSS Javascript JPEG Image PNG Image JSON PDF RSS Text (Plain) XML