171 reputation
7
bio website versvs.net
location
age
visits member for 3 years, 2 months
seen Mar 19 at 15:01

co-Founder at Cartograf


Feb
18
accepted How to alter the query using pre_get_posts hook and is_post_type_archive
Feb
18
comment How to alter the query using pre_get_posts hook and is_post_type_archive
You nailed it. I was trying to filter terms in a custom taxonomy. Your code works like a charm. I wonder: Is this the only way to achieve this on custom taxonomies?
Feb
18
comment How to alter the query using pre_get_posts hook and is_post_type_archive
removing the return $query; does not have an effect, but neither had the addition, to begin with. (I already tried with and without it.). Also, I completed the if statement, but I cant notice any changes. Thanks @Reigel
Feb
18
asked How to alter the query using pre_get_posts hook and is_post_type_archive
Sep
24
awarded  Autobiographer
Oct
11
comment How to show a feed that requires user/pass within a sidebar widget?
I'm sorry if I didnt make my point clear enought :(
Oct
11
comment How to show a feed that requires user/pass within a sidebar widget?
Thanks @JosephErickson. The point is that I don't want to password-protect my feeds, I want to show a password-protected feed into the sidebar widget, but the widget lacks that feature and I can't configure the auth parameters :)
Oct
9
asked How to show a feed that requires user/pass within a sidebar widget?
Oct
2
comment Why wp_nav_menu() doesnt show the proper meny when invoked two consecutive times?
thanks, I was adding an answer, i found the problem :) thanks @chip
Oct
2
accepted Why wp_nav_menu() doesnt show the proper meny when invoked two consecutive times?
Oct
2
answered Why wp_nav_menu() doesnt show the proper meny when invoked two consecutive times?
Oct
2
comment Can I use `.phtml` instead of `.php`
I'd even go further, @EugeneManuilov I dont think it is a good practice within WordPress development. Because you start doing it for private use code and soon enough you will be coding for a customer or contributing to a project with these acquired routine, that doesn't fit the community best practices for WP :)
Oct
2
asked Why wp_nav_menu() doesnt show the proper meny when invoked two consecutive times?
Oct
1
comment How to publish new posts/pages in root instead of subfolder, but keep old structure in place?
Ok @JanP. if you cannot use a 301 redirect then I think I have no other ideas :(
Oct
1
answered How to publish new posts/pages in root instead of subfolder, but keep old structure in place?
Oct
1
accepted How to rearrange a pool of posts joined using two queries?
Oct
1
comment How to rearrange a pool of posts joined using two queries?
Thanks Stephen, as you point out, the issue with the filter was that get_posts defaults suppress_filters to true :) Thanks for the explanation, looking forward to have 3.7 on production sites ;)
Oct
1
comment How to rearrange a pool of posts joined using two queries?
I think i found a pointer... i have to prevent get_posts from suppress the filter viper007bond.com/2010/02/02/…
Oct
1
comment How to rearrange a pool of posts joined using two queries?
but @StephenHarris, I'm preparing my query for get_posts setting query parameters as an associative array. How do I apply the WHERE filter in this case?
Oct
1
comment Display Admin Bar when Logged
Look into your functions.php file and see if you are positioning the page above the admin bar or something like that.