Skip to main content

Home/ Wordpress/ Group items tagged CMS

Rss Feed Group items tagged

Angry Ideas

Premium Wordpress Themes Developers - 0 views

    In this tutorial we will have a quick look how to change the theme of your free Wordpress blog. There are many themes that are given in the free account. However these themes have very basic layouts and there aren't a lot of things you can do with it.
Anna Taylor

Open Source Content Management: One Big Happy (Disfunctional) Family - 1 views

    Content management systems have effectively replaced much of the tedious HTML and CSS work that was required to make changes to a website. A custom theme for your CMS still takes time and an experienced professional to execute, but business owners no longer face the hassle of learning code or paying a developer for ongoing changes for simple adjustments to content.
Vernon Fowler

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 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...
  • register_post_type( 'acme_product', array( 'labels' => array( 'name' => __( 'Products' ), 'singular_name' => __( 'Product' ) ), 'public' => true, 'has_archive' => true, ) );
  • When you namespace a custom post type identifier and still want to use a clean URL structure, you need to set the rewrite argument of the register_post_type() function. For example, assuming the ACME Widgets example from above:
  • 'rewrite' => array('slug' => 'products'),
  • Note: In some cases, the permalink structure must be updated in order for the new template files to be accessed when viewing posts of a custom post type.
    • single posts of a custom post type will use single-{post_type}.php
    • and their archives will use archive-{post_type}.php

    where {post_type} is the $post_type argument of the register_post_type() function.

  • In any template file of the WordPress theme system, you can also create new queries to display posts from a specific post type. This is done via the post_type argument of the WP_Query object.
Vernon Fowler

HTML Purifier | Joseph Scott - 2 views

‹ Previous 21 - 40 of 220 Next › Last »
Showing 20 items per page