Don't worry anymore of linking a post or a category, to later change its title or slug, or changing your posts permalinks, and creating invalid links to your own site pages.
Hikari Internal Links provides a shortcode that dynamically generates links to most Wordpress resources. You can query these resources based on their ID or slug, and these links are generated dynamically. Therefore if you change a resource's title or permalink, its links will be updated automatically.
- A shortcode generates links to internal pages dynamically
- If the permalink changes, links are updated automatically
- You can get links based on resources ID or slug
- If resource isn't found, you get a warning text surrounded by class
wpdberror, which is hidden from your visitors and shown to you with a yellow background so that it's easy to notice and fix
Continue Reading »homepage
When I started working on my theme, I was lost on finding resources like images and code files.
Child themes was a great addition to Wordpress, but IMHO it lacked support from functions to locate data that is easier to find on a unique theme structure. Functions are not intuitive, same functions behave differently when we are in parent-child structure from when we have only 1 active theme, and documentation also doesn't help.
With this article I try to clear it up a bit and share what I've learned.
Continue Reading »