• Masoud

    (@masoud1111)


    hi. i am using socialchef theme.
    in the website, there is a page which you can send your food recipe to admin.
    in the writing panel, there is a button (insert/edit link)
    i want to hide it only for users!
    i know the if condition will be

    if (current_user_can(administrator))
    {...}

    but i dont know how to hide that button.

    using latest version of wordpress.
    tnxxx for any help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    – Unfortunately, your currently used theme is not in the ww.wp.xz.cn/themes/ directory:
    https://ww.wp.xz.cn/themes/search/socialchef/

    – These forums are for free themes available in the WordPress theme directory at ww.wp.xz.cn/themes/. So please contact the developer/vendor directly for support with your question. You’ll be more likely to find a good answer from them, for they have the access to its code. Forum volunteers are not given access to commercial/custom products, so they would not know why your /custom/commercial theme or plugin is not working properly. The developers/vendors are responsible for supporting their custom/commercial product. See http://codex.ww.wp.xz.cn/Forum_Welcome#Commercial_Products

    Thread Starter Masoud

    (@masoud1111)

    @tara
    – haha! thanks for mention that i am not using a free theme!!!! :-\
    the theme info i gave, was just for extra information!
    – unfortunately, this forum is for wordpress how to and etc!! not for Theme!! and if you look more carefully there is another tab available for free themes (which i didnt asked my question there)!! :-\
    – and by the way, insert/edit link button is a wordpress default property!
    – and for the last thing to mention, pleaseeee next time you go to a topic to say something, first of all READ THE QUESTION!
    i didnt said that something is not working!!!
    i asked how to hide! 😐

    Moderator t-p

    (@t-p)

    To save you time, your best bet is to ask your theme’s author as to how to “hide”.

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

The topic ‘how to hide "insert/edit link" button?’ is closed to new replies.