Right now, if I choose preferred text type:plain I get the font color and line spacing that I want, but no links. If I choose preferred text type:html, the links work but the post font retains the email’s styles and no longer contains empty lines between paragraphs.
Can I have my cake and eat it too?
https://www.ads-software.com/plugins/postie/
]]>is it a special format? not free or not suitable for my posts
please help
thanks
]]>The client wants the 6 most recent articles (Title, date, author, and excerpt (certain number of characters). The issue is, each of the 6 most recent articles will be in different DIV’s and there is no way for me to set it up as a loop in that design.
Has anyone produced any code that will allow me to put the most recent article in one box, the second in another, third, and so on without doing one loop? I would assume it would be possible to print “Most Recent Article 1” here, “Second Most Recent Article” there, etc.
Ideas?
]]>Question 2: how do i change my index.php to show different link styles.
Like some thumbnails with preview, others with traditional blog styles, and some in just “text” link form.
Thanks!
]]>I design my themes starting with the classic template since it’s not inundated with code and CSS I may not use, and then I usually add to it as needed. One problem I am facing however, is that I would like to have 3 posts total on the homepage — each one with different styling/positioning.
Right now I have modified the index file’s post div so that I could target the first post. That has worked, but it does nothing for the other 2 posts (obviously). I could target their specific post IDs but they’d eventually get pushed off the page with each new post added.
In some themes you can target individual posts with stuff like:
body.home #content .p2 {style}
but this isn’t an option in the classic theme.
So my question is, how can I add a function that allows me to style individual posts? I’m fine with doing away with the current addition to the base-code which looks like this:
<?php $firstClass = 'firstpost'; ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post <?php echo $firstClass; ?>"><?php $firstClass = ""; ?>
Thanks so much!
~Deirdre
]]>