Milo

San Francisco

metaflora.net

I like bicycles and cats.

http://metaflora.net/

39m
comment Custom Post type and Custom taxonomy with URL rewrite worked but template did not
if you're receiving 404s, then the code you linked is not working, it has nothing to do with templates. have you flushed rewrite rules?
3h
comment How to refresh a cached page after a cookie has been set by a user?
unfortunately 3rd plugin support is off-topic. search around the web for W3TC fragment caching.
3h
answered Global Variable vs Local Variable
4h
answered How do I make wp_localize_script variables available for child theme?
5h
answered How do I place a function in a standalone page?
6h
comment Custom Taxonomy breaking pages permalinks
never flush rules on init! rebuilding rules is an expensive operation, they should only be flushed when they change.
6h
comment How do I make wp_localize_script variables available for child theme?
I've just tested enqueueing, localizing, dequeueing, and re-enqueueing with the same handle and it worked. Add all of the relevant code from both the parent and child themes so we can see what it looks like.
7h
comment How do I make wp_localize_script variables available for child theme?
you can manipulate the order that your enqueue function runs by changing the add_action priority. have you tested what happens if you dequeue the original and enqueue your own with the same handle?
9h
comment Why use %d in php when in function
read the documentation
9h
comment CSS acting differently in and out of Wordpress
unanswerable without seeing both in context.
10h
comment How to get the real address from a url (permalink)
you probably want something like get_queried_object then.
11h
comment Loading different template on different url of same page
Show us the code you used to add the rewrite rule.
12h
comment How to get the real address from a url (permalink)
It would be helpful to explain what exactly you're trying to do rather than ask about what you think the solution to your problem is.
23h
comment Pin a post to the top of a page, other than the home page
Do you mean a sticky post?
1d
revised Get The Post Type A Taxonomy Is Attached To
added 469 characters in body
1d
answered Best action to call add_rewrite_rule
1d
answered Get The Post Type A Taxonomy Is Attached To
1d
comment Why load JS through the CMS framework?
@McJimbo can you cite some examples of these incompatibilities "all over the place" that are related to the enqueue system? In 6 years of developing with WordPress, the only issues I encounter stem from not using the API, or using it incorrectly. What do you suggest would be a better system for managing dependencies and load order between core, theme, and plugin scripts? of course, you are entirely free to not use the API, but I highly doubt you will simplify any aspect of your development in doing so.
1d
comment Using WP_Query To Get Posts Randomly From today
documentation for after says "accepts strtotime()-compatible string", which I believe can parse strings like "today", "tomorrow" "week from thursday", etc..
2d
comment Using WP_Query To Get Posts Randomly From today
if you inspect the output of var_dump($featured) after you run the query, you'll get a better idea of what's going wrong.
1 2 3 4 5