Interested in checking out the upcoming WordPress editor, Gutenberg and want a JumpStart? Here you can find sample content of several Gutenberg blocks that you can simply paste into a test page on your site. This could be useful for example, in seeing if/to what extent your theme is Gutenberg-ready and having the page ready […]
Search Results for: content
Equal height Content and Sidebar in Genesis Sample 2.6.0
Looking to set the same height for content and sidebar in Genesis? Flexbox to the rescue. This tutorial provides the code change to replace floats with Flexbox in Genesis Sample 2.6.0’s CSS for equal height (determined by whichever is taller) content and sidebar columns. In the 960px min-width media query inside style.css, replace /* Content […]
Checkered widgets on home page (pages / custom content)
Hello Sridhar, you created a few checkered tutorials in the past and recently this one BUT, i am having a design project where I need to create checkered look and the content is either pages or custom content. Also, there are few themes I think of using and will probably use a full width widgets […]
How to add a Read More button below content/excerpts in Genesis Featured Posts
In the comments section of How to add a Read More button below content/excerpts in Genesis, a user asked: Perfect. However it does not seem to change the links on the featured posts. Do I need to add something? I have tried with no success. Thanks in advance. This tutorial provides the steps to use […]
Moving secondary sidebar inside Content Sidebar wrap and replacing floats with Flexbox in Genesis
In Genesis Slack chat a user asks: I would like to move the secondary sidebar into the content sidebar wrap, so I have sidebar/content/sidebar within the wrap. Nothing I’ve tried so far seems to work. Any help would be most appreciated. By default, the secondary sidebar is present outside div.content-sidebar-wrap in Genesis 2.5.3. By adding […]
How to relocate post image from inside entry content in Genesis
In Genesis, by default the featured image is set to be displayed inside div.entry-content on the archives (if image display is enabled in the theme settings). Looking to move the featured image (link) out of .entry-content so it is directly underneath .entry as its first child? While the tutorial has been written for Genesis Sample, […]
Change Page Content margins
Hi, I know this is probably a simple question, but I can’t seem to find the code for changing the page content margins. I just want to narrow the margins below the header. Thanks!
How to force full content on a specific category archive in Genesis
Scenario: Entry excerpts set to appear on content archives in Genesis theme settings. Requirement: Show full content for all the posts on a particular category archive page. Add the following in child theme’s functions.php: add_filter( ‘genesis_pre_get_option_content_archive’, ‘custom_force_full_content’ ); /** * Force full content on a specific category archive. */ function custom_force_full_content() { if ( is_category( […]
How to push footer to bottom only when there is little content or to load after?
Best Sridhar, I have been using you sticky footer solution for Genesis ever since 2014. To my knowledge it’s the only sticky footer code that works with all browsers. But I now have run in to a problem: it doesn’t work together with the Zotpress plugin. Zotpress provides reference handling. It loads quite slow, and […]
Content in Tabs with Ajax and PushState
Hi Sridhar, I know there’s a myriad tutorials on showing content in Tabs. But there isn’t a single one with a step-by-step process for WordPress on this. Say we have two (or more) cpts, for example ‘hotels’ and ‘hotel-rooms’. The first has a general description of a hotel with whatever content and the second describes […]
Recent Comments