freesouldesign
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: blank white screen – no site & login siteYou need ftp access, then – rename the plugins directory, remove any extra themes(leave the defaults only).
Then start troubleshooting activating one by one/plugins and the theme at the end/
Forum: Plugins
In reply to: quick slider plugin?Hi,
2 Days ago I just implemented a slider into my theme framework project.
I wrote an article on how to do it, hope it helps
Forum: Fixing WordPress
In reply to: WordPress 2.9.2 Upgrade stallTry increasing your memory in root/wp-settings.php
On line 13 you should have
define('WP_MEMORY_LIMIT', '32M');Change it to 64MB
Forum: Fixing WordPress
In reply to: Tracking user page viewsTry StatPress
Forum: Plugins
In reply to: Content slider with a differenceYep, this is doable. I have it on my theme project but it’s vertical(thumbnail above the titles). You can easily style it to be horizontal. The best part of it that it’s pure CSS!
Forum: Fixing WordPress
In reply to: How to make the “read more” after posts a clickable image?This will do it:
<a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_directory'); ?>/images/read-more.gif" alt="read-more" border="0" /></a>Insert after the_excerpt();
You can assign a class and float it to the right too..Forum: Themes and Templates
In reply to: no idea how to theme this layouteguru, yep you need to add thumbnail support to your theme, In the link alchymyth gave you it says it all, look for the part where it says to add code to functions.php
Forum: Themes and Templates
In reply to: Give the first Post in every Page a different style…Hmmm actually it worked fine only in case I have a single query with the that approach. In my case I have multiple columns(queries) and I tested it on one of them first and it worked, but now after putting it to the rest columns it’s not working.
So it’s worth mentioning that this method isn’t suitable for assigning a class to the first post of multiple queries on a single page. – In case like that – go with the two line approach I pasted above.
Yep I agree “the codex” is a great source for those who “speak” php, but for learners it’s like a Chinese 🙂
I’m a designer and just making my first steps into php (I’m good at xhtml and CSS though) and believe me or not I often need help with tiny things like simple syntax…
Forum: Themes and Templates
In reply to: Give the first Post in every Page a different style…Hey alchymyth,
Thanks for this, do you mind if I use this code in my Open Source Theme Framework project?
I’ve been using slightly different approach so far for a featured category with thumbnail swapping module.
<?php $postclass = ($post == $posts[0]) ? 'first-post-ts' : ''; ?> <div class="feat-post-ts <?php echo $postclass ?>">Mine works just fine but I like yours better.
Forum: Fixing WordPress
In reply to: Lightbox 2 doesn’t always workLightbox works but you have to wait for the page to completely load.
It has been the same even if used outside of WP projects.
Forum: Themes and Templates
In reply to: no idea how to theme this layoutYou can add three queries(one per category) and use the following CSS
float:left; width:33%;to the wrapper divs.You can use the code from this article.
Forum: Themes and Templates
In reply to: Need help with CSS style please. Must be simple… I hopeFirst thing, assign a .clearfix class to your wrapper div (so it doesn’t break your sidebar layout).
Then to optimize your CSS and loading times you don’t need to apply the same CSS rules to different ID’s but instead assign a class to these elements. So instead of
<a id="twitterid"....you do<a class="social-bookmark">to all your bookmark links.Then replace your CSS for these items with the following code. It should work fine on all browsers. If you need to position your icons additionaly you can add an ID to the wrapper div too and assign some margins to it (
margin:0 auto;to center it).#sidebar .social-bookmark { height:50px; width:50px; padding:5px; float:left; text-decoration:none; display:block; } /* === CLEARFIX === */ .clearfix:after { visibility: hidden; display:block; font-size:0; content:" "; clear:both; height:0; } * html .clearfix { zoom: 1; } /* IE6 */ *:first-child+html .clearfix { zoom: 1; } /* IE7 */And as the guy before me noted. You must put the twitter icon as an image and not as a CSS background. This is the right way to do it.
I know you don’t say the truth when you mentioned that you prefer the CSS Background method because if this was the case you should have applied it to the rest of the icons.
Enjoy, and please trust the persons trying to help you.
Forum: Fixing WordPress
In reply to: Query for 1st and 2nd newest postsYou can do this with a single query. You only need to style the post container divs with 49% width and add a float to the left.
Code
<div class="featured-loop clear"> <?php $recent = new WP_Query("cat=1&showposts=2"); while($recent->have_posts()) : $recent->the_post();?> <div class="feat-post clear"> <div class="feat-thumb"><?php if ( has_post_thumbnail() ) the_post_thumbnail(); else { ?><a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_directory'); ?>/images/default-thumbs/thumb.jpg" alt="<?php the_title(); ?>" /></a> <?php } ?></div> <div class="feat-post-content"> <h2 class="feat-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <span class="feat-post-meta"> <span class="meta-date"><?php the_time('d, M'); ?>.</span> <span class="meta-comments"><?php comments_number('', '1', '%'); ?></span> </span> <?php the_excerpt(); ?> <div class="read-more"><a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_directory'); ?>/images/read-more.gif" alt="read-more" border="0" /></a></div> </div> </div> <?php endwhile; ?> </div>
CSS:/* === FEAT CATEGORY BOX === */ .featured-loop { width:100%; } .feat-post { padding:10px; width:49%; float:left; } .feat-thumb img { margin:0 8px -1px 0; display:block; float:left; } .feat-post-title a { color:#000; display:block; font-size:1.3em; text-decoration:none; } .feat-post-meta { color:#777; font-size:0.9em; } .read-more { float:right; margin-top:4px; } .read-more img { margin:0!important; padding:0!important; border:0!important; } /* === CLEAR === */ .clear:after { visibility: hidden; display:block; font-size:0; content:" "; clear:both; height:0; } * html .clear { zoom: 1; } /* IE6 */ *:first-child+html .clear { zoom: 1; } /* IE7 */This is a slightly modified version of the code given in this article.
I takes advantage of the new in WP 2.9 Thumbnail system as well as there is added a default thumbnail feature in cases where you don’t add one.(You’ll have to make sure whether your theme supports thumbnails feature, and if not, add it.)
Forum: Themes and Templates
In reply to: seeking a theme with 3 columns JUST category linksWhat are your columns going to show if not posts?
Do you mean not to show post content but post titles only?
Forum: Themes and Templates
In reply to: Text rollover for blog content imagesWhen a mouse is positioned over an object – this is called a hover over the object.
Do you want to display the post content when you hover over the post image or you want just to display the image description?