Not display post meta if empty

Use in this way- <strong> <?php $duration_in_seconds = get_post_meta( get_the_ID(), ‘wpscript_duration’, true ); if( ” != $duration_in_seconds && 0 != $duration_in_seconds ) { $minutes = floor($duration_in_seconds / 60); $seconds = $duration_in_seconds – (60 * $minutes); echo $minutes; echo ” MIN”; } ?> </strong>

How to sort posts in admin by name

As u put a screenshot from admin in your question I assume you are trying to sort the order from posts within admin area. Besides, u didn’t say anything about whether u want to change the order of the posts for good or u want just to see your posts in a certain order temporarily. … Read more

Printable Page with all Posts from Tag

I would recommend looking for a solution that would ‘print’ the relevant articles to a pdf format, which could then be printed. Search the plugins directory for terms such as ‘posts to pdf’ to find one that would allow you to print all posts in a certain category or with a certain tag.

Add a unique meta desciption

For Open Graph descriptions, use a plugin like Complete Open Graph. It’ll automatically use the content on your pages to generate the descriptions, but you can also set it globally and force it for all pages in the plugin’s settings. Super straight forward. https://wordpress.org/plugins/complete-open-graph/