Topic: Adding Page template to “Our Team” | EngineThemes


mrmojorock

Member

Hi – a few quick questions for you.

1. What happened to the old forum and all posts/replies?

2. I’ve created a new template for the “our team” detail pages.  Currently, Luna doesn’t allow you to click through to team members.  So when I’ve linked to the permalink – it’s defaulting to the “Blog” temlate.  How do I apply the the new “team” template in your framework so it doesn’t default to using the blog template?

Thanks so much,


admin

Key Master

Hi,

1. we are attacked by spammers and we cant handle it by using that forum phpBB.. We’ve installed many plugins but still can’t stop spammers so we decided to used bbPress.. anyway sorry for what happened..

2. you need to change the arguments code to “ourteam” and it will automatically link to it’s team permalink structure..

thanks


mrmojorock

Member

Ah what a pain!  Sorry you had to deal with that…

But thanks for the update.

Do you need to change that arg code in the ‘custom-posts.php’ ?


admin

Key Master

if you want to change then you can, be sure you change the codes involve for that, I think you only need to change your $arg structure like this


$args = array( 'post_type' => 'ourteam', 'orderby' => $team_orderby, 'order' => $team_order, 'posts_per_page' => get_option('luna_num_team') );


mrmojorock

Member

Okay thanks – which file does this happen in?


admin

Key Master

just copy this in “aboutus.php” file and add it on your page that should work..

thanks


mrmojorock

Member

I think you’re referring to line #54 in aboutus.php, correct?

It’s exactly what you just sent…so not sure how to get the permalink to use a different template…


admin

Key Master

Hi,

I think in your editor that is line 54..
to get the link you should use < ?php the_permalink(); ?> and you need to create the team single page for that..

thanks


mrmojorock

Member

Gotcha.  Thanks again.


admin

Key Master

great.. good luck!