You cannot alter the opacity of a background image without affecting foreground content. Like me, you may have learned this the hard way when you first tried to add some heading text over a background image in a page hero. Thanks to Jessica Chan (aka Coder Coder on YouTube and CodePen), we have two excellent solutions.
Articles Archive
Create Accordions & Toggles in WordPress with HTML and CSS Only
Many WordPress themes have blocks or patterns for accordions and toggles. Also, there are more block addons for accordions and toggles than you can shake a stick at. But you don’t need special blocks to create accordions or toggles, and I strongly encourage you to roll your own, using either the classic editor or the Custom HTML Gutenberg block.
Display List of Active Plugins in WordPress Dashboard
Someone posting in the Facebook Advanced WordPress group was asking how to allow selected registered WordPress users to see a list of active plugins without giving them the capability of managing plugins in any way. He ultimately solved the problem by adding a custom user role and appropriately configuring capabilities for that role. Before I learned that he found his solution, I posted this article showing how to display a listing of active plugins in the WordPress dashboard.
How To Use MemberPress to Protect Posts that Contain Custom Fields
If you’re trying to use MemberPress to protect posts that contain custom fields, relying on MemberPress rules alone will not work. Why? Because MemberPress rules only protect content that is outputted through the WordPress the_content() function. There are two primary approaches to solving this problem, and this article elaborates on one of them: using the WordPress “current_user_can()” function.
Responsive Tables with Minimal CSS
HTML tables have been around since the beginning of the web, when they were our only layout tool. Nowadays, we have much better layout tools (like Flexbox and CSS Grid), but HTML tables still serve a purpose: they remain one of the best tools HTML offers for presenting structured information in a matrix of rows and columns — except when the user’s device is too small for the content to fit.
Here’s how to make tables mobile responsive with just 12 lines of CSS markup.
Custom Front-End Member Listing for MemberPress Website
MemberPress is a great tool for creating membership websites, but it doesn’t offer much in the way of reporting functionality. This deficit is an opportunity for developers. Availing myself of that opportunity, I’ve created custom front-end member listings for some of my clients’ MemberPress sites. In this article I dive a bit into the member listing I created for the website of the Southeastern Bluegrass Association (“SEBA”).
Create a Membership Card for a MemberPress Site
A few days ago, someone in the “MemberPress Unofficial User Group” on Facebook asked how he could offer his website members a membership card that can be accessed on a phone to prove membership. It so happens I created such a membership card for one of my client websites, using the MemberPress Account Nav Tabs addon, a few standard MemberPress shortcodes, a bit of CSS, and one custom shortcode. This article documents that solution.
Visualize an Audience of One
Coming up with ideas for potentially useful content you can turn into blog posts or YouTube videos isn’t the hard part of content creation. The hard part is composing that blog post or video in a way that resonates with members of your target audiences. In this blog post, I offer a simple but proven solution to this problem.
How To Structure MemberPress Memberships
When it comes to designing and building a membership site, the most important step is strategizing how to organize your content and how to structure your memberships accordingly. This article provides an outline of how memberships are structured using MemberPress.
(Pictured here is Groucho Marx, who famously said, I refuse to join any club that would have me as a member.
)
WordPress Custom Post Types: 6-Minute Video Summary
I write and talk a lot about Custom Post Types, and when I do, I’m painfully aware that people who aren’t WordPress developers are having their eyes glaze over. I’m hoping this short video conveys what Custom Post Types are and, more importantly, suggests ways that you can implement them on your own website.