Three methods to display Primary Sidebar in Genesis

Posted on Leave a comment
5/5 - (354 votes)

genesis_do_sidebar()
To echo primary sidebar default content.

genesis_get_sidebar()
To output the sidebar.php file if layout allows for it.

get_sidebar()
To include the sidebar.php template file.

Leave a Reply

Your email address will not be published. Required fields are marked *