We've found 8 snippets tagged Themes
Force Sub Categories To Use Parent Category Templates

Force Sub Categories To Use Parent Category Templates

You can use this WordPress code snippet to force WordPress to use custom pare...
Get A List Of All Custom Page Templates in WordPress

Get A List Of All Custom Page Templates in WordPress

If you want to get a list of all custom page templates that currently exist o...
Add Post Category Slug to Body Class in WordPress

Add Post Category Slug to Body Class in WordPress

Sometimes you may need to style a particular post differently, based on the c...
Display Top 10 Authors on Your WordPress Blog

Display Top 10 Authors on Your WordPress Blog

This WordPress code snippet will let you display top 10 authors in your websi...
Prevent Direct Access to Functions.php in WordPress

Prevent Direct Access to Functions.php in WordPress

Directly accessible theme files is a potential security threat. To safe-guard...
Completely Disable Sidebars in WordPress

Completely Disable Sidebars in WordPress

To completely disable sidebars in WordPress, simply use this code snippet in ...
Get Template File Being Used on Current Page

Get Template File Being Used on Current Page

If you want to get template file being used on current page then you can use ...
Remove Default WordPress Widgets From Dashboard

Remove Default WordPress Widgets From Dashboard

WordPress has many in-built widgets. But chance are you will not use them all...