Conditional instructions text

This topic contains 3 replies, has 3 voices, and was last updated by  Stiofan O’Connor 6 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #878

    anders
    Free User
    Post count: 121

    Hi,

    I´m using the “uwp_template_before” -action to display some instructions to new users (from a simple Directory Starter -child theme + geodirectory addon) but I only want for this text to show when no gd_place posts has been published yet. Could you please help me with a conditional statement for this?

    Thanks!

    #881

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    did you check this? https://wordpress.stackexchange.com/questions/5761/display-text-if-current-user-has-written-1-or-more-posts-in-a-custom-post-type

    Just change the post type to gd_place.

    Let us know how it goes,

    Thanks

    #884

    anders
    Free User
    Post count: 121

    Thank you Paolo, that worked really nice!

    #885

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for letting us know! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket