aylia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Links image AND textHas anyone found a solution to this? I have been searching and searching, but it seems like the links area is a bit neglected.
Forum: Fixing WordPress
In reply to: Custom category pagesthanks I will give that a go 🙂
also, to Moshu, I have looked at that page – its the sticky text section which made me wonder whether I could use the if ( $paged < 2 ) function. I just wasn’t sure whether that would work!
Forum: Fixing WordPress
In reply to: do child categories inherit template of parent category?I’ve tried it and found the answer is no, and have to use:
if(is_category(2) || in_category(2): etc endlessly.If you find a better way to do things then I too would like to know it!
Forum: Fixing WordPress
In reply to: Split categorieswhich is? how did you do it?
Forum: Themes and Templates
In reply to: playing with ‘the loop’Try without the $posts=
I use get_posts and don’t have that anywhere…EDIT: hang on thats not true at all! I will have a look at my index for you..
try putting the get_posts section before your
<?php else : ?>and<?php endif; ?>I’ve put my code up at http://pastebin.co.uk/619
not sure it will help as it is a bit of a mess but it definitly works!Forum: Plugins
In reply to: Search by category?Anybody? I’ve been looking for how to set up an advanced search too..
Forum: Plugins
In reply to: WP-email (GaMerZ)Have you tried looking on the gamerz support forum for answers? You might find someone om there that has had the same problem
Forum: Your WordPress
In reply to: another useless site filled with content no one cares aboutapart from agreeing with above that the design is just kubrick.. have you considered spell-checking your posts? It hurts just to look at!
Forum: Fixing WordPress
In reply to: link to latest category postI think that solution is very overcomplicated – as someone newish to WP myself I didn’t understand how it was constructed and therefore how it could be modified to fit my own needs.
But If you’re going for other solutions, these plug-ins have also been suggested to me:
and a WP Category Posts Plugin
Forum: Fixing WordPress
In reply to: link to latest category postThe way I have done this is to use get_posts, as here:
(used on my site http://www.nouse.co.uk in case you want an example.)
you could create a new home.php for this, but personally I just changed the index file.
Hope this helps.
Emma
Forum: Fixing WordPress
In reply to: Could someone look at this code? Disappearing posts!all solved! just in case anyone wonders…had to add:
<?php rewind_posts(); ?>
after each set.
Forum: Fixing WordPress
In reply to: Could someone look at this code? Disappearing posts!sorry I didn’t realise what a mess it would make until I posted…
here it is:
any help really appreciated.
Forum: Plugins
In reply to: Display posts from several categories (get_posts?) – how?this looks like what I’m looking for too..
can you use it more than once on a page?
Forum: Plugins
In reply to: Related postsForum: Fixing WordPress
In reply to: help with query_posts and the_loopDoes anyone else have any suggestions for this?
In the link suggested the solution means all categories are linked to on the front page – I only want 5 out of about 36!
The codex isn’t particularly helpful to someone not familiar to php. I’ve found a way to link to one category, but not 5, and not 5 that are all laid out in a different way..
I used to achieve this using
<?php $posts =get_posts(‘order=ASC&category=2&orderby=date&offset=0&numberposts=1’);
foreach ($posts as $post) : start_wp(); ?>
< content>
<?php endforeach; ?>and then laying out each category individually, but this causes errors now I’ve upgraded.
any ideas gratefully received