Title: Prefix Problem
Last modified: November 12, 2017

---

# Prefix Problem

 *  [janakasajith](https://wordpress.org/support/users/janakasajith/)
 * (@janakasajith)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/prefix-problem/)
 * Hi There,
    Love your Plugin. Very helpful. I tried to add pound sign(£) as prefix,
   after I added it didn’t show the sliders, It only works with $ sign. Is there
   any other way to do this?
 * Thank You.
    -  This topic was modified 8 years, 6 months ago by [janakasajith](https://wordpress.org/support/users/janakasajith/).

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

 *  Plugin Author [A.malakar](https://wordpress.org/support/users/ayushmalakar/)
 * (@ayushmalakar)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/prefix-problem/#post-9679058)
 * Hi [@janakasajith](https://wordpress.org/support/users/janakasajith/)
 * Thank you for your question. For now I can only give you a quick fix, I hope 
   your comfortable with editing the files, as this is the only solution I can give
   you for now, I will make sure to address this issue in the future updates.
 * What you are required to do is on the file `wp-content/plugins/cf7-ui-slider/
   includes/slider-tag.php` and `wp-content/plugins/cf7-ui-slider/includes/range-
   slider-tag.php`
 * Please add the following line of code after line number 69
 *     ```
       if ( preg_match( "/&/", $atts['prefix'] ) ) {
       				$atts['prefix'] = html_entity_decode( $atts['prefix'] . ';' );
       			}
       ```
   
 * And now in the prefix you can add the “pound symbol” simply by typing `&pound`
 * Here is an example code
    `[cf7_ui_slider cf7_ui_slider-3 id:test min:0 ui_default:
   8 max:77 prefix:&pound step:3]`
 * Please do let me know if this works for you or not
 *  Plugin Author [A.malakar](https://wordpress.org/support/users/ayushmalakar/)
 * (@ayushmalakar)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/prefix-problem/#post-9679060)
 * Hi [@janakasajith](https://wordpress.org/support/users/janakasajith/)
 * Thank you for your question. For now I can only give you a quick fix, I hope 
   your comfortable with editing the files, as this is the only solution I can give
   you for now, I will make sure to address this issue in the future updates.
 * What you are required to do is on the file `wp-content/plugins/cf7-ui-slider/
   includes/slider-tag.php` and `wp-content/plugins/cf7-ui-slider/includes/range-
   slider-tag.php`
 * Please add the following line of code after line number 69
 *     ```
       if ( preg_match( "/&/", $atts['prefix'] ) ) {
       				$atts['prefix'] = html_entity_decode( $atts['prefix'] . ';' );
       			}
       ```
   
 * And now in the prefix you can add the “pound symbol” simply by typing `&pound`
 * Here is an example code
    `[cf7_ui_slider cf7_ui_slider-3 id:test min:0 ui_default:
   8 max:77 prefix:&pound step:3]`
 * Please do let me know if this works for you or not

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

The topic ‘Prefix Problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cf7-ui-slider.svg)
 * [Cf7 UI slider](https://wordpress.org/plugins/cf7-ui-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-ui-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-ui-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-ui-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-ui-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-ui-slider/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [A.malakar](https://wordpress.org/support/users/ayushmalakar/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/prefix-problem/#post-9679060)
 * Status: not resolved