Please note that you can not call the dynamic content code in the X theme Header since there is no Header builder in the X theme, so you can not insert any dynamic content code in the X theme. Please remember that the dynamic content code can only be inserted in the builder.