Cannot reference template by name
-
In my child themes “list-category-posts” folder I have two templates.
lcp_default_template.php (copied from the plugin templates folder)
and
lcp_posts.php ( my own custom template )
I am using the following shortcode in my news page:
[catlist name=news_item template=lcp_posts numberposts=5 pagination=yes excerpt=yes date=yes author=yes thumbnail=yes thumbnail_size=full posts_morelink=”Read more”]
The problem is that template=lcp_posts is ignored and the catlist uses the lcp_default_template instead.
I simply cannot link to my lcp_posts template.
Please advise.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Cannot reference template by name’ is closed to new replies.