WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
if (function_exists('displayNewsItems')) { displayNewsItems( $group_id = 0, $max_news_items = 2, $max_news_length = 200, $display_mode = 5, $lang_id = 'DE', $strip_tags = false, $allowed_tags = '<p><a><img>', $custom_placeholder = false, $sort_by = 1, $sort_order = 1, $not_older_than = 0 ); //displayNewsItems(57, 87, 260, 5,'DE' ,'true' ,'<p><a><img>' , 1, 0);}
displayNewsItems(array(15, 16, 17, 18, 19), 5, 1, 2, NL, true, '<p><a><img>', false, 2, 1, 0);
<div class="anynews"><ul><!-- BEGIN news_block --><li><a href="[b]{LINK}[/b]">{TITLE}</a></li><!-- END news_block --></ul></div> {LINK}
<li><a href="{LINK}">{TITLE}</a></li>
<?phpdisplayNewsItems( $group_id = array(15, 16, 17, 18, 19), $max_news_items = 5, $max_news_length = 1, $display_mode = 2, $lang_id = 'NL', $strip_tags = true, $allowed_tags = '<p><a><img><b>', $custom_placeholder = false, $sort_by = 2, $sort_order = 1, $not_older_than = 0); ?>
I´ll wait for the next version.
Hi,as Dietmar mentioned, try to add the <b> tag to the allowed tags.
<!-- Display News --><?phpif (function_exists('displayNewsItems')) { $test = displayNewsItems(0,3, 160, 1, $lang_id, $strip_tags, $allowed_tags, $custom_placeholder, $sort_by, $sort_order, $not_older_than); if ($test != "") { echo '<div id="menunews" style="display:block;">'; echo '<a href="http://prix-excellence.com/pages/nouvelles.php">Nouvelles</a>'; displayNewsItems(0,3, 160, 1, $lang_id, $strip_tags, $allowed_tags, $custom_placeholder, $sort_by, $sort_order, $not_older_than); echo '</div>'; }}?>
<!-- Display News --><?phpif (function_exists('displayNewsItems')) { $test = displayNewsItems(0,3, 160, 1, $lang_id, $strip_tags, $allowed_tags, $custom_placeholder, $sort_by, $sort_order, $not_older_than); if ($test != "") { ?> <div id="menunews" style="display:block;"> <a href="http://prix-excellence.com/pages/nouvelles.php">Nouvelles</a> <?php displayNewsItems(0,3, 160, 1, $lang_id, $strip_tags, $allowed_tags, $custom_placeholder, $sort_by, $sort_order, $not_older_than); ?> </div> <?php }}?>