• Resolved chanel

    (@chanel)


    I am working on a friend of mine’s blog and the url is http://shaylavie.com/2010. If you go to http://shaylavie.com/2010/?p=44, the page title “Chanel Iman Blah Blah Blah” shows up with the correct font format & pink heart at the side of it. However, I am unable to get the same effect on the main page.

    I’ve edited the index.php file to match the single.php file for the command for the blog title exactly how it is and it still doesn’t work. It’s also in Black, when I changed it to White in the css.

    Here is the code:

    <?php

    $unisphere_use_timthumb = get_option(‘minim_use_timthumb’);

    get_header();
    ?>

    <div id=”sub-header”>
    <h2><?php echo get_page_name_by_ID(get_option(‘page_for_posts’)); ?></h2><?php if( get_post_meta(get_option(‘page_for_posts’), “post_meta_sub_title”, $single = true) != ”) { echo ‘<span class=”meta”>’ . get_post_meta(get_option(‘page_for_posts’), “post_meta_sub_title”, $single = true) . ‘</span>’; } ?>
    <div id=”sub-header-search”>
    <form class=”searchform” method=”get” action=”<?php bloginfo( ‘url’ ); ?>”>
    <p><input class=”search” name=”s” type=”text” value=”” tabindex=”1″ />
    <button class=”search-btn” type=”submit” tabindex=”2″ style=”display: none;”>Search</button></p>
    </form>
    </div>
    </div>

    <div id=”page-container” class=”clearfix”>

    <!–BEGIN #primary .hfeed–>
    <div id=”primary” class=”hfeed”>
    <?php if ( have_posts() ) : ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <!–BEGIN .hentry–>

    <div id=”post-<?php the_ID(); ?>” class=”<?php semantic_entries(); ?>”>
    <h2 class=”entry-title”> <img src=”http://i45.tinypic.com/2lclgmp.png”&gt; <?php the_title(); ?></h2>
    <?php if( get_post_meta($post->ID, “post_meta_sub_title”, $single = true) != ”) { echo ‘<span class=”meta”>’ . get_post_meta($post->ID, “post_meta_sub_title”, $single = true) . ‘</span>’; } ?>

    <!–BEGIN .entry-meta .entry-header–>

    <div class=”entry-meta entry-header”>

    <!–<span class=”author vcard”>Written by <?php printf( ‘ID, $authordata->user_nicename ) . ‘” title=”‘ . sprintf( ‘View all posts by %s’, $authordata->display_name ) . ‘”>’ . get_the_author() . ‘‘ ) ?></span>–>

    <span class=”published”><abbr class=”published-time” title=”<?php the_time( get_option(‘date_format’) .’ – ‘. get_option(‘time_format’) ); ?>”><?php the_time( get_option(‘date_format’) ); ?></abbr></span>

    <span class=”entry-categories”>| in <?php echo framework_get_terms( ‘cats’ ); ?></span>

    <?php if( ‘open’ == $post->comment_status ) : ?>

    <span class=”comment-count”>| “><?php comments_number( ‘Leave a Comment’, ‘1 Comment’, ‘% Comments’ ); ?></span>

    <?php endif; ?>

    <?php edit_post_link( ‘edit’, ‘<span class=”edit-post”>[‘, ‘]</span>’ ); ?>

    <!–END .entry-meta .entry-header–>

    </div>

    <!–BEGIN .entry-content .article–>

    <div class=”entry-content article”>

    <?php if( get_post_meta($post->ID, “blog_portfolio_img”, $single = true) != ”) : ?>

    <?php if( $unisphere_use_timthumb == ‘1’ ) : ?>

    ” title=”<?php the_title(); ?>”><img src=”<?php bloginfo(‘template_directory’); ?>/timthumb.php?src=<?php echo get_post_meta($post->ID, “blog_portfolio_img”, $single = true); ?>&w=580&zc=1″ alt=”<?php the_title(); ?>” class=”ie6fix” />

    <?php else : ?>

    ” title=”<?php the_title(); ?>”><img src=”<?php echo get_post_meta($post->ID, “blog_portfolio_img”, $single = true); ?>” alt=”<?php the_title(); ?>” class=”ie6fix” />

    <?php endif; ?>

    <?php endif; ?>

    <?php the_content(__(‘Read more »’)); ?>

    <?php wp_link_pages( array( ‘before’ => ‘<div id=”page-links”><p>Pages: ‘, ‘after’ => ‘</p></div>’, ‘next_or_number’ => ‘number’ ) ); ?>

    <!–END .entry-content .article–>

    </div>

    <div class=”hr”><hr /></div>

    <!–END .hentry–>

    </div>

    <?php endwhile; ?>

    <?php include ( TEMPLATEPATH . ‘/navigation.php’ ); ?>

    <?php else : ?>

    <!–BEGIN #post-0–>

    <div id=”post-0″ class=”<?php semantic_entries(); ?>”>

    <h2 class=”entry-title”>Not Found</h2>

    <!–BEGIN .entry-content–>

    <div class=”entry-content”>

    <p>Sorry, but you are looking for something that isn’t here.</p>

    <?php get_search_form(); ?>

    <!–END .entry-content–>

    </div>

    <!–END #post-0–>

    </div>

    <?php endif; ?>

    <!–END #primary .hfeed–>

    </div>

    <?php get_sidebar(); ?>

    </div>

    <?php get_footer(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • title color:

    in skin.css:

    /* Inner Page */
    h2.entry-title a { color: #000; }

    change it to: #fff;
    defines the color of the post title, which is linked on the front page; but un-linked on the single page.

    heart:
    this <img src="http://i45.tinypic.com/2lclgmp.png"> is missing in the front page title line.
    you must have misssed that one.

    Thread Starter chanel

    (@chanel)

    alchy…I’ve been editing it via wp-admin since last night but i see when i access it via ftp, it didnt save any of my alterations. Any reason why this happened? Do I need to change the CHMODs?

    Thread Starter chanel

    (@chanel)

    thank you by the way. It’s fixed!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post Title Help’ is closed to new replies.