How To Preserve Line Breaks When Storing Command Output To A Shell Variable

Author: , July 14th, 2021

Solution: “Double Quote” your variables!

See Also: https://stackoverflow.com/questions/22101778/how-to-preserve-line-breaks-when-storing-command-output-to-a-variable

How To get_posts in WordPress with Multiple meta_query Values

Author: , October 13th, 2020

The first query gets all custom publication posts that have a value in field book_seq ordered by book_seq The second query gets all custom publication posts that have no meta value for book_seq or no meta record for key book_seq ordered by post_title.

Great article here: https://rudrastyh.com/wordpress/meta_query.html