ÌìÃÀ´«Ã½
← Back
Editing: README.md
# PressApps Knowledge Base Wordpress Plugin ## Build process ### Install dependencies - run `npm install` - run `npm run build` or `npm run watch` ### Updating dependencies - to check for available updates run `npm outdated` - run `npm update` to update dependencies - example to update to a version that is beyond semantic versioning range run `npm install uikit@latest --save` ## Action Hooks `pakb_archive_loop` - action for archive page inside the loop `pakb_category_loop` - action for category page inside the loop `pakb_search_loop` - action for search inside the loop `pakb_single_loop` - action for single page inside the loop ## Conditional Tags The conditional tags can be used in your template files to change what content is displayed on a particular page. ### Main KB Page - Deprecated from version 4.1.0 `is_pakb_main()` - When the main KB page is being displayed. ### Category KB Page `is_pakb_category()` - When the category KB page is being displayed. ### Single KB Page `is_pakb_single()` - When the single KB page is being displayed. ### Example ``` if( is_pakb_main() ) { // Main KB page } elseif ( is_pakb_category() ) { // Category KB page } elseif ( is_pakb_single() ) { // Single KB page } ```
Save File
Cancel