933 reputation
112
bio website ericholmes.ca
location Toronto, Canada
age 23
visits member for 9 months
seen May 22 at 20:31
stats profile views 27

I'm a WordPress enthusiast from Toronto, Canada. I work at Zeitguys Inc. and produce premium WordPress solutions.

WP on!


Apr
21
comment Secondary Sort (fallback) for WP_Query
Maybe post your query somewhere so we can take a look? It should by all means work..
Mar
13
comment Pagination for custom post types
This resolved ticket is 7 months old, I don't see how it's relevant any longer. People should do ample research before posting a question here, anyways. The answer is clearly explained in those links - they aren't just to Codex pages.
Mar
12
comment How to get current pages menu text?
exactly. in pseudo code it would be if( current_post_id == $menu_item->parent) { // this menu item is the current post/page }. It won't be ID, that is a unique ID for the menu item itself. Look for a match between your current post's ID and try to find it in that WP_Post Object.
Mar
12
comment How to get current pages menu text?
Now once you see what exactly is in a menu_item object, you can see where the post ID matches up.. chances are it will be in the parent property
Mar
12
comment How to get current pages menu text?
I just put in an example menu. The menu name will change depending on the theme you use.
Mar
12
answered How to get current pages menu text?
Mar
12
comment How to get current pages menu text?
If you're using a commercial theme, start off be creating a child theme (off topic, but best-practice and it will save you if there are any updates in the future)
Mar
12
comment How to get current pages menu text?
Where are you wanting to output that menu text? Within the page template? Within the Menu Walker? More details please :)
Mar
12
comment using shortcodes in theme content
As posted below, your theme must have deactivated shortcodes. So is it working now? If so, please mark this solved. :) Happy WPing!
Mar
8
comment using shortcodes in theme content
Added what the shortcode would look like. Please ensure that you do have the plugin set up properly, and that you can get the shortcode to work within TinyMCE before you try within the template .php files. Does it work when in TinyMCE?
Mar
8
revised using shortcodes in theme content
added 126 characters in body
Mar
8
comment using shortcodes in theme content
Are you using the shortcode within page.php? You need to give some more information here. Is it within the page content in TinyMCE Editor?
Mar
6
answered using shortcodes in theme content
Mar
6
comment using shortcodes in theme content
Can you point us to an example post that you are trying to put it in?
Mar
6
comment using shortcodes in theme content
By opening and closing shortcodes, do you mean [shortcode]something[/shortcode] ?
Mar
1
comment Add theme support custom header will not hide text?
That's great. If it's a "from-sratch" child theme, then you can just dig into your header.php and work with that :).
Mar
1
answered Add theme support custom header will not hide text?
Mar
1
answered Print owned created widget
Jan
31
answered How to make a image-size selected by default in Media upload - WP v3.5
Jan
4
answered Remove quick edit for custom post type