WordPress.org

Support

Support » Plugins and Hacks » Adding static text before paramters

Adding static text before paramters

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fernando Briano
    Participant

    @fernandobt

    The way to do that would be using a template. Check the example template on templates/default.php as a reference.

    I couldn’t figure out how to do it using the template, but I was able to do it using css. To add “By” before the author:

    Add this to the main css file:

    .lcp_byline:before {
      content: "By: ";
    }

    Add this to the shortcode:
    author=yes author_tag=span author_class=lcp_byline

    Result:
    By: Author Name

    Hope this helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding static text before paramters’ is closed to new replies.