clarkbp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: custom fields for categoriesthat plugin is great! Thanks, Moshu. It actually solves the issue, but brings to light another problem that I have with that section. In the index.php file, I have assigned categories to those spots. The code looks like this:
// “Featured articles” module begins
query_posts(‘showposts=6&cat=array(3514,1165,3516,3507,1090)&offset=1’); ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”feature”><?php if (function_exists(‘get_cat_icon’)) get_cat_icon(); ?> ” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php bloginfo(‘url’); echo ‘/’; echo get_option(‘upload_path’); echo ‘/’;The problem is that some of the posts in the featured articles are not from any of these categories. How can I have one article from each of those categories displayed in the featured articles section?
Forum: Themes and Templates
In reply to: adding script to the main page of WP templateBeautiful.
Beautiful.
Thank you.
Forum: Themes and Templates
In reply to: Wynton Magazine custom fields issueI figured it out – I was using the same category as the lead story and the featured articles showed up after they were no longer lead stories.
Thanks.
Forum: Themes and Templates
In reply to: Wynton Magazine custom fields issueI am using the custom fields for the lead article and the section articles at the bottom of the page – and they are working fine, so I am comfident that I am using the custom fields correctly – both the key and the value. The problem is that the featured articles on the right are not working – in other words, when I use the designated custom field for those places, no image shows up.
Forum: Themes and Templates
In reply to: Wynton Magazine custom fields issuethis is the script from the index.php file that shows the featured articles on the main page:
// “Featured articles” module begins
query_posts(‘showposts=6&cat=3933&offset=1’); ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”feature”> ” 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(“featured-article-image”); echo $values[1]; ?>” alt=”image” /> ” rel=”bookmark” class=”title”>
<?phpHow do I get the images to display?
Forum: Themes and Templates
In reply to: Wynton Magazine custom fields issuesorry – my site is http://thefiresidepost.com
Forum: Requests and Feedback
In reply to: overwhelmedWow, thanks.
I found WP youtube for embedding video, so i will go through and replace my videos using that as I learn some more about fixing the other stuff.
Forum: Requests and Feedback
In reply to: overwhelmedI have a webmaster tools account already and have signed up for analytics, but I will give the sitemap a try. Thanks Jeremy.
Forum: Requests and Feedback
In reply to: overwhelmedThanks so much for responding and for your advice.
I will be checking out the xhtml link and learning my way around.
It may just be taking some time for Google to re-index the site, since our switch only happened about two months ago. The new posts are getting indexed to some degree.
Well, I better get to work. I have a lot of code to fix.