Plugin Directory

Changeset 117932


Ignore:
Timestamp:
05/14/2009 03:49:02 PM (17 years ago)
Author:
elebail
Message:

readme corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-category-meta/trunk/readme.txt

    r117926 r117932  
    3333
    34346. you can use the folowing functions into your templates to retreive 1 meta:
    35 <?php
    36 if (function_exists('get_terms_meta'))
    37 {
    38     $metaValue = get_terms_meta($category_id, $meta_key);
    39 }
    40 ?>
     35`<?php if (function_exists('get_terms_meta'))`
     36`{ $metaValue = get_terms_meta($category_id, $meta_key); }`
     37`?>`
    4138
    42397. you can use the folowing functions into your templates to retreive all meta:
    43 <?php
    44 if (function_exists('get_all_terms_meta'))
    45 {
    46     $metaList = get_all_terms_meta($category_id);
    47 }
    48 ?>
     40`<?php if (function_exists('get_all_terms_meta'))`
     41`{ $metaList = get_all_terms_meta($category_id); }`
     42`?>`
    4943
    5044== Frequently Asked Questions ==
Note: See TracChangeset for help on using the changeset viewer.