There are times when you need CSS rules for a post, but those rules really don’t need to go into the main CSS style sheet file. In this article, I’ll show you how to set up post-specific CSS for your WordPress website.
Articles Archive
You built an online course, but they haven’t come.
In the movie Field of Dreams, Ray Kinsella repeatedly hears a mysterious voice promising him “If you build it, he will come.”
That promise gave Roy hope and determination that led him on an extraordinary and improbable mission to build a baseball diamond in the middle of an Iowa cornfield. But that was fiction. In real life, building something and hoping people will come is usually a losing strategy.
If you’ve created a members-only online course or are considering creating one, this article offers some steps you can take immediately to increase your chances of attracting subscribers.
Custom MemberPress Pricing Pages
MemberPress has a built-in Groups feature — a tool that affects both front-end presentation and back-end functionality. But this Groups feature has some important limitations and disadvantages which, under some some circumstances, militate against using the feature at all and/or for displaying front-end pricing pages. In this article I’ll explain those limitations and disadvantages using a real-world scenario, and I’ll give you step-by-step instructions for creating your own membership pricing page that circumvents them.
CSS Data Attribute Override
This small snippet allows you to override a default heading for a callout box using a data attribute and the CSS cascade.
MemberPress Rules Using Custom Taxonomies and Custom Roles
When building access rules in MemberPress, one of the easiest ways to avoid chaos as your site grows is to rely on custom taxonomies and custom user roles. In this article, I’ll explain the benefits of each approach; how to implement them; and how, when used together, they can make your life immensely easier.
WP Staging Plugin: a First Look
One of the reasons SiteGround is my go-to web host for shared hosting of WordPress websites is it’s staging sites feature. However, not every site I work on is hosted on SiteGround or another web host that offers staging. Therefore I was very happy to discover yesterday — way later than I would have liked — a WordPress staging site plugin that has a lot of promise.
How to overlap elements with HTML and CSS (Grid) only
Thanks to CSS grid, overlapping elements on a web page is easy and reliable, unlike the earlier methods that were fraught with pitfalls. Here’s a short screencast that shows you how. Below the video are an image of the final outcome and the HTML and CSS code.
MemberPress Notification System Extended
MemberPress has a pretty robust notification system. But it can’t address every conceivable requirement. Here’s an overview of how I solved a client’s unique problem by extending the MemberPress notification system using Advanced Custom Fields (Pro) and a custom script that runs when a specific MemberPress action hook fires.
CSS Pseudo-classes Trick Using :has, :not, and :hover
Suppose you have a 3×3 grid of cards or images. Further suppose that when you hover over any one of the 9 elements, you want to make that element stand out by affecting how all the other elements behave. In the example in this article, the non-hovered elements (a) get smaller; (b) change background colors; and (c) get blurred. And all of these effects take place gradually, with CSS transitions.
Replicating a Website in WordPress on SiteGround
A friend sought my advice on migrating his business website from one service (one that retains control of the site) to a platform where he retains control. In this article, I’ll share my recommendations to him. If you find yourself in a similar situation, these recommendations could very well apply to you, too.