X Theme Top Bar with Shortcodes

Glenn Blog 1 Comment

The awesome WordPress X Theme‘s Top Bar doesn’t support shortcodes out of the box, but with this simple code update it can. Here’s what you need to do to make shortcodes work in X Theme Top Bar:- Create a _topbar.php file under your child theme in the following location ‘wp-content/themes/child-theme-name/framework/views/global/‘ (substitute ‘child-theme-name’ for your child theme) Add the following PHP code …