Support » Plugin: Yet Another Related Posts Plugin (YARPP) » Widget list to bullets

Viewing 2 replies - 1 through 2 (of 2 total)
  • change ol to ul within the plugin settings…

    Thread Starter BX12


    Hi @charismeki,

    Thank you for your reply. Good thought! I already had everything in “Settings” (free version) at ul. And there is no section for making changes to the widget. However, your suggestion lead me to “edit” the YARPP plugin, see below, from ol to ul and it did remove the numbered list, which is great, but it would not display the list as bulleted. ??? This is much better than a numbered list though.
    Thanks again, Brad
    Editing yet-another-related-posts-plugin/includes/template_widget.php

    if (have_posts()) {
    	$output .= '<ul>';
    	while (have_posts()) {
    		$output .= '<li><a href="'.get_permalink().'" rel="bookmark">'.get_the_title().'</a>';
    //		$output .= ' ('.round(get_the_score(),3).')';
    		$output .= '</li>';
    	$output .= '</ul>';
    } else {
    	$output .= '<p><em>'.__('No related posts.','yarpp').'</em></p>';
    • This reply was modified 3 years, 11 months ago by BX12.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget list to bullets’ is closed to new replies.