custom_functions.php

Important New Article! Tutorial: Customizing Just Your Front Page, Pages or Posts Using Conditional Tags

calendar December 27, 2009   |   author Author: Mike Nichols
category Posted in New Articles   |   comments81 Comments

by Mike Nichols on December 27, 2009 · 81 comments

How many times have you wanted to customize just the Home page, or just one page, or only posts? You’ve heard about Conditional Tags but don’t have a clue how to use them! Well, you will after reading this new article! “Tutorial: Customizing Just Your Front Page, Pages or Posts Using Conditional Tags” provides all […]

{ 81 comments }

Another Tip! Quickie: Executing CSS in custom_functions.php

calendar December 27, 2009   |   author Author: Mike Nichols
category Posted in New Articles   |   comments1 Comment

by Mike Nichols on December 27, 2009 · 1 comment

Sometimes we need to execute CSS within the PHP of our custom_functions.php file. This article shows you how to use the “style” statement to do so! “Quickie: Executing CSS in custom_functions.php” is a clear and concise article on how to use the same CSS statements as you use in the custom.css file within your custom_functions.php […]

{ 1 comment }

Tutorial: Customizing Just Your Front Page, Pages or Posts Using Conditional Tags

calendar December 27, 2009   |   author Author: Mike Nichols
category Posted in   |   comments7 Comments

by Mike Nichols on December 27, 2009 · 7 comments

There are many times when Thesis users want to apply customizations to just one page or post or to only pages or posts. For example: You want a featured post plugin to appear only on the front or Home page. Only posts should have a particular message following them, and only when the full post […]

{ 7 comments }

Quickie: Executing CSS in custom_functions.php

calendar December 27, 2009   |   author Author: Mike Nichols
category Posted in   |   comments2 Comments

by Mike Nichols on December 27, 2009 · 2 comments

Sometimes we need to execute CSS code within the PHP in our custom_functions.php file. It’s a simple trick! You use the style statement to wrap your CSS in. Here’s an example for you: function use_style_statement() {?> <style type="text/css"> .custom #some_id { background: #000000; } .custom .some_class { position: relative; } </style><?php } Note these things: […]

{ 2 comments }

New Tip! Upgrade-Proof Your Site with the bloginfo() Tag

calendar October 17, 2009   |   author Author: Mike Nichols
category Posted in Uncategorized   |   comments0 Comments

by Mike Nichols on October 17, 2009 · 0 comments

Thesis has the reputation of being upgrade-proof. That is, you do not lose your work in the custom folder when you upgrade. Running against this is the necessity of putting full URL paths to images and files in the custom_functions.php file. If you use a lot of images from your /custom/images folder, it can be […]

{ 0 comments }

New Articles for Newbies: Basic Syntax for custom.css and custom_functions.php!

calendar August 14, 2009   |   author Author: Mike Nichols
category Posted in Uncategorized   |   comments7 Comments

by Mike Nichols on August 14, 2009 · 7 comments

People who are just getting their feet wet with customizations are often daunted by the strange words and punctuation they find in the code for custom.css and custom_functions.php. Even the basic format of the CSS and PHP languages are foreign. Two new articles just published in the Newbies “Getting Started” section, “Basic CSS Syntax for […]

{ 7 comments }

Basic PHP Syntax for custom_functions.php

calendar August 14, 2009   |   author Author: Mike Nichols
category Posted in   |   comments0 Comments

by Mike Nichols on August 14, 2009 · 0 comments

The custom_functions.php file is used less often for customization in Thesis than the custom.css file, but it is viewed with fear all out of proportion to how much it is employed. That’s because PHP errors in the custom_functions.php file can stop your site cold with a cryptic error message, whereas an error in custom.css will […]

{ 0 comments }