Em Andamento

Wordpress different template for admin

Hello Everyone, I am stuck with something and need a wordpress expert to give me a solution.

I am trying to build a plugin which will load a different template on wordpress site.

Codes are like this

function change_template( $template ) {

// Load new template

return $template;


add_filter( 'template_include', 'change_template', 99 );

Now I want to put a condition.

I do not want this function to run if the user is admin.

Budget is 8$

Habilidades: HTML, MySQL, PHP, WordPress

Ver mais: template site wordpress, run different user, solution template, template expert wordpress, add filter search wordpress, template admin wordpress, admin template wordpress, wordpress admin template, wordpress admin load, wordpress add flash template, wordpress expert template, admin solution

Acerca do Empregador:
( 67 comentários ) Dhaka, Bangladesh

ID do Projeto: #6814801