Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Recent Posts link bug + add_allowed_tags bug
  • Loading branch information
briandunnigan authored and briandunnigan committed Oct 22, 2015
1 parent 56e85ee commit d570622
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions functions.php
Expand Up @@ -313,7 +313,7 @@ function prefix_ajax_clas_tag_posts() { //Retieves posts of a specific tag, usin
}

//Bootstrap whitelist
function add_allowed_tags($tags) {
/*function add_allowed_tags($tags) {
$newtags = array(
'div',
'ul',
Expand Down Expand Up @@ -351,7 +351,7 @@ function add_allowed_tags($tags) {
}
return $tags;
}
}*/
add_filter('wp_kses_allowed_html', 'add_allowed_tags');


Expand Down
2 changes: 1 addition & 1 deletion single.php
Expand Up @@ -125,7 +125,7 @@ get_header(); ?>


echo '<div class="recent-posts-blog"><ul>';
echo '<li class="title">' . get_the_title() . '</li>';
echo '<li class="title"><a href="'.get_permalink().'">' . get_the_title() . '</a></li>';
echo '<li class="date">'. '<img src="'. get_bloginfo('template_url') .'/img/icon-calendar-green.png"/>' . get_the_date() . '</li>';
echo '</ul></div>';

Expand Down

0 comments on commit d570622

Please sign in to comment.