| User | Post |
|
15:26 12. May 2008
| TomHBrown
Guest
| | | |
|
| |
|
|
I found that one of the plug-ins was causing the problem: WordTube (for embedding YouTube); when I removed it the feature text reappeared on the home page.
Just in case anyone else has this problem.
Thanks,
Tom
TomHBrown said:
I have also just experienced my featured text no longer appearing on the home page (just the titles). I had done nothing to the index.php page.
I looked in both places which have been mentioned in the index.php, and even reloaded it a couple of times.
Nothing.
Most discouraging..I did a lot of work today without periodic backup, and I don't even know how to fix it.
I do love the theme, though, and want to make it work.
Hope someone can help…
TomH
My site is http://www.ListBoogie.com
|
|
|
06:57 12. May 2008
| TomHBrown
Guest
| | | |
|
| |
|
|
I have also just experienced my featured text no longer appearing on the home page (just the titles). I had done nothing to the index.php page.
I looked in both places which have been mentioned in the index.php, and even reloaded it a couple of times.
Nothing.
Most discouraging..I did a lot of work today without periodic backup, and I don't even know how to fix it.
I do love the theme, though, and want to make it work.
Hope someone can help…
TomH
My site is http://www.ListBoogie.com
|
|
|
|
|
Awesome, Dude
|
|
|
|
|
Michael I found the problem is caused by my permalink structure (Codex was a good help ), so I changed that line of code in this:
<?php the_excerpt(); ?>
Michael Oeser said:
Did you change anythng in the code of index.php in the “featured articles” module? Normally it looks like this:
// “Featured articles” module begins query_posts('showposts=3&cat=7'); ?> <h3> <?php // name of the “featured articles” category gets printed wp_list_categories('include=7&title_li=&style=none'); ?> </h3> <?php while (have_posts()) : the_post(); ?> <div class=”feature”> <?php // this grabs the image filename $values = get_post_custom_values(”featuredarticleimage”); // this checks to see if an image file exists if (isset($values[0])) { ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; // this is where the custom field prints images for each Feature $values = get_post_custom_values(”featuredarticleimage”); echo $values[0]; ?>” alt=”featuredimage” /></a> <?php } ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” class=”title”> <?php // title of the “featured articles” the_title(); ?> </a> <p> <?php the_content_rss('', TRUE, '', 20); ?> </p> </div> <?php endwhile; ?> </div> <!–END LEFTCOL–>
The part that displays the copy (the text) below the headline is the blue highlighted.
|
|
|
|
|
Hi Michael
I didn't change that line, this is my index.php. As you can see I made some little changes, but no code involved (I don't know php).
Thank you
<?php get_header(); ?>
<div id=”content”> <?php // Include tabs with the lead story include(TEMPLATEPATH . '/ui.tabs.php'); ?> <div id=”leftcol”> <?php // “Featured articles” module begins query_posts('showposts=8&cat=315'); ?> <h3> <?php // name of the “featured articles” category gets printed wp_list_categories('include=315&title_li=&style=none'); ?> </h3> <?php while (have_posts()) : the_post(); ?> <div class=”feature”> <?php // this grabs the image filename $values = get_post_custom_values(”featuredarticleimage”); // this checks to see if an image file exists if (isset($values[0])) { ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Collegamento a <?php the_title(); ?>”><img src=”<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; // this is where the custom field prints images for each Feature $values = get_post_custom_values(”featuredarticleimage”); echo $values[0]; ?>” alt=”featuredimage” /></a> <?php } ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” class=”title”> <?php // title of the “featured articles” the_title(); ?> </a> <p> <?php the_content_rss('', TRUE, '', 20); ?> </p> </div> <?php endwhile; ?> </div> <!–END LEFTCOL–> <div id=”rightcol”> <?php // enter the IDs of which categories you want to display $display_categories = array(2,3,4,5,6,7,8,9,10); foreach ($display_categories as $category) { ?> <div class=”clearfloat”> <?php query_posts(”showposts=2&cat=$category”); $wp_query->is_category = false; $wp_query->is_archive = false; $wp_query->is_home = true; ?> <h3><a href=”<?php echo get_category_link($category);?>”> <?php // name of each category gets printed single_cat_title(); ?> </a></h3> <?php while (have_posts()) : the_post(); ?> <?php // this grabs the image filename $values = get_post_custom_values(”rightcolimage”); // this checks to see if an image file exists if (isset($values[0])) { ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Collegamento a <?php the_title(); ?>”><img src=”<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; $values = get_post_custom_values(”rightcolimage”); echo $values[0]; ?>” alt=”" /></a> <?php } ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” class=”title”> <?php // this is where title of the article gets printed the_title(); ?> </a><br /> <?php the_excerpt() ; ?> <?php endwhile; ?> </div> <?php } ?> </div> <!–END RIGHTCOL–> </div> <!–END CONTENT–> <?php get_sidebar(); ?> <?php get_footer(); ?>
Michael Oeser said:
Did you change anythng in the code of index.php in the “featured articles” module? Normally it looks like this:
// “Featured articles” module begins query_posts('showposts=3&cat=7'); ?> <h3> <?php // name of the “featured articles” category gets printed wp_list_categories('include=7&title_li=&style=none'); ?> </h3> <?php while (have_posts()) : the_post(); ?> <div class=”feature”> <?php // this grabs the image filename $values = get_post_custom_values(”featuredarticleimage”); // this checks to see if an image file exists if (isset($values[0])) { ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; // this is where the custom field prints images for each Feature $values = get_post_custom_values(”featuredarticleimage”); echo $values[0]; ?>” alt=”featuredimage” /></a> <?php } ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” class=”title”> <?php // title of the “featured articles” the_title(); ?> </a> <p> <?php the_content_rss('', TRUE, '', 20); ?> </p> </div> <?php endwhile; ?> </div> <!–END LEFTCOL–>
The part that displays the copy (the text) below the headline is the blue highlighted.
|
|
|
|
|
Did you change anythng in the code of index.php in the “featured articles” module? Normally it looks like this:
// “Featured articles” module begins query_posts('showposts=3&cat=7'); ?> <h3> <?php // name of the “featured articles” category gets printed wp_list_categories('include=7&title_li=&style=none'); ?> </h3> <?php while (have_posts()) : the_post(); ?> <div class=”feature”> <?php // this grabs the image filename $values = get_post_custom_values(”featuredarticleimage”); // this checks to see if an image file exists if (isset($values[0])) { ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; // this is where the custom field prints images for each Feature $values = get_post_custom_values(”featuredarticleimage”); echo $values[0]; ?>” alt=”featuredimage” /></a> <?php } ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” class=”title”> <?php // title of the “featured articles” the_title(); ?> </a> <p> <?php the_content_rss('', TRUE, '', 20); ?> </p> </div> <?php endwhile; ?> </div> <!–END LEFTCOL–>
The part that displays the copy (the text) below the headline is the blue highlighted.
|
|
|
|
|
Your Website or Blog URL:
http://www.iltuoiphone.it Your themes version: 2.51 Your WP Version:2.5
Hello
First of all; your theme is beatiful and I just finished changing the theme of my blog. So thank you for your excellent work.
Perhaps I'm wrong and I can't display any text in the featured article on my blog home page; I tried with many custom field (example featuredarticletext) but I don't get the text.
THank you in advance
|
|