-
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
-
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.
But to where to insert it?Which part?
Hello,
You can follow this guide to insert the modified code:
https://rankmath.com/kb/wordpress-hooks-actions-filters/Hope this helps.
Thank you.
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.
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.
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
thanks, but still not clear for me hoew to change SEO title when i use one of the filters?
can you explain step by step?
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.
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.
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.
The ticket ‘How to change SEO data when using Jet Smart FIlters (Crocoblock)’ is closed to new replies.