422 reputation
26
bio website mattvanandel.com
location Irvine, CA
age 32
visits member for 2 years, 6 months
seen Sep 25 at 3:44

Matt is the Director of Interactive Media at Contexture International, a media agency in Irvine, Ca. Programming languages include (in no particular order) PHP, Java, Objective C, C++, C#, and Javascript.

Matt is a huge proponent of WordPress and regularly contributes to the WordPress community. He is the author of several popular themes and plugins, and has made substantial contributions to the official WordPress Codex.


Aug
16
awarded  Yearling
Feb
24
answered Page template not displaying
Feb
18
comment Adding 3rd level in custom walker
Where is youre end_lvl() method? Encapsulating opening and closing tags for individual items in start_el() is perfectly fine, but if you aren't providing an end_lvl() method to close your tags at the branch level, then the resulting <ul> elements won't be properly closed out.
Feb
18
answered Default archive URL wordpress
Oct
3
answered Splitting up a submenu into columns, or putting existing menus in another menu as submenu item
Oct
3
answered Cannot Save MetaBox Data in Custom Post Type
May
30
answered How does offset works on pagination? (get_results)
Apr
18
awarded  Yearling
Mar
7
comment Add Custom Fields After Page Title
Check the link I provided for get_post_meta(), which explains it in detail. You can use the function anywhere, and it just needs a post id, the name of your custom field, and whether you want a value or array (true returns a single value, false returns an array). get_the_ID() can be used in just about any page template file (home.php, index.php, single.php, page.php, etc).
Mar
7
answered Add Unique Classes to Next and Previous in WP_LINK_PAGES
Mar
7
answered Add Custom Fields After Page Title
Mar
7
comment Why do I get a WAMP homepage when clicking on specific website's URL on LocalHost?
Visiting the page will not, however, create or modify an .htaccess file.
Mar
3
comment Passing parameters to a custom page template using clean urls
Totally possible, but you have to be mindful of your variable slugs to avoid conflicts. Take a look at this article on the WordPress codex... this is probably the hook you would want to use and it shows a sample rewrite array... codex.wordpress.org/Plugin_API/Filter_Reference/…
Mar
3
comment How to redirect just one or two blog posts correctly?
Without seeing the whole thing, I'd recommend that you place it at the very top of your .htaccess - after all, since you are redirecting to another page right off the bat, there's no reason to let Apache do anything else.
Mar
3
answered Why do I get a WAMP homepage when clicking on specific website's URL on LocalHost?
Mar
3
comment How to redirect just one or two blog posts correctly?
Example: RewriteRule banana-is-great http://www.example.com/bananas-are-great/ [R=301,L]
Mar
3
revised How to redirect just one or two blog posts correctly?
added 496 characters in body
Mar
3
comment How to redirect just one or two blog posts correctly?
If WordPress's rewrites are working, then you have Rewrites installed. Try it as-is first, and be sure to put this ABOVE any of WordPress's rewrite rules. The "L" in the rule means "Last" and when Apache hits that rule, it stops reading .htaccess. WordPress has L rules itself. I've added the extra detail to the answer.
Mar
3
answered How to redirect just one or two blog posts correctly?
Mar
3
comment How to redirect just one or two blog posts correctly?
Gotcha! One the great weaknesses of WordPress... that it can't automatically update links. This is an easy .htaccess fix though. Answer coming...