Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Trouble understanding where View's Content Templates insert their HTML

$
0
0

Hello,

I've figured out how to generate content that looks almost how i'd like, but not 100%.

For example, i have custom post's called Teachers that i created using Types. I then have a Content Template called Teachers that I created in Views, and set to connect the the single pages for Teachers. The problem is it's inserting the HTML i created in the Content Template into my regular site layout which uses the single.php tempalte file in my theme, which has a sidebar and other layout elements, that i prefer not to use on my Teacher pages. Do i have to manually create a single-teacher.php template file in my theme in order to affect the page layout? Or is there a better way using Views i should be approaching this? (I ultimately want to use a set sidebar on my Teacher pages*, and doing some search in these forums, it seems that should be achieved using a View somehow, rather than custom sidebars).

So confused :(

Can anyone help me out or point me in the right direction? Especially in understanding why View's Content Templates places it's HTMl code where it does.

Thanks in advance :)


Viewing all articles
Browse latest Browse all 20145

Trending Articles