Title: Adding static text before paramters
Last modified: August 21, 2016

---

# Adding static text before paramters

 *  [yoyoma1974](https://wordpress.org/support/users/yoyoma1974/)
 * (@yoyoma1974)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/adding-static-text-before-paramters/)
 * I’m trying to prefix some of the paramters with some static text. Would it be
   possible to output the following under the post title:
 * Filed in “Category Name” by “Post Author” on “Post Date”
 * Thanks for any assistance.
 * Tim
 * [https://wordpress.org/plugins/list-category-posts/](https://wordpress.org/plugins/list-category-posts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Fernando Briano](https://wordpress.org/support/users/fernandobt/)
 * (@fernandobt)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/adding-static-text-before-paramters/#post-4572484)
 * The way to do that would be using a template. Check the example template on templates/
   default.php as a reference.
 *  [raganj](https://wordpress.org/support/users/raganj/)
 * (@raganj)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-static-text-before-paramters/#post-4572608)
 * 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.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

## Tags

 * [static text](https://wordpress.org/support/topic-tag/static-text/)

 * 2 replies
 * 3 participants
 * Last reply from: [raganj](https://wordpress.org/support/users/raganj/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/adding-static-text-before-paramters/#post-4572608)
 * Status: not resolved