[ThemeForest] Soft Rejected -Wordpress Theme

I received an error message from the review team:

  1. Please use dashes ‘-’ instead of ‘_’ or ‘.’ for handlers and remove the extension.

I do not understand this clearly. Who can explain or give examples of that for me?

Thanks all :slight_smile:

html or wordpress? We need show demo preview thanks.

Our best guess is that this review is about wordpress theme.

  1. they no longer accept extensions in the package for sale you should host extensions on external URL & use that URL for fetching & installing extension from the external URL.
  2. This is pretty straight forward simply replace ‘-’ this with ‘_’ or ‘.’ for handlers (wherever you used throughout the code)
1 Like

Hi, It’s a Wordpress Theme. I think this problem is not related to the demo :slight_smile:

1 Like

Thanks :slight_smile:

Hi, Have you solved it? Can you tell me the solution of this problem?

Sorry for the delayed response, wondering in case you were able to solve the issue ? if not please inbox us with your offer & we will fix the issue for you!

That mean:
When you enqueue css or js:
https://developer.wordpress.org/reference/functions/wp_enqueue_style/
https://developer.wordpress.org/reference/functions/wp_enqueue_script/

Example:
wp_enqueue_script( ‘main_scripts’, get_template_directory_uri() . ‘/js/main.js’, array( ‘jquery’ ), ‘1.0’, true );

Change main_scripts above to main-scripts

3 Likes

Thank you very much :slight_smile: