In Twitter a user asks, Question! Can I used a custom category template for specific categories using conditional tags? #genesiswp #wordpress — Melissa (@blushandjelly) September 16, 2016 This can be done using template_include filter in WordPress. Step 1 Create your custom template named say, template_custom-category.php in your child theme directory having the following: <?php // […]
Search Results for: wordpress
Angled widget areas in Altitude Pro
Updated on May 03, 2019 This tutorial provides the steps to set up slanted edges for three widgets in Front Page 2 widget area of Altitude Pro using clip-path. clip-path is supported in Google Chrome, Firefox and Safari. Tested in Altitude Pro 1.2.2. Step 1 Let’s add code to add numeric index for widgets so […]
Inline image logo in Altitude Pro
A user wrote to me: Would love to know how to use a Retina logo with the Altitude Pro theme. I found a good tutorial that works well with most Genesis themes, but not Altitude Pro. The logo doesn’t shrink, as it should, once the Retina CSS is added. Anyway, take a look and let […]
Reply To: Anyone ever heard of a CPT Single Template stop working?
Have you tried using Query Monitor plugin to see which templates are being used for the pages’ rendering? Query Monitor – The developer tools panel for WordPress
Footer Navigation Menu in Genesis
Genesis Sample child theme has code to rename secondary navigation location as Footer Menu and show the menu assigned to that location inside the footer. //* Rename primary and secondary navigation menus add_theme_support( ‘genesis-menus’ , array( ‘primary’ => __( ‘After Header Menu’, ‘genesis-sample’ ), ‘secondary’ => __( ‘Footer Menu’, ‘genesis-sample’ ) ) ); and add_action( […]
Set Featured image full sized background / need an exception
How to set Featured image as full-sized background for Posts and Pages in WordPress i need to write an exception for this section(staff) and/or page (melissa-meyer and other staff): http://dev.barbierintl.com/staff/melissa-meyer/ where the featured image does NOT show up as the background and i can instead put in a path to an image that should show […]
[Video] Re-creating a static site in Genesis – Day 1
Yesterday I had a 1-on-1 coaching session with a user in Skype to help him get an idea on how to approach setting up his existing static HTML site in WordPress using Genesis. Here’s the URL of the current static site: http://static.eurekaw3.agency/ The design is not that usual and implementing this in Genesis isn’t a […]
How to add menu-slug-container class when setting a custom one in wp_nav_menu’s container_class
In my last tutorial I wanted to output a nav menu assigned to a particular theme location with the nav element having the standard auto generated class as well as a custom one. wp_nav_menu( array( ‘theme_location’ => ‘header’, ‘divider_html’ => $divider_html, ‘container’ => ‘nav’, ‘menu_class’ => ‘menu genesis-nav-menu menu-header js-superfish’ ) ); outputs for example, […]
Fixed Primary Nav and Split Header Nav in Genesis
Update on October 08, 2016: Also see https://sridharkatakam.com/split-navigation-menu-items-logos-left-right-genesis/ In Genesis Facebook group a user wanted to set up a fixed primary navigation and below that the site header having another nav menu split by a logo. In this tutorial we shall relocate primary navigation menu from below the header to above and make it fixed […]
Visual Adjacent Entry Navigation in Genesis
In the members-only forum a user wrote: Customizing the next-previous area with featured image? Hi Sridhar, first time I´m trying this so if something is not done right then please let me know. I´m making a redesign of my site and on single posts I wanted to make a bit of change to the next […]
Recent Comments