This is the third in a short series on creating custom template styles for posts. We will be using Thesis hooks and filters to create these “post templates”. In this part we write the function that adds a custom body class to each custom template using the thesis_body_classes filter. Video Transcript So that takes us [...]
Watch the Video →The member wants to make his custom template apply to multiple pages. We discuss how to use a conditional statement with multiple page ids to accomplish this. An example of such code is provided below. The code below demonstrates how to create a single function that applies multiple custom templates to multiple pages: Select the [...]
Watch the Video →