How can we help?

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

Home › Forums › PokaTheme support › Issues with links under the banner and in a text

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19086
    bincatt
    Participant

    Hi everybody!

    I have a few problems after update the Pokatheme.

    1) Currently i see my affiliate link’s name under the banner. Why is it happening? (Take a look at the screenshoot)

    2) When i try to add a link in a text, so appears strange “link” near of the link. (Screenshot)

    Could u help me please what can i do?

    #19157
    admin
    Keymaster

    Hi Bincatt,

    Could you send us your url to check it?

    #19248
    bincatt
    Participant

    Sorry, I’m a little too late XD but the issue is still there

    url is – https://amusnet.top

    #19262
    admin
    Keymaster

    Hi Bincatt,

    Sorry this took so long, and thanks for sending the URL. It let us find the problem right away.

    Both issues come from the same thing. Since version 4.1.8, the theme adds a short label to every link for screen readers. That’s the “- Link” and “- Go rio_go” text you’re seeing. The label is supposed to be hidden, but the CSS that hides it comes from a WordPress stylesheet that the theme turns off for speed. So on your site the label shows up. The banner is affected too because its content goes through the same code.

    Fix: go to Appearance → Customize → Additional CSS, paste this and click Publish:

    .screen-reader-text {
      border: 0;
      clip-path: inset(50%);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
      word-wrap: normal !important;
    }

    If you use a caching plugin, clear the cache afterwards. We tried this on amusnet.top and both texts disappear.

    If you’d rather not have these labels in your links at all, add this to your child theme’s functions.php instead (you won’t need the CSS then):

    add_action( 'after_setup_theme', function () {
        remove_filter( 'the_content', 'poka_add_accessible_labels_to_links' );
    } );

    We’ll fix this in the theme itself in the next update.

    #19353
    bincatt
    Participant

    Thanks!

    #19356
    admin
    Keymaster

    Hi,

    Just following up: PokaTheme 5.0.1 is out, and it fixes this in the theme itself. It’s a free update — you can download it from your account: https://pokatheme.com/checkout/purchase-history/

    Two things changed:

    – The theme no longer adds a hidden label to every link, so the “- Link” and “- Go rio_go” text is gone at the source.
    – The theme now ships its own screen-reader-text rule, so anything that is meant to stay hidden stays hidden, whether or not WordPress loads its block stylesheet on that page.

    After updating you can leave the Additional CSS in place or remove it — either is fine. Same if you used the child theme snippet instead; it simply does nothing now.

    To update: Appearance → Themes → Add New → Upload Theme, upload the new pokatheme.zip and let WordPress replace the installed version. Your child theme needs no changes. Clear your cache afterwards if you use a caching plugin.

    Thanks again for reporting it — it’s fixed for everyone now.

    #21456
    bincatt
    Participant

    Hi!
    Everything works perfectly.
    Could you please delete the message with my website link for security reasons? (#19248)
    The screenshots show the issue perfectly, so i think the link isn’t needed anymore.
    Thanks!

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