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, […]
Search Results for: ai content
Categories list, one latest post and the remaining in a grid on category archives in Genesis
In Twitter a user asked: @srikat trying to achieve an archive page that looks like this https://t.co/AhzgBLWhYF would really appreciate a tutorial :)— TechQuestCo (@TechQuestCo) August 16, 2016 In this tutorial we shall set up a template for category archives in Genesis which displays a horizontal list of top level categories with automatic highlighting of […]
Thumbnail Grid with Expanding Preview in a Widget Area in Genesis
In the comments section of Thumbnail Grid with Expanding Preview in Genesis, a user asked: Could this be turned into a widget? or even a portfolio pro grid widget? In this tutorial I show how the thumbnail grid can be displayed in a custom widget area on the static front page. We shall use Flexible […]
Thumbnail Grid with Expanding Preview in Genesis
Tympanus has a great tutorial on how to create a thumbnail grid with an expanding image preview similar to the effect seen on Google Images. In this article I show how the same can be implemented in Genesis to display featured images of posts on Posts page in a grid. Clicking on an image will […]
How to contain Headline and Intro Text on CPT archives in a wrap in Genesis
In the members-only forum a user asked: Hi Sridhar, Using the Archive Settings on a CPT, I would like to use a full width background image on the title only. I figured out how to move the title and description to after_header and the title only spans 100%, but as you can see from the […]
How to truncate alt text for featured images on content archives in Genesis
In Genesis Facebook group a user asked: I have very long post titles and when I did an accessibility test, there were warnings that the alt tags were too long. So I used the genesis_get_image filter and re-created the image. Is there a better way? I tried the standard WP ‘post_thumbnail_html’ but that only worked […]
How to display Content in Lightbox upon clicking Featured images in Portfolio CPT Archive in Genesis
In my Facebook group a user posted a tutorial request: A cpt with a popup image with details to the right of the image. Just like if you visit instagram.com/account and it will popup with a right and left arrow. In this tutorial I share the code for setting up Portfolio CPT (using Portfolio Post […]
Curtains opening and closing animation effect on top of Soliloquy slider in Altitude Pro
In my Facebook group a user asked: Is it possible to show curtain animation effect such as this http://buildinternet.com/2009/07/animate-curtains-opening-with-jquery/ on top of soliloquy slider in altitude pro theme? I’ve seen your overlay tutorial on Soliloquy slider. Curtain effect will be great to see. In this tutorial I share the steps for replacing the Front Page […]
Conditionally Protect Content Using Cookies
This was a problem that I have figured out, but I’m hoping for a cleaner solution. I have content that is only supposed to be available for those who subscribe to my newsletter. When they double opt-in, the final email from MailChimp gives them a password and link to a “premium downloads” page. Although I […]
How to hide a widget area after a certain time using jQuery
In the StudioPress community forum a user asks: I have some content in a text widget in a Before Header widget area, that I would like to make disappear after a few seconds. In this article I show how a custom before-header widget area can be set to be initially hidden on page load, then […]
Recent Comments