• with all my other widgets I can add space at the bottom of the displayed items with code like

    <div.widget.widget_random_from_cat ul li {
    margin-bottom: 1px;
    }

    I noticed that there isn’t a in the source–is that the problem? I tried sticking one in here in the edit plugin screen but it still doesn’t display

    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
                    <?php
    				if ($instance['content'] == 'excerpt') {
    					if (function_exists('the_excerpt_reloaded'))
    						the_excerpt_reloaded($instance['words'], $instance['tags'], 'content', FALSE, '', '', '1', '');
    					else the_excerpt();  // this covers Advanced Excerpt as well as the built-in one
    				}
    				if ($instance['content'] == 'content') the_content();
    			endwhile; endif;
    			?></li>
    			</ul>

    any suggestions?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Random Posts from Category] problems styleing widget_random_from_cat’ is closed to new replies.