• Resolved saeb1

    (@saeb1)


    Not sure where to ask this question.

    I was hoping to use this plugin to only show a widget if a user is logged in and has more than 1 post on wpforo wordpress forum plugin.

    Wpforo admin have advised ” PHP script, which returns the number of current login user posts: WPF()->current_object[‘user’][‘posts’] ”

    Will the logic in this plugin support what I want to achieve. How do I implement the check? More than happy to seek advice elsewhere as this is probably out of the scope of any support but it is a big wide web and where would be the best place to seek further help.

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Mej de Castro

    (@mej)

    Hi @saeb1

    Thanks for reaching out 🙂 Our widget options can help show a widget for logged-in user. See https://imgur.com/6wzQEJQ for reference. The Display logic feature of widget options supports conditional tags from https://codex.ww.wp.xz.cn/Conditional_Tags. Unfortunately, it would be better to create a custom addon filter for the user who has more than 1 post.

    Hope that helps. If you have any questions, please let me know!

    Regards,
    Widget Options Support

Viewing 1 replies (of 1 total)

The topic ‘Logic PHP’ is closed to new replies.