Spencer Finnell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Images On Page “Squished”On your homepage, the following CSS is being applied:
.home .size-medium, .home .size-large { height:auto; margin:0 0.5em 0.5em 0; max-width:590px; overflow:hidden; }
So if you don’t want a
max-width
on the images, simply remove that line.Forum: Fixing WordPress
In reply to: Links not opening correctlyYou need to replace your ‘curly quotes’ with just normal quotation marks.
<a href="https://twitter.com/home/?status=<?php echo urlencode(the_title(",", false)) ?>:<?php the_permalink() ?>" target="_blank"><img src="images/twitter.png" width="19" height="19" border="0" alt="" /></a>
Should work.
Forum: Fixing WordPress
In reply to: Links not opening correctlyWhat code did you use to add these links?
Forum: Fixing WordPress
In reply to: Keep parent nav styled as current when it's child is active?Style the
.current_page_ancestor
class on the navigation.Forum: Themes and Templates
In reply to: Stuck in Twenty Ten themeMaybe you are suffering from this problem. Illegal characters can be a problem.
Forum: Themes and Templates
In reply to: Different backgrounds on every categoryYour theme should (hopefully) have
body_class()
applied to it. If it doesn’t, you should add it.Once you have that working, the body tag of each page will have some specific classes applied to it, such as category-x. You can then style these individually in your CSS.
Forum: Themes and Templates
In reply to: get_bloginfo() second parameter, $filter ???It allows you to apply a filter to the ouput data.
if ( 'display' == $filter ) { if ( $url ) $output = apply_filters('bloginfo_url', $output, $show); else $output = apply_filters('bloginfo', $output, $show); }
If you look at the source you can see the steps it goes through.
get_bloginfo()
passes thefilter
argument as ‘raw’, by default, so if you still want to be able to filterget_bloginfo()
you need to pass ‘display’ as thefilter
argument. When you just callbloginfo()
next to it,bloginfo()
passesfilter
as ‘display’ by default, so it’s not needed.Forum: Fixing WordPress
In reply to: Is such a template possible in wordpress?Yes, something like that can be achieved through custom fields, or add_meta_box.
Forum: Fixing WordPress
In reply to: Categories show only 1 post but not all post?Just remove line 10 temporarily. Make sure you keep a backup of the file.
Forum: Fixing WordPress
In reply to: Categories show only 1 post but not all post?If you comment out line 10 of that functions.php, does it fix the problem?
Forum: Fixing WordPress
In reply to: Categories show only 1 post but not all post?Okay, instead of replacing functions.php with the one from the default, post your functions.php in the pastebin again, and post it here.
Forum: Fixing WordPress
In reply to: Categories show only 1 post but not all post?Try changing line 16 on archive.php to
query_posts($query_string.'&showposts=24');
Forum: Fixing WordPress
In reply to: Categories show only 1 post but not all post?Look in the theme folder (/wp-content/themes/themename/) and see if you see an archive.php, or a category.php file. If so, open that, and paste the code in an paste bin and paste the URL here.
Forum: Themes and Templates
In reply to: Twenty Ten Theme displaying widgets on the bottmAre you sure it’s in the primary widget area? Twenty Ten has a widgetized sidebar, as well as footer. Make sure there aren’t any widgets in the other areas.
Forum: Fixing WordPress
In reply to: Categories show only 1 post but not all post?Are you using any plugins that might limit the number of posts that display?
Did you create this theme yourself?
Does your theme have a custom Category Template? Or a custom archive template?