-
Notifications
You must be signed in to change notification settings - Fork 0
WordPress
They're the foundation of how to build things in WordPress. The very, very basic idea is:
- Hooks are used when you want something to happen at a certain time. Like, when a post is saved, do this unrelated thing.
- Filters are used when you want to change the data that gets used. Like, when a post is saved, change it to all caps or whatever...
Learn about WP_Query()
You'll use this A LOT. It's very powerful and you can access whatever posts you want by building the right query. You shouldn't ever really need to write your own SQL query to get what you need. WP_Query()
can likely do what you want.
When small images are resized to make them larger, it is very noticeable and the larger they become, the more blurred they are. It is a serious problem. Upload an image that is too small for your website and the result will be blurred images.
If you don’t know what size to use, upload a larger image than you might need rather than a smaller one because there is less blurring with shrinking images to fit than with stretching them.
Simple interface for adding new publications to the publications page:
- Add a new publication
- Drag to reorder
- Delete a publication.
- Add a publication in between.
- Add the post type and taxonomy as one file under /Managers/Structures/PostTypes
- Add the rewrites for the new post type following the format under /Managers/Permalinks
- Add the rewrites for the vertical under /Managers/Permalinks/addVerticalRewrites()
- Add the taxonomy slug to the $taxRewriteMap in /Models/Permalinks
- Register the Post Type to the Vertical Taxonomy under /Managers/Taxonomies/Taxonomies
- Update Permalinks
- Register a new filter menu for the item in Globals.php following the format for the other post types
- Edit /archive.php to specify what filter menu should apply for your new archive, however you need it set-up
- Go to Options -> Custom Fields -> Archive Landing Pages -> Landing Pages -> Landing Page Type and add the post type slug as an option for this field
- Test it out!
Only make edits on the Engage theme & never use the Theme Editor.
Wordpress core and plugin files should not be edited/changed due to ongoing updates, as your edits will be overwritten. If you would like to make changes related to plugins do those from within the plugin’s admin settings inside the WordPress admin dashboard on your local install.
WordPress registration email edit
See the enp-custom-registration repo/plugin.
Understanding Rank Math
Important links:
- Use Google Trends to explore the keyword's search ranking.
- Choosing Focus Keywords
- Understanding Rank Math Color Codes
- Focus Keyword in the Meta Description
- Focus Keyword in the URL
- Focus Keyword at the beginning of the content
SEO on Research pages
- Add the focus keyword
-
Add meta description (with the focus keyword in copy)
-
Add the focus keyword as alt text to Featured Image.
Use the Analytics & SEO Analysis pages to dig into:
-
Top pages, posts and research to optimize.
-
Possible errors highlighted in red on the SEO Analysis page