Support » Plugin: Author Spotlight (Widget) » Show only if not Admin

Viewing 1 replies (of 1 total)
  • Plugin Author Debashish


    You may try replacing the following line:

    if((is_single() || is_page()) && $authordata->ID){


    if((is_single() || is_page()) && $authordata->ID && !is_super_admin($authordata->ID)){

    Note that I haven’t tested it and the plugin doesn’t support this.

Viewing 1 replies (of 1 total)
  • The topic ‘Show only if not Admin’ is closed to new replies.