| bio | website | |
|---|---|---|
| location | Utrecht, Netherlands | |
| age | 24 | |
| visits | member for | 1 year, 1 month |
| seen | Jan 9 at 8:24 | |
| stats | profile views | 3 |
|
Nov 27 |
awarded | Student |
|
Nov 27 |
comment |
Get posts with tag all post types Hm. I re-created all tags and now it seems to work.. Still don't know why.. |
|
Nov 27 |
asked | Get posts with tag all post types |
|
Oct 11 |
comment |
Category permalinks not working anymore Okay, I solved it. It wasn't the code above that caused the problem, but my misunderstanding of the permalink structure. What I actually want is a post permalink like this: <baseurl>/news/%postname%, so I added /news/%postname% to the post permalink structure, but that messed up my "./" permalink for the category. Changing the post permalink back to /%category%/%postname%/ worked. Thanks for your input. However, using <baseurl>/news/%postname% for the default post permalink structure while maintaining <baseurl>/%category%/ as the category permalink should be possible, right? |
|
Oct 11 |
asked | Category permalinks not working anymore |
|
Apr 17 |
comment |
Getting label name of extra user fields Oke, so what this does is load the data (label, input and someimes more) wrapped in the html-elements, and then parses that to get the desired strings? I've thought of that, but I was hoping there would be a cleaner/direct way to get the label. Anyway, thanks! I will try it like this! |
|
Apr 17 |
comment |
Getting label name of extra user fields Yes. do_action( 'edit_user_profile', $profileuser ); gives me all the user profile fields (labels, input and help wrapped in html elements, ready for output to the browser), but I just want the label value on it's own. I can get the input value with get_the_author_meta('field_id'), but I have no idea how to get just the label value that goes with that input value.. |
|
Apr 17 |
comment |
Getting label name of extra user fields Yes, I just want the "values" as strings, not wrapped in html labels and inputs... |
|
Apr 17 |
asked | Getting label name of extra user fields |