custom Templates problem
-
Hi Peter,
like I mentioned in an older post, there is a bug in /inc/widget.php and in /inc/shortcode.php. In both files you implement the template parts like this:
get_template_part( 'views/kebo-twitter-list' );
(e.g. widget.php, line 140)Doing so means, that some variables are not passed / are empty and my custom template always returns “Sorry, no tweets found”. Please change the code to:
require(locate_template('views/kebo-twitter-list.php'));
Thanks in advance,
Roman
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘custom Templates problem’ is closed to new replies.