Start a new topic

Dashes in the Song title

I notice that when I upload an audio file, I notice the there are dashes in the name. Is there a way for an user to upload an audio track with out the dashes being displayed in the post.


For example,


Micheal Jackson - Beat It appears as "-Micheal-Jackson---Beat-It"


Let me know if this is possible.


Please create a new ticket with WP credentials. So our team fix this changes.

I don't see that particular file in the theme. Should I open a ticket, so that you all can make the necessary change?


Thanks

Follow the procedure to automatically move the dashes


1. Open the uploader_class.php file

2. Find the following code on line #375 

  

preg_replace( '/\.[^.]+$/', '', basename( $filename ) ),

 


And replace with 


  

exc_to_text( preg_replace( '/\.[^.]+$/', '', basename( $filename ) ) ),




I understand this as far as SEO and the Backend is concern, but it shouldn't show that way to the front end user. I have used other wordpress templates before and visitors to the site never see dashes in the titles even though they are there in the back. I have found examples in the uploader theme where there are no dashes. Please reference the screen shot. What would I need to do to replicate the few examples. Look at the end of track 6,15 and 16 to see those examples

This is mandatory for seo purpose and urls.

Login or Signup to post a comment