Build Your Own Business Website header image

PHP

Lesson 6 – Part 4 – Using Thesis Filters

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects - ,

Applies to -

The next thing we need to do is begin styling this front page. We setup a bunch of Thesis Design Options that work for our typical page so we've got our color, our headlines and things like that that work just fine for our typical page but don't work with the front page. We need

Use get_post_meta () with the Custom Fields Plugin

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

In this session we show how to use get_post_meta () with the Custom Fields Plugin using the embed code that the plugin generates. We go through the process of capturing the value of the post meta, putting it in a variable and using that to display something on the page. We also use a conditional

Lesson 9 – Part 5 – Example #2 – Change the Thesis Footer

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now we’re going to move on to example number 2. In this example we are going to change the Thesis theme footer. Let’s look at the Thesis footer here. Here’s our site that we’re working on and this down here is the Thesis footer. And if we inspect the element, you get an idea of

Lesson 9 – Part 4 – Example #1 – The “Hello World” of action hooks

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

Now what we’re going to do is take a look at our example number 1. And example number 1 is the “Hello World” of action hooks. If you don’t know what I mean by “Hello World”, traditionally this is the very first command a programmer learns. Almost every introduction to any programming language has some

Lesson 9 – Part 3 – Introduction to Action Hooks

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

The next thing we’re going to talk about is action hooks. Action hooks are fundamental to customizing Thesis. If you’re going to customize the Thesis theme using PHP, you are going to be using an action hook and you’re going to be using it, essentially with each part of customization that you do. People, I

Lesson 9 – Part 2 – Anatomy of the Thesis custom_functions.php file

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

The next thing we’re going to talk about is the Thesis theme custom_functions.php file. This is using Thesis 1.8.4 and this is the NetBeans IDE version 7.0.1 and I’ve opened up my custom functions file in that. Your custom functions file has a couple of different elements. It starts off with this opening php tag.

Lesson 9 – Part 1 – How to Learn PHP

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Well, good morning everybody and welcome to Lesson 9 of the Customize Thesis Like A Pro tutorial course. In this lesson, we are going to have an introduction to customizing the Thesis theme using PHP. In Lessons 1 through 8, we focused entirely on editing Thesis using custom CSS and now we are taking the

Lesson 9 – Introduction to Customizing Thesis Using PHP

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects - ,

Applies to -

This Thesis theme video tutorial lesson provides an introduction to customizing the Thesis theme using PHP, no prior knowledge of PHP is assumed. We begin by reviewing the traditional way of learning PHP and introduce a new method of leaning PHP that is focused on the Thesis theme. We also introduce resources that you can

How to Add Facebook Open Graph Tags in Thesis – Part 4 – 1 Week Later Follow Up

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

One of our members was having a trouble with Facebook not showing the image after adding the Facebook open graph tags. In this session, we discuss how Facebook works with images and give the code that we use on byobwebsite.com. The code is shown below. Cherry: Good morning Rick. Thank you so much. Rick: You're

How to Add Cufon Fonts to Thesis – Part 4 – Troubleshooting Again

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

We found another issue to troubleshoot with the cufon fonts that was brought up by one of our members when he added his cufon fonts to his site. Video Transcript Rick: Okay, Paul I’ve just unmuted your microphone. Paul: Okay. Rick: So what’s the issue with cufon font? Paul: Oh, I’ll give you instruction as

How to Add Cufon Fonts to Thesis – Part 3 – Troubleshooting

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Now that we have created the cufon function code, we test the font and troubleshoot issues that arise. Now we have to troubleshoot because we have up on our head our script calling, themes/thesis_182/custom_fonts/flux-architect.cufonfonts.js. It actually is calling that one. Let's just make sure it exists. “Uncaught ReferenceError. Cufon is not defined.” think what we

How to Add Cufon Fonts to Thesis – Part 2 – Write the PHP Function

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

After we download the cufon font and upload it to the website, we write the PHP functions to Thesis. The first function adds the script that will load the cufon font. The next function calls the replacement script that will tell the web browser which selectors are to be replaced by the cufon. And the

How to Add Facebook Open Graph Tags in Thesis – Part 3 – Testing and Verifying

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

In this session, we test and verify that the Facebook open graph tags work properly. We do this by looking at the page source. Before we do that, I want to show you what this looks like. Let’s come over here to BYOB Website and what we’re going to do is we’ll view the page

How to Add Facebook Open Graph Tags in Thesis – Part 2 – Adding the Specific Tags

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

In this session, we talk about and add the specific tags that Facebook will get when you share the post. These are the Title, Image, URL, Description and Site Name. Now, we get down to the types of properties. The first one is the title, that’s the title of this webpage and so we’re just

How to Create a Landing Page in Thesis

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects - , ,

In this session we show a member how to create a clean landing page by adding some php functions using Thesis filters to disable the footer and header thus leaving us with a minimalist custom template. Rick: Okay so now Sean, I’m unmuting your microphone there. Sean: Hi. Rick: How are you doing? Sean: I’m

Customize Next & Previous Posts Links – Part 3 – Remove the Thesis Filters

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects - ,

Applies to -

This is the 3rd in an 8 part series that shows how to customize the Next Post/Previous Post links in Thesis. In order to replace the next post and previous posts links with images we first have to remove the Thesis Next Post/Previous Post filters. If instead of that, what we want to do is

Customize Next & Previous Posts Links – Part 2 – Editing the Text Using Thesis Filters

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects - ,

Applies to -

This is the 2nd in an 8 part series that shows how to customize the Next Post/Previous Post links in Thesis. We start off by looking at the various places this shows up by default in the site and then look at the filters Thesis has for customizing them. And we’re just going to start