172 reputation
4
bio website
location
age
visits member for 2 years, 1 month
seen Jan 20 at 22:17

Jan
20
comment Factors for NON-cached performance?
wpengine.com/2014/11/19/hhvm-project-mercury
Jan
13
comment Query Posts with meta_query key in array
You would need to get all of the posts, then loop through the 'repeated_intervals' metadata to unserialize it and do your comparison on each date to make a list of posts that match your desired less than or equal to comparison.
Jan
13
comment Custom Post Type Not Displaying Correctly
Try to go into the admin, Settings > Permalinks and Save Changes ( which flushes the rewrite rules ). WP doesn't know how to handle the new post types url / slug yet.
Jan
13
comment Query Posts with meta_query key in array
If the 'repeated_intervals' metadata is stored as a serialized array, you won't be able to do a meta_query - you are trying to compare one date with an array of dates ( if I understand this question correctly ).
Jan
13
comment Custom Post Type Not Displaying Correctly
Are you flushing the rewrite rules after registering the post type - flush_rewrite_rules() ??
Jan
13
comment How to add active state to the navigation links?
Missing much code, such incomplete, wow - please edit the question so we can help. Cheers.
Jan
5
comment Search posts missing a particular custom field
Ah, Milo beats me by 35 seconds!
Dec
15
comment Custom template for different post types
For non-programming solutions to creating CPTs, check out the Pods framework: pods.io/docs/learn/what-is-pods
Dec
15
comment Page with children of different post types
core.trac.wordpress.org/ticket/18962 This is to prevent 'structure_parent/cpt' from a custom post type from clashing with the hierarchical page 'structure_parent/cpt'. However, what you are seeking to do seems like a poor information architecture - mixing custom post types with pages under the same parent. What is the point of the custom post type? Why not just use pages w/ meta boxes if you need specific content?
Dec
9
comment Trying to Exclude Sticky Posts From date_query
Sure, @PieterGoosen - is that sufficient to explain OP's issue?
Dec
9
comment Handling complex multi-level architecture / menu for large site
A section is made up of hierarchically structured pages, custom links, and random other posts ( from various post types ). Not a great IA structure, but a legacy one we are working on fixing - slowly. Again, the actual form makes no difference - we can put / structure / style this in any way with native functions, queries, and css. What is still "wishy washy" exactly?
Dec
9
comment Handling complex multi-level architecture / menu for large site
@TomJNowell - this is a two year old post, but I'll be glad to elaborate as the "problem" still exists. The issue, as stated in the question, is how to handle complex site architecture and relationships in Wordpress. The context of where the menu resides is besides the point. I was hoping for a definitive answer of how to cluster different post objects in WP into sections and menus, with only a slight reliance on hierarchy within a post type. The best solution might be to use Posts 2 Posts - manually creating relationships between "posts" and turning those relationships into "menus".
Dec
2
comment Unable to create custom table , register_activation_hook from class
Try the steps here : wordpress.org/support/topic/…
Dec
1
comment How to remove_menu_page added by a plugin that appears to have no referenceable slug
Did you try using 'tf_slider_list' as the arg for remove_menu_page()? To clarify, you need to examine the 'add_menu' function in the plugin to get the slug, but I believe it should be 'tf_slider_list'.
Nov
11
comment Modifying the default search widget
Of course - you can write the hook function in a plugin.
Nov
11
comment Modifying an uploaded image with 'wp_get_image_editor' and 'wp_handle_upload_prefilter'
If you really need to get rid of the larger image, take a look at function bulk_resize_handle_upload in plugins.svn.wordpress.org/bulk-resize-media/trunk/…
Dec
27
comment How does admin-ajax.php work?
Or if you'd rather do it by IP : betterwp.net/wordpress-tips/protect-wordpress-wp-admin-folder
Dec
27
comment Handling complex multi-level architecture / menu for large site
markcbain - if using the WP 3+ menus, how would you associate a particular menu with a particular parent?
Dec
27
comment Handling complex multi-level architecture / menu for large site
How would you accomplish this? 1-3? Or something I haven't thought of?