Viewing 3 replies - 1 through 3 (of 3 total)
  • You have to filter the keys instead. Don’t use the_meta but get_post_meta for the custom fields you need. See http://codex.wordpress.org/Function_Reference/get_post_meta for details. Something like that:
    [code]
    <ul class='post-meta'>

    • <span class='post-meta-key'>keyname:</span> <?php echo get_post_meta(the_ID(), 'keyname', true) ?>
    • .....
    • [/code]

    You have to filter the keys instead. Don’t use the_meta but get_post_meta for the custom fields you need. See http://codex.wordpress.org/Function_Reference/get_post_meta for details. Something like that:

    <ul class='post-meta'>
    <li><span class='post-meta-key'>keyname:</span> <?php echo get_post_meta(the_ID(), 'keyname', true) ?></li>
    <li>.....</li>
    </ul>

    Thread Starter Okoth1

    (@okoth1)

    Thanks for that! get_post_meta and the plugin work perfectly next to each other.

    This plugin is really great! My favorite at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Keyword Statistics] Plugin doesn’t work toether with the_meta in post’ is closed to new replies.