How to change SEO data when using Jet Smart FIlters (Crocoblock)

#322804
  • Resolved Oleg
    Rank Math free

    Hello.
    I have a website about clinics and I use Crocoblock Jet plugins- one of them is Jet Smart Filter.
    When I use filter – url changes but SEO title doesn’t change – can we make it changable?

    I attached screenshots for more clear understanding of my case

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    If the pages are being generated dynamically and can’t be edited, you will have to modify and use the following filter to change the title: https://rankmath.com/kb/filters-hooks-api-developer/#change-the-title

    Hope this helps. Let us know if you need any other assistance.

    Oleg
    Rank Math free

    But to where to insert it?Which part?

    Prabhat
    Rank Math agency

    Hello,

    You can follow this guide to insert the modified code:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope this helps.

    Thank you.

    Oleg
    Rank Math free

    Hello. I inserted code but nothing happened) what changes has to be appeared?

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Oleg
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    We looked at your site and were able to replicate the issue.

    To troubleshoot the issue, we added Rank Math support for this Custom Post Type by applying the following filter in the functions.php file of Kava Child theme.

    By navigating to WordPress Dashboard > Appearance > Theme Editor > Kava Child theme > functions.php file > applied the filter towards the end of the file and updated it:

    add_filter( 'rank_math/excluded_post_types',function( $post_types) {
          $post_types['jet-smart-filters'] = 'jet-smart-filters';
         return $post_types;
    }, 11 );

    Now, you can edit the SEO meta box if you want on the smart filters. Also, the SEO title is the same as the title of the filters.

    We hope this helps. Please let us know if you need help with anything else.

    Thank you

    Oleg
    Rank Math free

    thanks, but still not clear for me hoew to change SEO title when i use one of the filters?

    Oleg
    Rank Math free

    can you explain step by step?

    Oleg
    Rank Math free

    I changed SEO title of Jet Smart Filters but nothing changed

    Please look at sensitive data for details

    Hello,

    Since the global settings are not being applied on the filter pages, please use the code given below in the functions.php file to change the title:

    add_filter( 'rank_math/frontend/title', function( $title ) {
    	global $wp;
    	$url = $wp->request;
    	if (strpos($url, "jsf")) {
    		return "custom title";
    	}
    	return $title;
    });

    Please change the custom title with the title you want to use.

    Hope this helps. Let us know if you need any other assistance.

    Thanks.

    Oleg
    Rank Math free

    but i need to display title of being used term (as term is a filter that is being used)

    For example i use filter and choose Allergology (Allergology is a term) and i need title to be “Allerology clinics”, for example.

    I mean is it possible to insert variables to titles of filters? – %term% for example or %customterm(taxonomy-name)%?

    Hello,

    Since you are using a custom post-type archive page and using different taxonomies to filter the results, further customization that is needed falls out of the scope of our support.

    You can get in touch with the support of the JetEngine and share the filter with them and they can help you customize that further or you can hire a professional developer.

    Please don’t hesitate to get in touch in case you need any other assistance.

    Thanks.

    Oleg
    Rank Math free

    ok, thanks

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘How to change SEO data when using Jet Smart FIlters (Crocoblock)’ is closed to new replies.