How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support Remove element in AMP version

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5321
    discoman
    Participant

    Hi,
    In Review Style 1,

    A. How can I REMOVE “Free Spins” title (not content), in AMP version?

    https://pasteboard.co/InYHrlR.png

    B. How can I ADD the “Free Spins” content (not Title), in AMP version?

    https://pasteboard.co/InYJodl.png

    I did these change in a child-theme, and it works fine in non-amp version. I looks to me link amp version doesn’t use the “Review Style 1” from the child-theme.

    Thanks.

    • This topic was modified 4 years, 9 months ago by discoman.
    • This topic was modified 4 years, 9 months ago by discoman.
    • This topic was modified 4 years, 9 months ago by discoman.
    • This topic was modified 4 years, 9 months ago by discoman.
    #5337
    admin
    Keymaster

    Hi discoman!

    You can override the AMP templates in your child theme if you copy paste the following structure to your child theme:

    inc/amp/templates/amp-single-affiliates.php

    (you’ll find the php file in the parent PokaTheme )

    Then you can make any changes you want to the AMP template such as to remove the “Free spins” header.

    #5341
    discoman
    Participant

    Hi
    I have copy the poka/inc/amp/templates/amp-single-affiliates.php to poke_child/inc/amp/templates/amp-single-affiliates.php.
    Did the change in the Poke_child, but WP uses the php from Poka rather than Poke_child.

    Please assist.

    #5346
    admin
    Keymaster

    What version of PokaTheme are you using?
    The AMP templates override is available to the latest version.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.