Category: Genesis

  • Coding jQuery safely in WordPress

    I keep forgetting the syntax so this is just to remind me. In WordPress you want to ensure you don’t get conflicts with jQuery so there is a safe way to code it jQuery(function( $ ) { // Your code using failsafe $ alias here… }); And if you want it when the DOM is […]

  • RightMove BLM file import to WordPress

    Rightmove BLM file converter Plugin is now available to download We are pleased to say, that the plugin is now available to purchase. It is listed at https://fullworks.net/products/rightmove-blm-to-xml-converter/ I do hope you will find this very useful. Go to plugin page   Plugin for  Right Move BLM file imports to WordPress Right Move is a property […]

  • Adding a third menu to Genesis

    Genesis comes with two menus as standard in its configuration.  Additional menus are often added using custom menu widgets into sidebars, often the ‘Header Right’ sidebar. However sometime it is desirable to add an extra menu (or more) into the template. This is fairly simple to achieve using a combination of WordPress standard functions and […]

  • Forcing a page layout conditionally in Genesis

    Often it is prudent to force a page layout, especially the home page. Within Genesis, the guidance is fairly scant   <?php //* Do NOT include the opening php tag //* Force content-sidebar layout setting add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_content_sidebar’ ); //* Force sidebar-content layout setting add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_sidebar_content’ ); //* Force content-sidebar-sidebar layout setting add_filter( ‘genesis_pre_get_option_site_layout’, […]

  • Genesis breadcrumbs markup issues

    In certain circumstances, permitted markup for page titles breaks the Genesis breadcrumbs. In this example  the <sup> tag is being used in parent page title. This is because Genesis’ breadcrumbs uses esc_html  ( genesis/lib/classes/breadcrumbs.php ) in most cases (note that it doesn’t in all cases as the far right is rendering correctly ) One solution […]

  • Adding Lightbox to Genesis

    Genesis doesn’t come with a light box as standard as the theme is designed to be built upon with child themes. Of course you can add a Lightbox by just downloading a plugin, however it is fairly easy to add the code directly to your child theme. ** note this article was written in 2015 […]