Our April speaker has also tentatively cancelled, and while I am inclined to put together a presentation of my own I am going to hold off on making any announcements for a while until there is better information about just how cautious we need to be with holding public events
In the meantime I will be creating and expanding a knowledge base section for this website to keep the flow of information coming!
If you would like to help in this project, please submit content via the “Contribute to the knowledge base” form on the “contribute” page, or contact me directly via email
KNOWLEDGE BASE ARTICLES
Answering the question of how to set a custom post type post as the main landing page in wordpress
One of the fundamental elements of WordPress theming is the ability to create alternative page templates – posts and custom post types can have multiple templates as well!
One of the better Gutenberg features is the Reusable Block, but for the moment they are too easy to edit directly in the post interface rather than in the “manage reusable block” section found at (site root URL)/wp-admin/edit.php?post_type=wp_block.
lmost everything about Yoast SEO except the fact that its’ meta-box forces all other meta-boxes (particularly those created via ACF) to drop below it. However this article has a solution!
Recently I was faced with a situation where I needed to add a value to an arithmetic equation using two values from ACF fields here is how I did it:
All of us should be periodically checking on Smashing Magazine … a recent article describes 8 terrific CSS generating & analysis tools that I am glad to know about:
Gravity Forms can be used to create a Constant Contact signup form where the user can be signed up to a specific list based on radio button selection.
Just as in the case with page order and posts, the excerpt field is “valid” for pages but not visible in the editor by default.
I recently was asked to configure an archive array to show the Yoast meta-descriptions (if populated) rather than the excerpt for an array of posts – here is how I did it:
For some reason when you are in the editor for posts you will not see the menu order controls you see when in the page editor – indeed you may not even see a panel for post attributes at all
one way to change the class of an element on page scroll
Yes, underscores makes it easy to add a custom logo, here is a way to add a second uploader
There are arguments against having multiple post types share a common taxonomy – mainly since the back-end sorting interface will not work as completely as you may want it to. If more than one post type use a taxonomy you can really only sort the array of posts a single time before having to start over (since a second sort will give the user an “invalid post type” prompt). But there are cases when the front-end wants to see mixed results…
Sorted by radio button selection and then date…
The :empty CSS pseudo-class represents any element that has no children. Children can be either element nodes or text (including whitespace). Comments, processing instructions, and CSS content do not affect whether an element is considered empty.
By my count there are seven major innovations that are contained within the release of WordPress 5.5:
Without overtly declaring it your custom post types and taxonomies will be invisible to the Gutenberg editor … but there is a simple solution
As of about a year ago ACF Pro includes an option to apply the “location” rule of an ACF group to a block
there are cases when the limited bandwidth of mobile visitors demands that less than crucial elements on the page are eliminated from the page load
While the Block Pattern Builder Plugin is a fantastic innovation, as of the writing of this article (5/22/20) there is no JSON export as found in reusable blocks – which means that while the pattern exists in the site where you built it, it isn’t easily portable to another site.
In Gutenberg 7.8 the concept of reusable blocks is being extended to the next logical step – block patterns.
To date I have only found a way to explicitly allow certain blocks (rather than the selective disallowing of certain blocks) using this addition to the active theme’s function file
For many of the block elements in Gutenberg there are color settings for text and/or background colors.
The default color selections are less than perfect in my opinion – thankfully they can be over-written by taking a few steps in your theme.
Some security & search visibility steps that are recommended for all WordPress websites
SEO has two components: On page & Off page
SEO can be a noun, verb, person, process, field of study, or a strategy.
SEO is part of Internet Marketing Strategy which includes these strategies:
Obtain visitors(SEO) – Engage – Convert – Retain – Get Ratings/Referrals
Wordpress has an impressive market share of 34% which makes it the single most popular framework around. Flipping this equation tells us that nearly two thirds of site owners probably have little understanding on how WordPress works.
We will cover a high level overview on the default structure of this CMS, how to extend it and how the theming system works. I will also be sharing my somewhat opinionated views on best practices from the perspective of a developer who has repaired dozens of malformed and under-performing websites built by those whose experiments and improvisations with WordPress have failed.
With the advent of Gutenberg and the increasing popularity of other page builders like Beaver Builder the WordPress ecosphere is increasingly embraching drag and drop process to achieve layout configuration. It is important to realize that the data generated via the page builder process generally lives within a single database field.
Here is a list of the modifications in the child theme
The WordPress templating system has a clear hierarchy of files as found in the active theme.
snippets you will use all the time
Crafting a post query when the template hierarchy doesn’t specify one
The functions file declares the connection with the parent
The stylesheet contains the theme information and defines styles that supersede the parent styles
Adding some more page templates
Changing the display of the single post view
Changing the display of the archive view
Expanding the customizer color controls