bug fix, show posts menu custom name

new function for retrieving variable