Posts in Sidebar
[resolved] change link of "read more" (4 posts)

  1. pauandriole
    Posted 2 years ago #

    Hello, thank you for your beautiful plugin. I need change de link of the "read more" bottom. I need that all the post of a category (select by ID) links at the same page. Haw I can do it?
    Sorry for my english


  2. aldolat
    Plugin Author

    Posted 2 years ago #

    currently it's not possible to change the link of the "Read more" link. If you want to display the link to the category of the posts, you can use "The link to the archive" section.

    This link will be displayed if you select only one category of posts. For example, let's say you want to display three posts from the category news-of-the-day and display the link this category. In this case the link to the category will be shown.

    Anyway, in your case you could use a "hack". Follow these steps:

    1. Create a widget displaying only one post from one category
    2. Make blank the field "Use this text for More link" in the section "The text of the post"
    3. In the section "The link to the archive" activate "Display the link to the taxonomy archive" and in the "Use this text for archive link" field type the text "Read more..." or whatever you want.

    The widget will display a "Read more" link with the link to the category.

    Repeat this steps for every post you want to display (i.e., repeat these steps 2 times if you want 3 widgets).

    Let me know.


  3. pauandriole
    Posted 2 years ago #

    Hi, yes! I can do it! Thank you very much. I change one thing in posts-in-sidebar.php for include the "read more" tag into the loop. If you want to see the result look at paulajust.com.ar/dev
    It is in development state.
    Thanks again!

  4. aldolat
    Plugin Author

    Posted 2 years ago #

    My advice is to not edit plugin's files, because you will need to reapply your modifications when a new version is released.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posts in Sidebar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic