In the StudioPress.com forum a person asked about having her columns naturally collapse so that the content will be 4 columns where there’s the width for it and, as the viewport decreases in width, the columns will start stacking in to 2 and then 1 column. The column classes that come with Genesis, Bootstrap, and others don’t do that. They use floats. You can use Flexbox or you can use inline-block. Flexbox is still buggy ... Read More
Archives for March 2016
Updated: WordPress RSS feeds and MailChimp
Do not send me a bug report. Become a paid member of MailChimp and after reading their documentation, if you have an issue, use their support. The original code last week was messed up in that the the same image was used in all posts, I should have noticed it. Anyway, this code is updated and it works great. Apparently hardly anyone is reading my blog to let me know of issues, which is disheartening. ... Read More
Fix blurry images in your WordPress oEmbed and use your own logo
I noticed that some WordPress sites I embedded, including my own, had blurry images for their featured image and had the WordPress logo for their Site Identity icon. This post will instruct you how to correct this. First let’s get some history, you are not going to touch the WP core. If you look at the /wp-includes/embed-template.php
file (4.4) or the /wp-includes/theme-compat/embed-content.php
(4.5), you’ll notice that the script is working some php math to find the ratio for rectangular images. If your best fit for that rectangular image ratio is an image size (add_image_size
) that is small, then the resulting embed will be blurry across the web. To check if your site’s embed is blurry (you must be updated to WordPress 4.4x), paste in a url to one of your blog posts in another post in draft mode. You can use the visual mode for this test. In a couple seconds, your post will show up like the one below. If you have a featured image on that post, that will show up as well. ... Read More
Just finishing up my very first site where I’ve use another designer’s theme
I’m using a theme made by another designer as a starting point for the very first time since I started in 1999. I’m finishing up on this and am waiting for some content and a few other things. The client and I agreed that Outreach Pro by StudioPress is the one that would best fit their organization, which is really the Royal family in-exile and their friends who are trying to get the world to ... Read More
If the date is modified, show modified date in your Genesis Child theme posts
In the Short Code reference there are a couple shortcodes missing. The first one below is the shortcode for the modified date. January 29, 2018 1:20 pm To indicate that the date was last updated on, I check to see if it was modified. This is so all the posts, even new ones, don’t show the text “Last updated on” before the date: This modified from the one I use on this blog since I ... Read More
Logo that hangs outside the .site-header in Genesis with CSS
A week or so ago someone in a Genesis forum had a CSS situation where the client’s logo designer suggested placement outside the .site-header. This example is using Outreach Pro. If you use this in another theme, you may have to make adjustments to the CSS. View Demo Software requirements: Photoshop or Illustrator or equivalent FTP Code Editor Set up the Logo Get the vector logo and either open it in Illustrator or place it ... Read More
Fast and Free WordPress Database migration without losing serialized data
If you don’t want to lose your widgets, your CMB2 content, or other serialized data, the Search and Replace for WordPress Databases by interconnect/it is amazing! I had a BUNCH of CMB2 fields and when I did a standard find and replace or a SQL query, my content was just not showing up when I moved my site. Widgets and CMB2 use serialized data. That stuff is completely over my head. Check out this descriptive ... Read More
Limit WP Clips to only a Genesis theme and only a specific child theme
For a lot of situations you don’t have to use a plugin to update your Genesis child theme, you can just edit the child theme’s files directly. However, if you are a developer working on a client’s site, using WP Clips as a mu-plugin, you can keep the child theme pristine, make some major customizations and, if sometime in the future, that particular child theme does have an update (and many do), you can install ... Read More