Skip to content

(Temporary) Enabling comments for the app #19

@anghelalexandra

Description

@anghelalexandra

This is a temporary solution for enabling comments until a custom endpoint is implemented.

From the progressive-web-apps.php file, search for the following code:

// Uncomment the line below to enable comments
// add_filter( 'rest_allow_anonymous_comments', '__return_true' );

WARNING: This filter will enable comments for all the REST API, not just for the mobile PWA.

From the frontend/sections/template.php file, search for the following code:

// Set commentsEnabled to 1 for enabling comments
'commentsEnabled' => 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions