This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Web

  • ****
  • 183 posts
Hide Region meta title
« on: April 29, 2020, 04:19:42 pm »
How can I ad new condition in meta title?


www.domain.com/badarpur-c276118

CITY not empty. Hide STATE META TITLE

      if( !isset($category[0]) && $country == '' && $region == '' && $city == '' && $pattern == '' ) {
        $tag = __('all listings', 'all_in_one');
      } else{
        $tag = ais_create_tag( $search_title_active, $delimiter );
      }

*

MB Themes

Re: Hide Region meta title
« Reply #1 on: April 29, 2020, 06:52:45 pm »
Conditional formatting of constructors is not available in plugin
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Web

  • ****
  • 183 posts
Re: Hide Region meta title
« Reply #2 on: April 30, 2020, 06:13:37 am »
Any other way to do this?

Marked as best answer by frosticek on May 01, 2020, 02:55:24 pm
*

MB Themes

Re: Hide Region meta title
« Reply #3 on: April 30, 2020, 06:12:15 pm »
@Web
Update functions in index.php those generate tags in conditional way (if city not blank, hide region etc)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Web

  • ****
  • 183 posts
Re: Hide Region meta title
« Reply #4 on: April 30, 2020, 08:52:16 pm »
How can I hide region title in variable $search_title_active ??

} elseif($city !== ''){

        $tag = ais_create_tag($search_title_active, $delimiter );

      }

*

Web

  • ****
  • 183 posts
Re: Hide Region meta title
« Reply #5 on: May 01, 2020, 12:11:59 pm »
Solved

*

Web

  • ****
  • 183 posts
Re: Hide Region meta title
« Reply #6 on: May 02, 2020, 09:54:58 am »
How can I get category meta tittle and description?

*

Web

  • ****
  • 183 posts
Re: Hide Region meta title
« Reply #7 on: May 05, 2020, 10:20:18 am »
??

*

MB Themes

Re: Hide Region meta title
« Reply #8 on: May 05, 2020, 07:48:37 pm »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots