Code Snippets

How to Add Custom Sidebars to Specific Page Templates in Genesis

In a default install of most Genesis child themes, the entire site utilizes the same set of widgets in the sidebar for every page that displays a sidebar – but what if you want to show different widgets on different page types? Say, for example, you want to display images from your portfolio categories on…

Read More

How to Display Featured Image on Posts and Pages on Genesis Themes

Out of the box, Genesis does not display the Featured Image on posts and pages automatically. To add this functionality you will need to edit your functions.php file to add one or both of the following snippets. Remember: Editing your live site via the code editor is discouraged. Test out any changes on a local copy…

Read More

How to add Custom Image Sizes to a Genesis Child Theme

Want to add new custom image sizes to your Genesis Child Theme? Add the following code snippet to your theme’s functions.php file. Remember: Editing your live site via the code editor is discouraged. Test out any changes on a local copy of your site first (see this tutorial if you don’t know how) before uploading the updated…

Read More