cgoertz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Two-tiered navigation menu (for wp_nav_menu)I solver this with Walker_Nav_Menu.
This is what I put in functions.php
And this is what i put in the header
And some CSS
Forum: Fixing WordPress
In reply to: Help display child pages in columnsThanks a lot Alchymyth this works great!
You are right about it only working one level down. And that it looks a bit strange if you only list one item.
If I find a solution for this I’ll post it here.
Forum: Fixing WordPress
In reply to: Help display child pages in columnsThank you for your reply.
However I’m unable to get this code working. Been trying out different ways to combine the code but nothing works.
Alchymyth maybe you could explain a bit more what I need to do and what im missing.
Thank you for your help!
Forum: Fixing WordPress
In reply to: Help display child pages in columnsThank’s for the reply, but still no dice.
THIS is the code I got so far.
Forum: Fixing WordPress
In reply to: Help display child pages in columnsThank you alchymyth for the link.
I tried THIS now but with now success.
I guess i dont need to mention that my PHP skills aren’t that great.Let me know if im completely wrong.
Forum: Fixing WordPress
In reply to: Help display child pages in columnsThe child page links are already being generated inside a <div> tag. What else do you want?
Maybe I wasn’t clear enough. I would like to create columns with the help of PHP so that I can control the number of columns and the width.
display: inline; can not do this and I don’t want to use CSS Multi-column since it only works in new browser.
Hope this clarifies things.
Forum: Plugins
In reply to: Different Post per page, help needed!I think this is the string of code that controls the amount of posts on my index page.
<?php if (is_paged()) $is_paged = true; ?> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("post_type=post&paged=$paged"); ?> <?php if (have_posts()) : $count = 0; $boxcount = 0;?> <?php while (have_posts()) : the_post(); $count++; ?> <?php if ($count == 1 && get_option('woo_home_featured') == "true" && !$is_paged) : ?>
Any help is welcome!
What i want is to have 13 posts on the “index” page and 18 posts on “Older entries” page (/page/2/).
Should i put this code here then?
Forum: Plugins
In reply to: Different Post per page, help needed!Thank you for your reply.
My knowledge of php is however close to nonexistent. I cant see which code to combine to get the outcome i what.
Would be awesome if someone could put it in laymen’s terms.