Forum Replies Created

Viewing 15 replies - 391 through 405 (of 1,218 total)
  • It’s normally inserted with the rest of the meta data directly below the post title. (along with the date, category etc)

    Example: Posted by Mr.X on Jan 07, 2009 in Some Category

    Do we get a prize for being the first to crack the 403 and find the “a”?

    <?php the_author(); ?>

    More reading.

    No I never hung around that place like I do here.

    Yeah I know, it’s a re-write.

    I’ve used every blog and CMS software there is and I must say you cannot beat WordPress for ease of use and customization. The only thing that even came close to WordPress for me was, oddly enough, it’s ancestor b2.

    I’m not going to email you with the answer so hopefully you come back here to read this. Those ad images are located at,

    wp-content/themes/pink-orchid/ads/125-ad.jpg

    Edit away.

    I don’t know about different themes but you can style individual categories. I’m assuming “Products” is a category. If so, using your current style sheet as a guide, create a new style sheet and upload it to your theme’s folder. For sake of simplicity let’s call it products.css

    Next, look in header.php for the call to your theme’s style sheet. It will look something like …

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

    We need to wrap a few lines of code around it as such …

    <?php if ( is_category('X') ) { ?>
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/products.css" type="text/css" media="screen" />
    <?php } else { ?>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <?php } ?>

    … where X is the numerical ID of the particular category you’re styling. What this says is if we are on category page X then use products.css else use the regular style.css

    Note: this will only style the category page that contain the list of posts for that particular category. If you click on a title you will be taken to the individual post page where the normal styling will be applied simply because we are now using a different page template. If you want to know how to style the individual posts from category X on single.php let me know.

    Have a look at DagonDesign’s Sitemap Generator plugin.

    If you want I uploaded a fresh copy of that theme’s style sheet to my site. I changed the link post link colours and you can find them at the very bottom of the style sheet under /* EXTRA STYLES */

    You can use that as a starting point. The style sheet is here.

    Edit: Scratch the above. My permissions are too tight. You can get the style sheet from this pastebin I just uploaded it to.

    We were all new to the game at one time.

    Again, if you re-read my post what you have up above is incorrect. You are giving links 2 different styles –> a: and a:link

    The default style sheet for that them is,

    a{
    	text-decoration: none;
    	color: #595a5b;
    }
    
    a:hover{
    	text-decoration: underline;
    	color: #ffffff;
    }

    Scott, re-read my post right above your last one. 🙂

    Edit: I’m playing with your theme as we speak on a local install. Here are 2 screen shots – the first one with a different link colour for posts and the second one with a different hover colour for posts.

    First | Second

    These are the declarations I used for the above screen shots…

    .entry a{color:#2255AA;text-decoration:none;}
    .entry a:hover{color:#CC0000;text-decoration:none;}

    wolfe655,

    I was just checking on your progress. You have a couple of boo-boos in your style sheet.

    a{
    	text-decoration: none;
    	color: #595a5b;
    }
    
    a:link{
    	text-decoration: underline;
    	color: #000033;
    }

    You are giving links 2 different declarations.

    Further down the style sheet I see this,

    .entry a{color: 0033ff; text-decoration: 0033ff;}
    .entry a:hover{color: ffffff; text-decoration: ffffff;}

    The text-decoration property is not for colours. You can use something like text-decoration: underline; or text-decoration:none; etc

    More reading on what values can be used with that property.

    Forum: Plugins
    In reply to: Authors’ posts counter

    You don’t need a plugin. The template tag wp_list_authors already does this. There are several arguments that can be passed to that function, post counts being one of them.

    More reading.

    If you’re referring to the bit at the top of the style sheet I would leave that alone. All of the other links in your site inherit their properties from that declaration.

Viewing 15 replies - 391 through 405 (of 1,218 total)