Comments on WordPress and Genesis Troubleshooting a theme and placing comments where they normally weren’t. Theme creates a page with a list of posts and the first post is shown in it’s entirety. All post, category, and archive pages have the same structure. So the initial wp_query could be a page, an archive, a post, […]
There comes a time in a website’s life when a landing page is needed. Many times, you can get away with just creating a new page containing the content you want. This works if you don’t mind having your website’s header, menus, and footers included on the page. On a focused marketing campaign many times […]
A sticky menu is a menu that appears usually on the top of the window after your primary menu scrolls out of view. The wp-responsive-menu plugin creates a fixed menu (but as a burger menu icon) on the top if the screen size is indicative of a mobile device. Here, though, we want a full […]
A common practice is to have the menu change to a burger menu icon when the screen is smaller than a certain pixel size, say 768px. Many times it is good practice to have this menu icon fixed so that it is always in view on a mobile devices. When the burger menu icon is […]
One fast way to add a grid to one of your archive pages. Let’s say we want all articles for the the tag wordpress to be in three columns. First add a tag-wordpress.php file to your themes directory and put the following code. /* Let's add grid classes */ add_filter( 'post_class', 'jhts_entry_post_class' ); function jhts_entry_post_class( […]
Okay. We’ve got a couple of other posts on this as well, but now with more experience we’ve made some additions and changes to the original code. With a few lines of PHP code, we can alter the menu markup genesis creates to match Twitter Bootstrap’s navbar (or nav-pills, nav-tabs – see below) as your […]
How to change Genesis’s default site layouts: e.i. sidebar-content-sidebar, content-sidebar-sidebar, full-width-content, etc, to use the Bootstrap’s grid using their SASS mixins so no change in HTML markup needed.
UPDATED 2015/05/06 – See How To Integrate Bootstrap Navbar inot WordPress Genesis Framework After writing my first post (click here to see that article) on adding the bootstrap navbar to Genesis and WordPress where I didn’t add dropdown capability, I decided to dig in and figure out how to add the dropdowns. This is what […]
I like bootstrap. I think a framework like Genesis with the bootstrap code would be awesome. I decided to put together a Genesis child template that would use the navbar of Bootstrap 3. Here’s what what I did.