Short Code Not Using Custom Template
First let me preface this by saying that I am using version 1.4.0, which was downloaded from github, because it has the list feature, which works awesomely – so thanks for that.
However, I ran into an issue when I wanted to show just one testimonial on the home page. I customized the testimonials-loop-template and when I use the short code
[ic_do_testimonials display='list' quantity='-1']my custom template works perfectly. However, if I use this short code:
[ic_do_testimonials ajax_on='no']to just show 1 testimonial, my custom template is ignored and the default template in the ivycat-ajax-testimonials.php file is used.
Thankfully with an additional div and some css I was able to get the single testimonial to display consistently with the list of testimonials on the testimonials page. Was just hoping that I wouldn’t have to add the extra coding to keep the layout and css consistent between the single and list display.
This post is more of an FYI than a major problem, but just wanted to give some feedback.
- The topic ‘Short Code Not Using Custom Template’ is closed to new replies.