Member Login

You are not currently logged in.






» Register
» Lost your Password?

Conditional Statement

How to Add the Date to the Bottom of a Single Post in Thesis

In this session we show how to add the date at the bottom of a single post in Thesis with PHP code. We use a conditional statement to exclude pages and apply the date only to single posts. Here we created the code to be used and explain how the code works.

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Watch the Video →

Syntax Error in Conditional Statement – if(is_page())

A member used some suggested code on the forum to remove the H1 tag from a specific page.  She discovered that the code worked fine if the conditional statement used the page slug but did not work if using the page id.  We discovered the syntax error that led to the problem of the page [...]

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Watch the Video →

Troubleshooting Thesis Custom Templates – Part 4 – Apply to Multiple Pages

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 [...]

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Watch the Video →

How to Display Different Header Images on Different Pages

This member wants to add different header images on different pages of his Thesis based WordPress Website. He wants certain images displayed based on the context or parent of the page. I discuss the conditional statement and point him to the videos that teach how to do this. Select the link below to watch a [...]

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Watch the Video →

Community Library Website Case Study – Part 37, Add WordPress Menus to Archive Pages

This is the thirty seventh in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we continue working on the menus in our new catalog page. We add the menus to the archive pages by creating a new function in custom_functions.php. The menus now appear [...]

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Watch the Video →

How to Create a Simple Video Squeeze Page

A member asked how he can build a simple video squeeze page out in Thesis. What he wants is a page with no header or footer.  He does want to retain the content and the sidebar.  In the sidebar he’ll put an opt-in form and in the content he’ll embed a video.  We look at [...]

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Watch the Video →