Category Posts Widget
Adding previous/next (6 posts)

  1. fredMCCR
    Posted 3 years ago #

    How can I add "previous" and "next" tags at the bottom left of the widget, to give navigation capability between all the posts of the category to the widget ?
    Thanks !


  2. aschlemmer
    Posted 3 years ago #

    Maybe I could add here my more simple question:

    How to add a custom HTML link at the last position of the Category Posts Widgets, simply injecting another <li> with custom content.

    So it's basically the same question as fredMCCR's but without intelligence of navigation.

  3. aschlemmer
    Posted 3 years ago #

    ok, by adding one line before the closing </ul> directly in the plug in code, it worked
    but this way it is not update-safe ...

  4. fredMCCR
    Posted 3 years ago #

    Thank you for the tip aschlemmer, that's better than nothing ! (I still hope to have a reply from the developper of this plugin)
    Where did you put it in the code (line number) ?
    I guess it's in cat-posts.php, please confirm.

  5. aschlemmer
    Posted 3 years ago #

    Hi fredMCR, i put it right before the closing ul in line 115:

    echo '<li class="more"><a href="#">LINK TEXT</a></li>';
    	echo "</ul>\n";

    yes, in cat-posts.php

  6. fredMCCR
    Posted 3 years ago #

    Thanks again, I'll try that first.
    James Lao, can I expect an improvement like the one I suggested ?
    I don't see any new release of your plugin since one year and half ...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Posts Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.