Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter neskaya

    (@neskaya)

    It’s an actual page with the slug “/club”. And I tried both ‘club’ and ‘/club’ because I didn’t know whether you need the “/” but neither worked. Also tried it with the ID.

    I also asked the devs from the mobile tool that I want to add to my site with this snipped, and they think the problem is with the wp_head, but I have no idea:

    “If you need to add mobile-tools widget code only to specific pages (not for all pages), then need to choose proper $hook_name for add_action().
    In your code the hook name is ‘wp_head’ – this obviously adds code to the head of all pages.
    I can not suggest exact hook name, but maybe this list of all hooks can help: https://adambrown.info/p/wp_hooks”

    Does that help?

    Thread Starter neskaya

    (@neskaya)

    Thank you for the help. Unfortunately, for some reason, it doesn’t seem to work. The popup still shows up. :/

Viewing 2 replies - 1 through 2 (of 2 total)