WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Change ORDERED list to UNORDERED (16 posts)

  1. xs650
    Member
    Posted 3 years ago #

    I want to change the
    <ol> list to the
    <ul>list

    Where in the heck is that in the plugin?
    I've been searching thru the plugin code and I don't see it

    I am not using a template, just the off the shelf display

    Ryan

  2. chadrew
    Member
    Posted 3 years ago #

    Well, if you're not using a template, it should be right after "Before / after related entries" and "Before / after each related entry".

  3. xs650
    Member
    Posted 3 years ago #

    I searched thru the files in the plugin and I can't find it.

    The 'yet-another-related-posts-plugin/template-builtin.php' is the default 'template' but the list tag is not in that file.

    I don't have FTP access, so I can't move the templates to the directory its asking me to use one of the templates.

    May its written to the database?

    That would suck, I don't have access to that either.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    As chadrew said, you should be able to edit this under "before/after each related entry" and "before/after related entries" form items in the YARPP options.

  5. xs650
    Member
    Posted 3 years ago #

    Ah, on the setting page.

    That did it.

    Wow, that was easy

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    Good. :)

  7. policycomplaints
    Member
    Posted 3 years ago #

    This option in settings page is only available if you choose to go ahead with "Automatically display related posts?" On our website, we have chosen "Display using a custom template file". So the option of "before/after related entries" is not available.

    Mitcho, can you help us out. We want to have a "bulleted list" or "numbered list". Presently, we are using "yarpp-template-list.php" as template file. We would like to have something like this:
    http://www.hlinstitute.org/test/wp-content/uploads/2011/04/3.png

    Mitcho, which file has to be edited for this?

  8. chadrew
    Member
    Posted 2 years ago #

    If you are using yarpp-template-list.php, you have to edit yarpp-template-list.php :)

  9. policycomplaints
    Member
    Posted 2 years ago #

    Thanks for the reply Chandrew. Shall really appreciate if you could help us out on where exactly the required code has to be inserted. None of us has an extensive knowledge of php or CSS. As mentioned earlier, we want the design to be something like this:

    http://www.hlinstitute.org/test/wp-content/uploads/2011/04/3.png

    Thanks once again for your help.

  10. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    @policycomplaints: @chandrew is correct... if you're using yarpp-template-list.php, that's the file you need to edit. It will be in your active theme's directory.

  11. emmfan
    Member
    Posted 2 years ago #

    Is there a way to change this or format the list in the YARPP widget?

  12. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    For the YARPP widget you can use a YARPP template. More info:

    http://mitcho.com/blog/projects/yarpp-3-templates/

  13. emmfan
    Member
    Posted 2 years ago #

    Is there an option on the YARPP widget to choose a template? I couldn't find it. Or do I use a PHP widget to manually select a template?

  14. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, the widget lets you choose a template.

    http://cl.ly/3C2v1f0032380t1e0h07

    Just choose the "display using a custom template file" option.

  15. emmfan
    Member
    Posted 2 years ago #

    Ah, thanks. I realized that I had to copy the template files into my theme directory first before the the custom template file checkbox would show up in the widget layout.

  16. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Indeed. Glad it worked out. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic