Home › Forums › Support › Changing sticky bar to have different output for single post This topic has 5 replies, 3 voices, and was last updated 5 years, 2 months ago by Tom. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts July 21, 2019 at 4:31 am #963226 jasmeet Hello Had been figuring out if GP theme has the enhanced functionality with sticky bar to have different output for Single Post Templates somewhat like seen here apart from the usual output seen globally – https://slackhq.com/etiquette-tips-in-slack as the sticky bar changes to output logo+Current post (being read)+social sharing icons Kindly guide if there is such option July 21, 2019 at 8:44 am #963473 LeoStaff Customer Support Hi there, The search to icons can likely be done with some CSS. However, the post title would require a custom solution unfortunately. Let me know if this helps ๐ July 21, 2019 at 10:07 am #963528 jasmeet Hi Thanks for the response However, Rendering the post title is more important from UX perspective also. Social icons sticky is also fine which is being managed through plugin Can you kindly suggest for some solution here July 21, 2019 at 8:04 pm #963744 LeoStaff Customer Support Ok let’s try one step at the time. Add this PHP to create a shortcode to output the title: add_shortcode( 'the_title', function() { return get_the_title(); } ); Adding PHP: https://docs.generatepress.com/article/adding-php/ Then create a new hook element with <div class="menu-title">[the_title]</div> and use the inside_navigation hook: https://docs.generatepress.com/article/hooks-element-overview/ Set display rules to all posts. Then I’ll tackle the CSS. July 27, 2019 at 1:02 am #968367 jasmeet Hi Thanks for providing the precise steps however, the same doesn’t render blog title as envisaged. I might be missing something Can you kindly review again July 27, 2019 at 6:48 am #968536 TomLead Developer Lead Developer Hi there, Is the code live right now? If not, what about it isn’t working, exactly? Let me know ๐ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In