free tuts

Welcome to Limpopo

On Limpopo site, Virtuti-D publishes small web tutorials, code samples and design ideas. Find useful web design and development tips about HTML, Blogger, WordPress websites, templates and themes.

Sometimes we need to create and display custom metabox only for specific category. Say, we want to add metabox and display its output only on “Recipes” category in our blog. To achieve this we add a couple of lines of code to metabox code:

Metabox will appear only on… continue reading Add WP custom metabox only to specific category

If we want to display meta (custom fields), we usually use this:

However, we may use some custom fields (for example, for specific categories) which we might want to exclude form general list of custom fields. In this case, we’ll need to write on single.php this function:

In… continue reading Exclude some meta key and value from general post meta list

This is full code for custom widget containing widget title, possibility to add paragraphs and use HTML inside the widget textarea.