Keith Curreri

WordPress Custom Page Templates

Sometimes you may want to create a page on your WordPress website that looks and acts different than the default page that comes with your theme. For example, your default page may have a sidebar, but you need to add a page that does not have a sidebar. This can be done by creating a [...]

Share

Hardcoding Images in a WordPress Theme Using the bloginfo() Function

If you are creating a WordPress theme and you need to code in an image, you may notice that you need an absolute path rather than a relative one. If you are confused on the difference between the two: A relative image path <img src = ‘images/picture.jpg’ alt = ‘Picture’ /> An absolute path <img [...]

Share

Dynamically Add a Copyright Year to a Website

Most websites need copyright information in the footer. Usually the current year is included in the copyright info. You can code in the year by hand, but if you want the website to stay current, you will have to go back change the year every January for the rest of the website’s life. An easier [...]

Share