{"id":942,"date":"2018-09-21T18:21:04","date_gmt":"2018-09-21T18:21:04","guid":{"rendered":"httpss:\/\/gpsites.co\/volume\/?p=942"},"modified":"2018-09-21T18:21:04","modified_gmt":"2018-09-21T18:21:04","slug":"hook-elements","status":"publish","type":"post","link":"https:\/\/iblog.dearbornschools.org\/christestsite\/2018\/09\/21\/hook-elements\/","title":{"rendered":"Hooks &#8211; Custom Theme Elements"},"content":{"rendered":"<p>Volume uses multiple Hooks to create the Custom Elements in the site.<br \/>\nAll of them provide dynamic output and should not require any changes to their content.<\/p>\n<p><a href=\"httpss:\/\/docs.generatepress.com\/article\/hooks-element-overview\/\">Learn more about the Hook Element<\/a><\/p>\n<h2>Slide Out Header<\/h2>\n<h5>Special effects for the GP Slide Out Navigation<br \/>\nThis hook adds a &#8216;header&#8217; to the slide out and its sole purpose is to create the Sticky Menu toggle. Nothing more.<\/h5>\n<h2>Author Box<\/h2>\n<h5>A simple PHP\/HTML Author Box is hooked into the after_content on all Posts.<br \/>\nThe content is dynamic and need not be adjusted.<\/h5>\n<h2>Comment Toggle Switch<\/h2>\n<h5>A little easter egg that allows you to show and hide Comments on a post.<br \/>\nFor it to work it requires Javascript.<\/h5>\n<h2>Head Scripts<\/h2>\n<h5>Contains the Javascript for the Comment Toggle Switch. This script only runs on the Single Post.<\/h5>\n<h2>Custom Post Navigation<\/h2>\n<h5>Adding a custom featured image post navigation at the foot of all posts.<br \/>\nPlease note: that the Post Navigation is disabled in the Customizer as it is not required.<\/h5>\n","protected":false},"excerpt":{"rendered":"<p>Volume uses multiple Hooks to create the Custom Elements in the site. All of them provide dynamic output and should not require any changes to their content. Learn more about the Hook Element Slide Out Header Special effects for the GP Slide Out Navigation This hook adds a &#8216;header&#8217; to the slide out and its [&hellip;]<\/p>\n","protected":false},"author":355,"featured_media":59,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,8],"tags":[],"class_list":["post-942","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-styling","category-time-saving"],"_links":{"self":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/posts\/942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/users\/355"}],"replies":[{"embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/comments?post=942"}],"version-history":[{"count":0,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/posts\/942\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/media\/59"}],"wp:attachment":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/media?parent=942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/categories?post=942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/tags?post=942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}