Mark Jansen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Ohw right, that was still in.
This all works absolutely fantastic now. Thanks for all the help you guys and Keesie in particular.
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Works like a charm except for one thing; it shows Portfolio behind the page with the cumstom field, but also at the end of the list.
I can’t really find where it adds it again.
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Hey,
awsome the help I’m getting here. Thanks a lot.
I get everything working just fine, except the walker part. I don’t really understand how that works (yet).
The current code I have to wp_list_pages() is
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
Quite simple, but I’m not sure how to use the walker code in there.
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.I actually ment if I can set it to like 3rd or so. I’d like it as 3rd item in the menu.
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Ok thanks. I can’t get around it to test it right now, but I will tomorrow. Is there also a way to determine what position ‘Portfolio’ should have in the menu? Can I influence that?
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.You are the best, thank you. I will test this asap and let you know if it has worked!
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Ok, and how can I make archive-portfolio show up in the wp_list_pages() list then, so it’ll be in my menu?
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.@jonas: nope, this problem only occurs when I use the portfolio CPT in combination with the portfolio page.
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Hey Keesie,
thanks for the answers. That makes absolutely a lot of sense, but is there a workaround for it?
Is there a way to make a nice portfolio overview, with all the CPT’s (with pagination), and have it show up in the wp_list_pages?
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Hello Jonas,
once again, thanks.
My template contains more code for the header and the footer.
I’ve tried to name it page-portfolio.php, but alass that still doesn’t work.
If I navigate to the portfolio page, it gives current-page-item to the page I selected as blogpage where it of course should give that status to Portfolio. It’s apparently still using index.php.
Forum: Fixing WordPress
In reply to: [bug?] Custom Post Type name conflict.Edit: Thanks for the answer of course.
What name should my template have then?
I know the hierarchy, but I’m not sure which way I should go then.
The template page for displaying CPT’s should be singular page -> static page -> $custom.php right? Or am I following the wrong track?
Forum: Plugins
In reply to: [Plugin: WP Coda Slider] – Shorthand and template code issuesResolved:
Aparently the CSS file contained a display: none on the arrows (don’t know why), but it should work fine now.