Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    By default, the step post type is private and not supposed to be publicly queryable since it’s meant to be internal only. There is a filter on it if you really want to make it frontend public.

    'public' => apply_filters( 'badgeos_public_steps', false ),
    Michael Beckwith

    (@tw2113)

    The BenchPresser

    If that’s not quite what you meant, please let me know so I can give a more appropriate answer.

    Thread Starter imborx

    (@imborx)

    Hi Michael, thank for your support.

    I would like to create a badge that uses “visits” like steps. I mean, instead of “post a comment”, use “visit X times the webpage”. Something similar than that. Is that what you mean? I don’t understand where I have to place your code and whats his function

    Thank you so much

    Thread Starter imborx

    (@imborx)

    Hi Michael, can you help me please? ??

    Thank you so much

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sorry, somehow missed seeing your reply.

    Ignore my first reply, it’s not what you were getting at.

    What you’re needing is going to be a custom solution, as I don’t know of any code snippets to help right now, and “viewing” requirements as steps aren’t something we have out of the box.

    You’ll need to set up a way to track the views for each user, and also need to find a point to check for eligibility for earning it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Visit steps?’ is closed to new replies.