Font Bonanza on Ubuntu Hardy

September 19, 2008 by tibor · Leave a Comment 

To install an amazing amount and quality of fonts execute the following command:

Code:

sudo apt-get install ttf-georgewilliams ttf-sjfonts sun-java6-fonts ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon gnome-specimen

I am reviewing hundreds of fonts to pick the right one for my new IT Care Inc. logo I am designing. I will post the best of them fonts soon.

For now here is an “appetizer“, though:

This font is called Cuomotype in case you wanted to know. :-)

Wordpress Revolution Theme - How do I create a page that doesn’t appear in the navigation

September 18, 2008 by tibor · Comments Off 

http://www.revolutiontheme.com/support/viewtopic.php?f=3&t=5847&p=31221&hilit=+menu+link#p31221

Re: How do I create a page that doesn’t appear in the navigation

You can create a page in the normal way then exclude it from the navbar. Find this in header.php:

Code:
<div id="navbarleft">
<ul id="nav">
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=2&sort_column=menu_order'); ?>
</ul>
</div>

and change it to:

Code:
<div id="navbarleft">
<ul id="nav">
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('exclude=XX&title_li=&depth=2&sort_column=menu_order'); ?>
</ul>
</div>

Replace XX with the ID number of the page to be excluded.

To exclude more than one page, the code looks like this:

Code:
<?php wp_list_pages(’exclude=1,4&title_li=&depth=2&sort_column=menu_order’); ?>

Ade

Wordpress REVOLUTION theme tweaks #2

September 16, 2008 by tibor · Leave a Comment 

To enable the commenting ability on a static Page post in the REVOLUTION wordpress theme (for example for a Testimony Page)

Insert the following code segment:

<div class="comments">
<h4>Comments</h4>
<?php comments_template(); // Get wp-comments.php template ?>
</div>

into the theme’s page.php file to make it look like below:

<?php get_header(); ?>
<div id="content">
<div id="contentleft">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(__('Read more'));?><div style="clear:both;"></div>
<!--
<?php trackback_rdf(); ?>
-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<div class="comments">
<h4>Comments</h4>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar_page.php");?

Wordpress REVOLUTION theme tweaks #1

September 16, 2008 by tibor · Leave a Comment 

This is pretty specific to the Wordpress theme I purchased from http://www.revolutionthemes.com/.

The desired outcome is displayed in the following 2 images (click on images to get the full size displayed:
and

On the default REVOLUTION theme to align text better with the bottom 3 image you need to change 3 sections in the theme’s style.css file.

The 3 sections to look for are:

  1. #homebottomleft img {
  2. #homebottommiddle img {
  3. #homebottomright img {

Change the second px setting on the margin line from 0px to 5px or whatever number of pixels work for you in all 3 instances. Example 1 is displayed below:

BEFORE

#homebottomleft img {
float: left;
border: 2px solid #999999;
margin: 0px 0px 10px 0px;
}

AFTER

#homebottomleft img {
float: left;
border: 2px solid #999999;
margin: 0px 5px 10px 0px;
}