Title: Adding a custom field issue
Last modified: February 10, 2022

---

# Adding a custom field issue

 *  Resolved [robmcp](https://wordpress.org/support/users/robmcp/)
 * (@robmcp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/adding-a-custom-field-issue/)
 * I followed your excellent instruction on adding a custom field.
    Company Name
   in functions.php
 *     ```
         $config['company'] = [
               'label' => __('Company Name', 'your_theme_domain'),
               'placeholder' => __('Company Name', 'your_theme_domain'),
               'required' => true,
               'type' => 'text',
           ];
       ```
   
 * It appears nicely on the review form, what does not happen is that when I approve
   the review I see this.
    In the name field is the name I input then next to it
   is the custom field placeholder I created so. **“This is my name {{ company }}”**
   it’s in the add filter for the correct sort / postioning order. It just won’t
   appear on the review. I have obviously missed something simple but cannot see
   what. Can you suggest anything? Thanks, R.
    -  This topic was modified 4 years, 4 months ago by [robmcp](https://wordpress.org/support/users/robmcp/).

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

 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/adding-a-custom-field-issue/#post-15353044)
 * Adding custom fields is not supported. If you would like to do it on your own,
   the pastebin link provides the basic examples that you need: [https://pastebin.com/4fvKErcp](https://pastebin.com/4fvKErcp)
 * ![](https://i0.wp.com/i.imgur.com/CrPv6Yk.png?ssl=1)
 *  Thread Starter [robmcp](https://wordpress.org/support/users/robmcp/)
 * (@robmcp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/adding-a-custom-field-issue/#post-15354503)
 * Thanks, I did read that first, and got my custom field displaying ok on the form
   and taking input.
    What I am stuck with is seeing that input when I approve the
   review for view on a page. Missing something will give it another re-read. I 
   just see the {{company}} placeholder showing on the review front end. 🙁
 *  Thread Starter [robmcp](https://wordpress.org/support/users/robmcp/)
 * (@robmcp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/adding-a-custom-field-issue/#post-15354746)
 * Excellent! I now have it working, BUT…
 * One teeny issue (there’s always one)
 * I got this working but I need a space/ C/R. In visible Approved reviews I now
   see this
 * Joe BlogsRolls Royce
 * Name is displayed and the company name ( my custom field ) but NO space between
   them or carriage return (preferrable)
    Any suggestions?
 *  Thread Starter [robmcp](https://wordpress.org/support/users/robmcp/)
 * (@robmcp)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/adding-a-custom-field-issue/#post-15355614)
 * I’ve added 2% spacing to the custom CSS field but would like a carriage return
   if at all possible.

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

The topic ‘Adding a custom field issue’ is closed to new replies.

 * ![](https://ps.w.org/site-reviews/assets/icon-256x256.gif?rev=3307009)
 * [Site Reviews](https://wordpress.org/plugins/site-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/site-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/site-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/site-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/site-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/site-reviews/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [robmcp](https://wordpress.org/support/users/robmcp/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/adding-a-custom-field-issue/#post-15355614)
 * Status: resolved