free tuts

Sometimes we want to display a complete list of metas (custom fields) using simple WordPress function

But say, we want to exclude form the list one custom field. We’ll need to write this function differently. Instead of a simple function displayed above, we apply next snippet:

where “glass”… continue reading Exclude custom field or post meta

To enter image source or link href inside php function here are the snippets: Image located inside “images” folder:

Image source (image in “images” folder”) inside the link:


Image source as Customiser option:

where $roseblack is variable for Customiser. Featured image with prettyPhoto or default… continue reading Images and links inside functions

To add tags to single post with commas:

To add tags to single post without commas what gives an opportunity to style them better:

Full snippet: