Support » Plugin: YARPP - Yet Another Related Posts Plugin » How can I have a custom layout for widget?

  • Resolved leecollings

    (@leecollings)


    I need to be able to provide a custom layout template for the widget. Can you please advise how I can do this?

    Can I place a file in my theme, or use a filter / action to override the template?

    Please advise, as there are no options for customising the layout (markup) when using the widget.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter leecollings

    (@leecollings)

    I’ve just found out how to do this (although you need to re-write the information because you don’t do a very good job at explaining it).

    I’ve just seen though that you are loading a CSS file, how can I stop this from loading? (Without just overriding what’s in it, I actually want to turn off the enqueueing of it please), you don’t seem to have this option to disable all styling.

    Plugin Author yarpp

    (@jeffparker)

    Hi @leecollings

    We have a filter for this:


    add_filter( 'yarpp_enqueue_related_style', '__return_false' );

    Do let us know if this resolves your issue?

    ps. Do you have specific suggestions on the rewrite? please do share what was not clear. very open to suggestions to improve!

    Plugin Author yarpp

    (@jeffparker)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue or re-open this one.

    ps. please do share what was not clear so we can improve the docs! we would appreciate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I have a custom layout for widget?’ is closed to new replies.