Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author gab.ro

    (@gabro)

    Hello

    You want your nano to behave differently when you’re in the admin section than when you’re viewing the site. What you need is the conditional tag is_admin:

    if(!is_admin()){
      return 'post_title';
    }
    else{
      return $orderby;
    }

    Notice the $orderby argument. In order to be able to use it, put it in the Hook Arguments field. That is the default value, so the nano does not modify it when you’re in the admin section.

    Regards,
    Gab

    Plugin Author gab.ro

    (@gabro)

    In the future, you can also visit the plugin website for similar questions ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Nano Plugin Manager] "Sort Posts by Title" brake sort options under admin->pos’ is closed to new replies.