386 reputation
16
bio website mattvanandel.com
location Irvine, CA
age 31
visits member for 1 year, 1 month
seen Apr 10 at 22:05
stats profile views 12

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.


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...
Mar
3
comment How to redirect just one or two blog posts correctly?
You can change the permalink (but NOT the prefixes/structure) for any individual post or page right from the edit screen. First, edit a post... directly under the post title you will see the "Permalink:" preview text. Right next to that is an "Edit" button. Click on edit, and change that specific post's permalink to whatever you want.
Mar
3
comment Why do I get a WAMP homepage when clicking on specific website's URL on LocalHost?
Open wp-config.php (in your WordPress installs root directory). You can add the following to wp-config.php force it to use your localhost URL instead of the one saved to the db: define('WP_HOME','http://localhost'); define('WP_SITEURL','http://gsff.dev');
Mar
3
awarded  Commentator
Mar
3
comment Hide certain widgets from specific user roles in admin
Are you trying to do this with custom widgets, or existing widgets?
Mar
3
answered Remove the_content From Loop
Mar
3
awarded  Autobiographer
Mar
2
answered Wordpress options text format