Category rtCamp

rtCamp notes, day 31 of undefined

Adding features to your theme, WordPress allows us to add some predefined features ( activate some pre defined features on our theme ), We can add the code add_theme_support( $support_name, $arguments ) to our themes functions.php to activate them, Some…

rtCamp notes, day 30 of undefined

Functions to get the theme directories: Some things about the enqueuing the style/script The third parameter for the style/script enqueue function accepts a dependencies array, which means the handle on which our style/script will depend on → our style/script will…

rtCamp notes, day 27 of undefined

Hierarchy Front Page front-page.php if front page is a static page -> move to the Page hierarchy from here.else, home.php index.php Single Post Type (except page) Attachment Post Type– {mimetype}-{subtype}.php -> image-jpeg.php– image.php– attachment.php– will go to Custom Post Custom…

rtCamp notes, day 26 of undefined

Template Files Read previously that template files holds the information for our theme template. There are various types of template files. Post template files Page template files Attachment Template Files Custom Post Type template files Partial and Misc template files…

rtCamp notes, day 21 of undefined

Internationalization and Localization Internationalization is the process of making your theme or plugin capable of being translated to other languages by you or other users, that means to use certain functions at the time of outputting to the front-end. On…