Support » Themes and Templates » Design a Post Template

  • Hi!.

    Help Me please.

    I need design a Post Template. Iam admin of an site support on my work, with WordPress 2.7, but all post are frecuently problems of support.
    We have a Format of Word to put all the Incidents in a format of Quality, but; it requires to create it as a post all those problems.
    I need you an Post Template, and not work the next tip with a Post only Page. (On WP 2.7 not working too)

    Template Name: Mi pagina personalizada
Viewing 1 replies (of 1 total)
  • Try this on the functions.php:
    add_filter(‘single_template’, create_function(‘$t’, ‘foreach( (array) get_the_category() as $cat ) { if ( file_exists(TEMPLATEPATH . “/single-{$cat->term_id}.php”) ) return TEMPLATEPATH . “/single-{$cat->term_id}.php”; } return $t;’ ));

    I grabbed this code from somewhere this forum.

Viewing 1 replies (of 1 total)
  • The topic ‘Design a Post Template’ is closed to new replies.