• Resolved dimal

    (@dimalifragis)


    Hi,

    Test are done on a production site and replicated in a staging site without any plugins. Just a theme.

    It seems that whatever i put in here:

    https://prnt.sc/VPkj_PfW2MMy

    is ignored as i see in the html code of the pages. Same for all “single” type pages.

    Any ideas? Is that working?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mahfuzul Alam

    (@mahfuz87)

    Hi @dimalifragis

    Thank you for reaching out.

    I have made a little change in the class-seo.php file located at /wp-content/plugins/directorist/includes/classes/class-seo.php on line 1016

    // Title
    $settings_title = get_directorist_option('single_category_meta_title');
    if ( ! empty( $term ) ) $seo_meta['title'] = $term->name;
    if ( ! empty( $settings_title ) ) $seo_meta['title'] = $settings_title;

    Custom meta title and description is now working fine on my end – https://prnt.sc/omrHDJSKJiE0

    Please replace this code and try on your end. I believe it will work for you too. Please make sure to enable this following option – https://prnt.sc/xBebqrrS2hoe

    Please let me know if the solution works for you, then I will submit a pull request.

    Thank you for your patience and cooperation.

    Kind Regards

    Thread Starter dimal

    (@dimalifragis)

    Hi and thanks.

    I need some time to test it and update here when i have results.

    Thread Starter dimal

    (@dimalifragis)

    Hi,

    I don’t see anything changed with this code patch. So it is better to leave it as it is for now.

    We have found an other way to overcome this.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.