1,991 reputation
1844
bio website tomauger.com
location Toronto, Canada
age
visits member for 3 years, 5 months
seen Jul 25 at 20:35

WordPress developer. Always learning. Hoping to contribute.


May
23
answered Why is my database import losing text widget data?
May
20
revised Pasting code into WordPress post - LFs being eaten
added 93 characters in body
May
20
comment Pasting code into WordPress post - LFs being eaten
Tried disabling the plugin and it didn't change anything.
May
20
answered Pasting code into WordPress post - LFs being eaten
May
20
revised Pasting code into WordPress post - LFs being eaten
stipulated I was using the visual editor
May
20
comment Pasting code into WordPress post - LFs being eaten
Visual editor - I've always pasted into the Visual editor. I'll update my question to reflect this.
May
20
asked Pasting code into WordPress post - LFs being eaten
May
20
answered Display navigation menu item conditionally based on user capabilities
May
20
comment Display navigation menu item conditionally based on user capabilities
Thanks for the clarification. Absolutely a custom taxonomy or custom field would be the proper way to go. Another option that I've come up with is based on the template. I don't like my solution as much because you shouldn't couple a template to built-in functionality like that, but there's a logical connection between the template (which ought to check whether the user has access to see the content) and the menu. I'm going to post my code in an answer, below, for other users with the same question.
May
17
comment Display navigation menu item conditionally based on user capabilities
So the walker is good for making sure that a menu item that is flagged as "protected" doesn't appear. But how do you create a menu item that is flagged as "protected", or, better yet, as belonging to a specific role or capability? Sounds like we're extending menu items and adding some more user-configurable parameters to the menu item form...?
May
17
comment What is the link to my default “archive” page?
Thanks Chip, that's a good resource.
May
17
comment Display navigation menu item conditionally based on user capabilities
Thanks for this!
May
15
comment What is the link to my default “archive” page?
Okay, sounds like I was dreaming when I thought you could get to some kind of built-in archive page. My question was a bit of a long shot.
May
15
comment What is the link to my default “archive” page?
Yea, that's basically what I said in my OP.
May
15
accepted What is the link to my default “archive” page?
May
15
comment What is the link to my default “archive” page?
Your response doesn't actually address the question - if you try typing www.myblog.com/blog/archive.php you get an error. Also, the Reading settings you describe do nothing more than change the way your home page functions.
May
15
comment Complex widget form UI - examples and best practices
Thanks Rarst. You're probably right about moving the post. The example you show definitely hits the mark for complexity! But its usability is quite low, and does exactly what I was hoping to avoid - there are no logical groupings of sections, no dividers, no headers. In short, it's just a kitchen sink of controls etc. I don't think this represents what I would consider "best practices" at all.
May
13
asked What is the link to my default “archive” page?
May
13
answered How to use relative links on my pages?
May
12
accepted Best practice for including plugin output in a template without using shortcode?