Support » Plugin: YARPP - Yet Another Related Posts Plugin » What custom shortcode do I put to insert a custom H2 or remove yours?

  • I would like to put the title (Action Games), the 4 games and a button More Action Games on the homepage.

    I’m able to;
    – Insert an H2
    – Enter the custom shortcode for the tag.
    – Other Action Games Button.

    I do not know how;
    – Remove or change YARP H2 title to custom shortcode.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support aslamdoctor


    @ildomandatore the shortcode doesn’t have the option to remove or change the H2 tag.
    In this case, we suggest you build your own YARPP template and assign it using shortcode like this.

    [yarpp template=”yarpp-template-mytemplate”]

    This way you will be able to delete the H2 tag in this template.

    You have to follow few steps as below:

    • You will find the template files under plugin folder under yet-another-related-posts-plugin/yarpp-templates folder.
    • Copy one of them e.g. yarpp-template-simple.php and paste it under your theme folder.
    • Open the file in code editor and change the template name where it says e.g. “YARPP Template: Related games”.
    • Also rename template file name as per your needs, e.g. related-games.php
    • Now in your shortcode, you can use this template like this <br/>
      [yarpp template=”yarpp-template-related-games”]

    You might have to add your own CSS styling to this template because when you choose to build a custom template, it means you have full control over its design.

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