So, the world is not enough, and 50+ icons that come bundled with the Socials Ignited plugin just won’t cut it. What do you do? How do you add your icons into the mix? And most importantly, how do you do it without losing any changes when updating?
Well, I promise to show you how, as long as you promise to know some PHP, especially how to manipulate arrays. The rest of the code (hooking onto WordPress filters) is pretty much self explanatory or can be copied verbatim, and even if you don’t fully understand how filters work, you can still get something usable. Of course, the more you know allows you to go one step further…
Did you know ever wanted to have a on a page a gallery of some post’s images? Or maybe on a post, a gallery of some other post type’s images.
Yeah, me too.
Please note: The following tutorial is mostly about creating language files from scratch. If your theme provides an up-to-date language file, either .po or .pot you can create translation files without much of the following information.
There are a lot of excellent tutorials on the web regarding how to prepare your WordPress theme for translation, as well as how to translate it using Poedit. I am not going to repeat what already has been written, so here is a small list of tutorials on the subject (in case you are too lazy to search for them):
So, you’re developing your own WordPress theme, or you are heavily customizing the one you are already using, and you need to have different number of posts per page depending on the page you are in.
How do you do that?