Soft Reject For Prefix


  1. Prefix everything and use unique (theme-name-based) consistent slugs. Additional prefix is acceptable for when the author is using a framework.

Avoid using initials or abbreviations, theme uses wr_.

Here’s a list of the most common things that should be prefixed: PHP function names, PHP class names, PHP global variables, Action/Filter hooks, Script handles, Style handles and Image size names.

So when I prefix everything with “wr_” it’s not a prefix ?


wr isn’t not unique enough, change to wordica_themename_


Ok thank You and second reason:

  1. Theme doesn’t need to use wp_register_* when adding script and styles, wp_enqueue_* will be enough.

But when I remove wp_register_* I only see blank page.


use wp_eneueue example from

you don’t need to register then enqueue, only register if you are enqueuring later e.g. in a plugin


I use it and nothing … I see CSS in source of page but page is blank.


your code is wrong then, turn on wp_debug


no errors,not notice


do you have a url to show?


no … I remove function that generate notice and now I see page but without CSS - one big mess…


put your code on and add link here


When I change:

wp_enqueue_style( ‘navbar’, get_stylesheet_uri() . ‘’/inc/css/navbar.css’, ‘all’ );

wp_enqueue_style( ‘navbar’, get_template_directory_uri() . ‘/inc/css/navbar.css’, ‘all’ );

It start working…

It start working. But 4 point of soft reject is to use get_stylesheet_uri and get_template_directory_uri where they should be used.


Try get_stylesheet_directory_uri() instead


Yes it works I just check it. Thanks for Your time :slight_smile:


no worries :slight_smile: