Update on February 17, 2017: Follow Theme Logo in Genesis instead of this one below. First there was this, then this, then this, then this and now this: Tested in and written for Genesis Sample 2.2.2. Logo to be uploaded at Appearance > Header in the back end or Customize in the admin bar on […]
Free Content
How to reposition Primary Navigation conditionally in Genesis
In Genesis Facebook group, a user asks: HELP > I need to reposition the Primary navigation ONLY in the blog pages. Currently, the primary nav is after the header, and I need to put it before the header in the blog page (also in single post page, category page, archive page and search results page). […]
Three methods to display Primary Sidebar in Genesis
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.
Entry header, first paragraph, featured Image above the remaining content and sidebar on single Posts in Genesis
In Genesis Facebook group, a user asked an interesting question: How would you do that semantically correct with genesis? While this looks simple on the surface, it is actually challenging especially with the condition that text below the title is first paragraph of the Post’s content and that text below the featured image should not […]
How to remove Footer Widgets on specific Pages in Genesis
In my Facebook group a user asks: Do you have a tutorial for removing the footer widgets from a couple of pages on a site (using Genesis, of course!) Now I do. The following sample code, when added to child theme’s functions.php will remove footer widgets on ‘About’ and ‘Contact’ Pages in a Genesis site: […]
Featured image section for Pages in Genesis
In Genesis Slack chat, a user asked: Hi Everyone, any ideas on how I would create a featured image area above a page in the enterprise pro theme that looks like this : http://puu.sh/lZpz2/954b84e870.png In this article I share the code for adding a section having breadcrumbs, title and excerpt on the left and featured […]
How to add an additional Footer widget area in Altitude Pro
Child theme: Altitude Pro Before: After: Here’s how: Step 1 Edit Altitude Pro’s functions.php. a) Change to b) Change to Step 2 Edit Altitude Pro’s style.css. Replace the Footer Widgets section (line 1688 to line 1726 in the unmodified Altitude Pro’s stylesheet) with the following: Step 3 At Appearance > Widgets populate Footer 2 widget […]
How to replace entry title heading tag for a specific Featured Post widget using GFPC
In Genesis Slack chat a user asked: Hey guys… question for you. Would it be possible to change the H4 Widget Title of the Featured Page Widget to H1? What’s needed is the Home Middle Widget Title which is H4 – we want to be H1 for SEO purposes. Does that make sense? Is that […]
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 […]
Difference between is_home() and is_posts_page
is_home() refers to the Posts page regardless of whether it is on the front page or an inner page. is_posts_page refers to Posts page only when it is an inner page. As such the if conditionals in the two code blocks at https://codex.wordpress.org/Making_Custom_Queries_using_Offset_and_Pagination#Offset_.26_Manual_Pagination should ideally be like this: if ( ! $query->is_posts_page ) { should […]
Recent Comments