This is a notes-to-self kind of article. Tools of the trade: DesktopServer Pantheon WP Migrate DB Pro SourceTree Live to Local (or when starting from a blank site) In Pantheon dashboard go inside the live site and switch to Git connection mode. Copy the Git Connection Info. Paste it in a notepad and remove git clone […]
Quick Tips
How to remove post info in Genesis for all post types other than ‘post’
Looking to remove the post info (comprised of date, author, link to comments) on entries of all post types except the standard Posts in Genesis? Just add this in your child theme’s functions.php: Thanks to: Robin Cornett. Source: genesis/lib/init.php
How to show breadcrumbs only on full width content pages in Genesis
Question: https://twitter.com/bpmore/status/704532829242134530 Answer: Just add the following in child theme’s functions.php:
Displaying a fixed number of posts in WordPress without Pagination
Scenario: Settings > Reading set to show 10 (or whatever number, doesn’t matter) latest blog posts (WordPress default). And you want to display just 3 Posts without links to next sets of paginated pages. So let’s just add this in functions.php: Simple, right? Apparently, that is not sufficient. When you reload your Posts page (the […]
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.
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: […]
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 […]
DNS Server Information for GoDaddy cPanel Hosting
Just a quick post to point out where DNS entries for domains added in GoDaddy’s cPanel hosting can be obtained from. After adding an Addon domain go to DNS Manager, click Edit Zone below the domain, scroll to the bottom and the values will be in the NS (Nameserver) section.
How to make Slide Excerpts transparent and make them less taller in Executive Pro
Theme: Executive Pro Before: After: Here’s how: Add the following in Executive Pro’s style.css: To view the full content, please sign up for the membership. Already a member? Log in below or here. Username Password Remember Me Forgot Password
Recent Comments