Support » Plugin: Yet Another Related Posts Plugin (YARPP) » Custom Theme documentation

  • Resolved ivano098

    (@ivano098)


    Hello, is there documentation to methods/functions (such as the_title_attribute()) available for building custom themes? I’d like to add images, titles, and excerpts.

    Thank you.

    • This topic was modified 2 months, 2 weeks ago by ivano098.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ivano098

    (@ivano098)

    Update: I understand I can use Template Tags listed in https://codex.wordpress.org/Template_Tags. Unless there is more to it, the link above suffices. Thank you.

    Plugin Author yarpp

    (@jeffparker)

    Templating in YARPP enables developers to uber-customize their YARPP display using PHP and template tags.

    The tags we use in YARPP templates are the same as the template tags used in any WordPress template. In fact, any WordPress template tag will work in the YARPP Loop. You can use these template tags to display the excerpt, the post date, the comment count, or even some custom metadata. In addition, template tags from other plugins will also work.

    If you’ve ever had to tweak or build a WordPress theme before, you’ll immediately feel at home.

    Special template tags which only work within a YARPP Loop:

    1. the_score() // this will print the YARPP match score of that particular related post
    2. get_the_score() // or return the YARPP match score of that particular related post

    Thread Starter ivano098

    (@ivano098)

    Thank you for confirming and for the special template tags.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.