Adding a Logo to the header of a Genesis Child Theme

When you create a Genesis Child Theme you have the option of Dynamic Text or an Image Logo for the Header as choices in the Genesis settings.   Dynamic Text The dynamic text pulls in the site title and description as set in the WordPress Dashboard > Settings > General area Genesis places the Site Title and Site Description in a…

Read More

Get PHP and Shortcode to Work in WordPress Widgets

Getting PHP Working in Widgets By default any PHP code won’t execute in WordPress widgets or sidebars, you can probably get by with a plugin but you can also add a function in your themes function.php file to allow PHP to run, what you need to declare is a custom function and filter. //Allow PHP to…

Read More

Add Copyright Symbol and Year Date in PHP

To add a copyright symbol and year date in PHP that updates with the current year, use the code below… &copy; <?php echo date (‘Y’); ?> A HTML entity is used for the copyright symbol, then you have an opening PHP declaration followed by an echo, which is rendering the year using the date function date (‘Y’);, then the…

Read More