*

Alej

  • ***
  • 50 posts
title/description conversion
« on: March 20, 2025, 04:28:04 PM »
Hi, you should add an option so that if the user types the title/description in capital letters, it will be converted to lowercase when published, with the first letter capitalized.

*

MB Themes

Re: title/description conversion
« Reply #1 on: March 22, 2025, 08:09:35 AM »
You can use ucwords function in your theme.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alej

  • ***
  • 50 posts
Re: title/description conversion
« Reply #2 on: March 22, 2025, 03:48:27 PM »
Are you planning to add it to the epsilon theme? Could you tell me which file I should modify and how to implement it?

*

MB Themes

Re: title/description conversion
« Reply #3 on: March 26, 2025, 02:14:45 PM »
No plans.
item.php, loop-single.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alej

  • ***
  • 50 posts
Re: title/description conversion
« Reply #4 on: March 26, 2025, 08:49:38 PM »
Is there any way to change it globally? Because modifying item.php and loop-single.php only changes the title, but not the breadcrumbs or the metadata. Is there any way to modify everything at once without modifying it individually? I use the "ucwords(strtolower(osc_item_title()))" function.

*

MB Themes

Re: title/description conversion
« Reply #5 on: March 27, 2025, 09:42:02 AM »
@Alej
Ideal solution for you is to update database data and after publish/edit of new items capitalize based on your preference.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots