Plugin Directory

Changeset 117936


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

BackTics for php code in readme.txt

File:
1 edited

Legend:

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

    r117933 r117936  
    3333
    34346. you can use the folowing functions into your templates to retreive 1 meta:
    35 `<?php if (function_exists('get_terms_meta'))`
    36 `{ $metaValue = get_terms_meta($category_id, $meta_key); }`
    37 `?>`
     35`<?php if (function_exists('get_terms_meta'))
     36{ $metaValue = get_terms_meta($category_id, $meta_key); }
     37?>`
    3838
    39397. you can use the folowing functions into your templates to retreive all meta:
    40 `<?php if (function_exists('get_all_terms_meta'))`
    41 `{ $metaList = get_all_terms_meta($category_id); }`
    42 `?>`
     40`<?php if (function_exists('get_all_terms_meta'))
     41{ $metaList = get_all_terms_meta($category_id); }
     42?>`
    4343
    4444== Frequently Asked Questions ==
Note: See TracChangeset for help on using the changeset viewer.