You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to call the same sidebar twice (because of the design on tablet/desktop) but when i use the hybrid function, the second time there is nothing printed. If i do get_sidebar() its working properly. But as for what this function is i find it really useful and get_sidebar() is not what i want to use directly.
The text was updated successfully, but these errors were encountered:
<?php hybrid_get_sidebar( 'subsidiary' ); // Loads the sidebar/subsidiary.php template. ?>
<?php hybrid_get_sidebar( 'subsidiary' ); // Loads the sidebar/subsidiary.php template. ?>
It works. Plus, reviewing the code, it should work as well. I'm tempted to close this, but I'll await further feedback.
Screenshot:
Even though it works, I wouldn't generally recommend loading the same sidebar twice. There's got to be better methods of handling the design than that.
I need to call the same sidebar twice (because of the design on tablet/desktop) but when i use the hybrid function, the second time there is nothing printed. If i do get_sidebar() its working properly. But as for what this function is i find it really useful and get_sidebar() is not what i want to use directly.
The text was updated successfully, but these errors were encountered: