Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author wpfundi

    (@safiweb)

    Hey,

    Thank you for using the plugin.

    Its possible to add “View More Posts” link under the list but you will need to make adjustments to core plugin file.

    I will add this in the next version/update.

    Thread Starter ghleor

    (@ghleor)

    Thanks for your answer
    Ok! I’ll wait till then!

    I’m waiting too for this improvement !
    Any idea when it’s planned for ?

    safiweb,
    Until it’s implemented in your future release, I did a little hack of the code to display something equivalent.

    In advanced-recent-posts-widget.php line 216, added:

    echo '<ul class="more"><a href="my link">View More Posts</a></ul>';

    where “my link” points to the URL of the category.

    In advanced-recent-posts-widget.css lines 40 to 42, added:

    .advanced_recent_posts_widget .more{
       margin-left: 25px;
    }

    I don’t like it much but it does the job … for the moment !

    Thread Starter ghleor

    (@ghleor)

    Yes, I did the same, but you just can use this widget once
    Also, I tried write:

    <a>
    instead of
    </a><a href="my link">

    But it doesn’t work, because instance name is not “cat”

    I don’t know if it can be solved just changing href link or if is more complicated to add.

    Thread Starter ghleor

    (@ghleor)

    Yes, I did the same, but you just can use this widget once
    Also, I tried write:

    <a href="' . get_category_link($instance["cat"]) . '">
    instead of
    <a href="my link">
    But it doesn’t work, because instance name is not “cat”

    I don’t know if it can be solved just changing href link or if is more complicated to add.

    Check lines 52 or 231 of the php file. The instance name seems to be “cats” (with a S).

    Thread Starter ghleor

    (@ghleor)

    The issue is that you can include several categories, then where would link category goes?
    That I want is a link that goes to category, having selected just one category on the list of categories

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add link 'View More Posts' below posts list’ is closed to new replies.