Customize Post List Component’s Queries

Post List components query can be customized using the wpak_posts_list_query_args filter hook. Internally, WP-AppKit Post List components’ queries are WP_Query objects. So basically, all customization that can be done on WP_Query objects…

Read More

App Versioning

Tips and best practices to develop and distribute the next versions of your app when using WP-AppKit.

Read More

Custom Templates Based On Category Or Post Type

Category To define a custom template (archive-my-category.html) for a given category (slug my-category): //In your WP-AppKit theme’s functions.js App.filter( ‘template’, function( template, current_screen ) { if ( TemplateTags.isCategory( ‘my-category’, current_screen…

Read More

Custom Template Data

Each template has a pre-defined set of variables passed to it by core. You can also pass your own custom params (variables or functions) to templates by using the template-args…

Read More

Custom Comments Data

Add comment’s author email //In a php file created in your WP-AppKit theme’s “php” folder: function add_comment_author_email( $comment_data, $comment_data_raw, $post_id ) { $comment_data[‘author_email’] = $comment_data_raw[‘comment_author_email’]; return $comment_data; } add_filter( ‘wpak_comments_data’,…

Read More

Having questions?

FAQ | Tutorials | Documentation

Or

Contact Us