Manually select slugs when adding listings (CSV import)

Hello,

I contacted support who asked me to post here instead.

I am unable to manually select the slug of my listings and Wordpress does it by itself. I’m unfortunately working with Japanese names which makes the slugs ridiculously long such as the below:

https://domain name.com/listing/kij語学院東京校/

Other plugins do offer the slug selection in the column mapping section. As I have a slug already prepared in my CSV, it would be easy for me to use that feature.

Any chance to get a fix on that please?

Ty!

Thanks for your message — our team will reply shortly.

In the meantime, you can also get instant help from our AI Assistant, familiar with all the docs and solutions we’ve shared over the years.

Hi,

Please try this code snippet to temporarily add the Slug field for mapping in the import form:

add_filter(
 'hivepress/v1/forms/listing_update',
 function( $form ) {
  if ( current_user_can ('manage_options') ) {
   $form['fields']['slug'] = [ 'label' => 'Slug', '_order' => 90 ];
  }
  return $form;
 },
 1000
);

Please remember to remove or disable the snippet after the import since it also adds the Slug field to the listing form (for admins only, though).

Hope this helps

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.