Place RRM snippet only on singular WordPress posts #9670
Labels
Module: RRM
Reader Revenue Manager module related issues
P0
High priority
Team M
Issues for Squad 2
Type: Bug
Something isn't working
Bug Description
The RRM snippet is currently placed across the entire site. Instead, it should only be placed on singular WordPress posts.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
includes/Modules/Reader_Revenue_Manager/Web_Tag.php
:enqueue_swg_script
method:wp_enqueue_script
function only if it is a singular post of the "post" post type, i.e.is_singular( 'post' )
.Test Coverage
tests/phpunit/integration/Modules/Reader_Revenue_Manager/Web_TagTest.php
:QA Brief
rrmModule
feature flag.Changelog entry
The text was updated successfully, but these errors were encountered: