Forums

[resolved] Categories List (3 posts)

  1. icekid
    Member
    Posted 3 years ago #

    Are there any plugins which show a list particular category's post.

    Something like this http://www.dagondesign.com/articles/drop-down-post-list-plugin-for-wordpress/

    But instead of drop down a simple list. in a post.

  2. Dagon Design
    Member
    Posted 3 years ago #

    Hello,

    Here is a quick modification to my plugin that should do what you need:

    Find this line in the script:

    if ($ddpl_type == 'jump') {

    Before it, add this:

    $t_out .= $ddpl_before_list . '<ul>';
    foreach ($post_list as $p) {
    	$t_out .= '<li><a href="' . get_permalink($p->ID) . '">' . $p->post_title . '</a></li>';
    }
    $t_out .= '</ul>' . $ddpl_after_list;
    return $t_out;

    It just creates a simple list. You can still use the options for code before/after the list from the options panel.

  3. icekid
    Member
    Posted 3 years ago #

    The creator of that plugin him/herself. Thanks mate worked like a charm. You have no idea how grateful I am. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.