I'm trying to use this plugin on my site, unfortunately I'm having to call these short codes in my template files like so:
echo do_shortcode('[catlist id=1]');
However, it doesn't seem to be working like I need it to When I place that code at the top of my template file, it literally just echos out the title of the article. For example I'm running a hearing loss blog, and for my tinnitus category page I place this code in there:
echo do_shortcode('[catlist name=tinnitus]');
and I see this at the top of the category page:
Ringing, Buzzing, or Chirping Sound in Your Ears? Tinnitus – What IS that Ringing in My Ears?? Constant Ringing in Your Ears? Dizzy? You’re Not Alone! Tinnitus: What’s that ringing in my ears?!
so its just echoing out the titles of the posts at the top of the page...
What am I doing wrong here, and how can I get these short codes to work in my template files?
also, lets say I wanted to do something like this:
$category_id = get_cat_ID('Hearing Aids'); echo do_shortcode('[catlist id='.$category_id.' numberposts=1]');
would something like that work?
I REALLY appreciate any help guys :) Thanks in advance