Fallsky theme build-in actions for Single Post

Fallsky theme build-in actions for Single Post

Fallsky theme build-in actions for single post:

fallsky_before_main_content – insert content inside <div id="content"> as the first child.

fallsky_single_post_main_content – insert content inside <div class="main">. Depending on the priority value (less than or greater than 10), the content will be the first or the last child of the tag.

fallsky_after_main_content – add content after <div class="main">.

fallsky_single_post_side_modules – add content after div.main > div.container.

fallsky_single_post_after_content_modules – insert content inside div.main > div.container > #primary as the last child.

fallsky_site_footer – add content after <div class="content">.

If you want to insert content inside div.main > div.container > #primary .post-entry, please use the WP core filter the_content.


Filter may be used in those actions.

fallsky_page_layout – to get the page layout. If the value returned is empty, it means that the page layout is fullwidth. Otherwise the page will have a sidebar.