Pages (Creating your own pages) - 0 views
-
The files defining each Page Template are found in your Themes directory.
Main Page « WordPress Codex - 0 views
Function Reference/current user can « WordPress Codex - 2 views
-
Do not pass a role name to current_user_can(), as this is not guaranteed to work correctly (see #22624). Instead, you may wish to try the check user role function put together by AppThemes.
Post Types « WordPress Codex - 1 views
-
it is better if you prefix your identifier with a short namespace that identifies your plugin, theme or website that implements the custom post type. For example: acme_product or aw_product for products post type used by a hypothetical ACMEWidgets.com website
-
Namespacing your custom post type identifier will not guarantee against conflicts but will certainly minimize their likelihood.
-
Do pay close attention to not having your custom post type identifier exceed 20 characters though, as the post_type column in the database is currently a VARCHAR field of that length.
- ...6 more annotations...
Custom Fields « WordPress Codex - 0 views
Function Reference/get template part « WordPress Codex - 2 views
-
"Load a template part into a template (other than header, sidebar, footer). Makes it easy for a theme to reuse sections of code and an easy way for child themes to replace sections of their parent theme. Includes the named template part for a theme or if a name is specified then a specialized part will be included. If the theme contains no {slug}.php file then no template will be included. "
Roles and Capabilities « WordPress Codex - 2 views
-
Editor – somebody who can publish and manage posts including the posts of other users. Author – somebody who can publish and manage their own posts. Contributor – somebody who can write and manage their own posts but cannot publish them. Subscriber – somebody who can only manage their profile.
Hardening WordPress « WordPress Codex - 0 views
Function Reference/wp title « WordPress Codex - 0 views
-
The wp_title() function should not be used by a theme in conjunction with other strings or functions (like concocting with bloginfo('name') ) to set the title because it will render plugins unable to rewrite page titles correctly. The best practice is to use the wp_title filter with a callback function. This method is now a requirement for themes.
Category Templates « WordPress Codex - 3 views
Using Permalinks « WordPress Codex - 0 views
-
Using %category% with multiple categories on a post When you assign multiple categories to a post, only one can show up in the permalink. This will be the lowest numbered category (see Manage Categories). The post will still be accessible through all the categories as normal.
Must Use Plugins « WordPress Codex - 0 views
-
Always-on, no need to enable via admin and users cannot disable by accident.
-
Plugins in the must-use directory will not appear in the update notifications nor show their update status on the plugins page
-
Activation hooks are not executed
- ...2 more annotations...
Function Reference/the date « WordPress Codex - 0 views
-
<?php the_date('Y-m-d'
-
The Y-m-d format is useful for HTML5 datetime attribute in a time element, i.e. my time is whatever here See http://html5doctor.com/the-time-element/ for further details
-
Child Themes « WordPress Codex - 0 views
-
A child theme resides in its own directory in wp-content/themes. The scheme below shows the location of a child theme along with its parent theme (Twenty Twelve) in a typical WordPress directory structure:
-
This directory can contain as little as a style.css file, and as much as any full-fledged WordPress theme contains: style.css (required) functions.php (optional) Template files (optional) Other files (optional)
-
@import url("../twentytwelve/style.css");
- ...4 more annotations...
WordPress › Dashboard Tweaks « WordPress Plugins - 4 views
-
"A list of the tweaks included in the Dashboard Tweaks plugin: - change the WordPress logo in the top-left of the admin bar with a custom admin logo - link that logo to the home URL instead of the new wp-admin/about.php - remove the entire sub-menu with links to Codex, forums and what not - remove the Visit Site sub-menu under the site's name - change "Howdy" into "Welcome back" - add a special favicon for the Dashboard only (ideally different from the frontend, but up to you) - change the tab title into a standard "Dashboard of [sitename]" - remove icons in front of Dashboard menus - reduce page heading size - remove publish icon of Add new Post/Page screens - add colored background to sidebar active sub-menu to add contrast - add colored background to activated plugins to add contrast - add custom footer text"
Function Reference/get bloginfo « WordPress Codex - 0 views
-
Consider using get_template_directory_uri() instead (for the parent template directory) or get_stylesheet_directory_uri() (for the child template directory).