Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM How to remove the capitalization of first letter in custom labels

This topic contains 1 reply, has 2 voices, and was last updated by  Wolfram 2 years, 9 months ago.

  • Author
  • #102086


    Go to libs/listing_functions.php

    Delete the word “ucwords” and save

    This will make your custom labels to show as you write them in Admin – Theme Options -Custom Fields section.

    delete ucwords

  • #102093


    Great, that works.

    I’ve put the libs/listing_functions.php in the child themes folder and called it via

    require_once ('libs/listing_functions.php');

    in the functions.php. So it won’t be overwritten when updating the theme.

    But I would suggest to delete this function by default and use css instead. So it’s easier to customize.

    • This reply was modified 2 years, 9 months ago by  Wolfram.

You must be logged in to reply to this topic.