Build Your Own Business Website header image

Thesis 2.1 for DIY Website Builders – Part 8 – Remove the Byline from Pages but Not Posts in the Thesis 2.1 Skin Editor

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Whoops, you've found some protected content!

Watch the opening clip of this video to preview it,
the full video is available to free and paid members.

We’ve just learned how to remove the text box in the sidebar from a Thesis 2.1 template so the next thing we’re going to do is remove the byline and other options from pages but not from posts.

Turn On/Off Options in Post and Page Output

The way that works is to come back over here to Post and Page Output under Skin Content. Go to Page Output and then what we’re going to do is I’m going to turn the Author Avatar, Date and Categories on. So we have all those on and now they are going to show up. Let’s say okay to that and save display options.

Come back over to the Home, now I’ve got all those options showing up at the top of my page and obviously, I don’t really want that showing up at the top of my pages. However, if we come over to a post, I definitely want byline and the rest showing up on a post. So what we’re going to do is change this so that it doesn’t show up on Pages but it stays on the posts.

Remove Options from Pages Only on 2 Templates

The way that works then is to come back over to the Skin Editor and to open up those templates and make the change. We’re not changing the Home template, we’re just changing the Page template and the Front page template.

So we go to the Page template and those options are contained inside the Headline Area. So go to the Columns, Content Column, WP Loop, Post Page Post Box and then Headline Area. Then what we’re going to do is get rid of the Author Avatar.

Remove Options to Post Boxes Tray

Now, there’s something special about post boxes and that is they have this thing called the tray where they have all of these under that special Salmon color. All of these elements that are available inside of the Post Box and rather than dragging them to the tool box or to the trash, what we’re going to do is drag them down here to what’s called the tray.

So I’m going to shift+drag the Author Avatar down and you can see I can’t drop it anywhere here, right? Because what I really have to do is take it out of its container and put it in the Post Box container essentially. And then I can drag it down here, see where it says, “Drop orange boxes here to hide them in the tray”, now it’s gone.

We’re going to do the same thing with Byline, Date and Edit Link although I could just shift+drag this over here as well and drop it here. Let’s save the template, those little pieces were not actually added back in. That’s interesting. I expected that what would happen is the pieces from this box that were inside the Byline would just go back into the tray automatically and it did not do that. But it doesn’t really matter to us; we don’t want them so we don’t care.

Let’s save that, we’re going to do the same thing to the Front page. Come over to our Front page, open up our Headline Area and shift+drag the Author Avatar out and then show the tray and drag it into the tray. Then shift+drag Byline out, save the template.

We can come back over here and look at our post and it’s still there, we still have that information on our posts. We can’t go to Categories and look at that stuff but if we come over to our Home page, it’s not there anymore and if we look at our regular page, it’s not there anymore. This is the power of customizing those templates because you can have some elements in some templates and remove them from other templates.

How to Change or Remove the Menu Title

Now, something that people ask me all the time is how to get rid of the title. What I would probably do with this title is use it actually. But rather than having it say “Home”, I would probably turn it into “Welcome to the Barking Chihuahua Cafe”. So rather than getting rid of the title entirely, I would just make it useful.

I’m also going to have to go change my menu, I believe because the menu now is going to say, “Welcome” but I still want the menu to say, “Home”. So we come back over here and just change that to “Home”. Now it says, “Welcome to the Barking Chihuahua Cafe”, which I think makes plenty of sense.

However, if you don’t want to do that at all, all you have to do is go to that template and remove it. We’ll go to the Skin Editor, go to our Front Page template and actually, I’m just going to get rid of the Headline Area all together. So it’s just a shift+drag and drop it there, save the template and now, the headline is gone.

So that’s how you remove the headline from a template if you want to. But I encourage you not to do that. I encourage you to put in your own just to make the headline useful instead of deleting it but that’s how you can delete it.

2 Comments… add one
2 comments… add one
  • Sarah Noked October 12, 2014, 11:23 am

    I’ve deleted a part of the byline that I actually want to keep. I can’t find it one the list. How can I get it back again?
    Thanks

    • Rick Anderson October 12, 2014, 2:24 pm

      Sarah, take a look at one of the templates you haven’t changed to see how that part of the byline was inserted into the template. If you already changed all of your templates then make a backup of your skin, then rstore your default templates. Once the templates are back to default you can see how it was done. Write down how it was done, restore your backup and then recreate it in your templates

Leave a Comment