Infrasoundkids
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Styling last post on a pageahh cool, thanks for all the help.
Forum: Themes and Templates
In reply to: Styling last post on a pageahh, that did the trick.
I suppose I could just php if less than 10 posts display that. if more then display the first bit of code you sent me.
Forum: Themes and Templates
In reply to: Styling last post on a pagelol, isn’t that the exact same you wrote in your first reply? ??
Still not working.
Forum: Themes and Templates
In reply to: Styling last post on a pageHmm,
I’ve just pasted my full wordpress index.php file with the loop in it, do you want to take a look to make sure I haven’t done anything wrong in there. I did just copy and paste what you wrote.
Forum: Themes and Templates
In reply to: Styling last post on a pageHey man thanks, looks like it should work, however it didn’t. The last post still appears as <article class=”post”>
There are only 3 posts as of yet, but I still need it to be styled differently.
Forum: Themes and Templates
In reply to: Help with changing the font size in just search resultsYep paste it anywhere. But obviously keep to a standard, don’t paste it inbetween another class/id’s styling.
e.g.
if there was
.content {
background: white;
border: 2px solid black;
}You wouldn’t paste it inbetween the background and border line. You’d paste it either above that block or below it. Capiche?
Forum: Themes and Templates
In reply to: Help with changing the font size in just search results<div id=”container”>
<div id=”content” role=”main”><div id=”searchresults”>
<?php if ( have_posts() ) : ?>
<h1 class=”page-title”><?php printf( __( ‘Search Results for: %s’, ‘twentyten’ ), ‘<span>’ . get_search_query() . ‘</span>’ ); ?></h1></div>
then in the style.css write somewhere
#searchresults {
font-size: 11pt
}change the 11pt to whatever you want.
Forum: Fixing WordPress
In reply to: T_CONSTANT_ENCAPSED_STRING ??Seems I got it sorted. I just used this instead.
<li class="box1"><a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_url');?>/images/featuredimages/<?php echo get_post_meta($post->ID, 'FeaturedImage', true); ?>"></a></li>
Forum: Fixing WordPress
In reply to: Parse Error: syntax error, enexpected '=' in /header.phpI’m working off TwentyTen
I’m pretty sure it was to do with the quotations around showposts=3 but I changed them to the correct ‘
However now I face this problem;
Parse error: syntax error, unexpected ':' in /Users/Luke/Sites/Obi Audio/wp-content/themes/custom/slider.php on line 53
This is the slider.php file
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Themes and Templates
In reply to: Stop Posts Cutting Off <!–more–>????Hi, I couldn’t find anything like that in the files. Could it be something to do with this file called functions.php
[Code moderated as per the Forum Rules. Please use a pastebin]
Forum: Themes and Templates
In reply to: Videos not embedding on main pageHi, thanks for that reply it makes sense. Which file would it likely be in?