294 reputation
212
bio website
location
age
visits member for 1 year, 5 months
seen Apr 6 at 9:38

Apr
5
comment Copy a user from one WordPress site to another
I agree with @TomJNowell. The only problem will be with password. But still you should avoid such method for real user. I don't want to be added to a new site without me knowing. But if you want to do this to add your clients( I mean the owners of the website ), I don't see any problem. If the salt is different, you still have to reset password though.
Apr
4
comment Copy a user from one WordPress site to another
@vancoder I don't think that's true. I don't see why won't that work. All the things related to user creation is in those two tables. I successfully copied one user this way.
Feb
23
comment How to tell if the user is an admin?
FROM codex.wordpress.org/Function_Reference/current_user_can Do not pass a role name to current_user_can(), as this is not guaranteed to work correctly (see #22624).
Feb
14
accepted Filter to change the content of 404 page
Feb
13
comment custom rearranged menu with excerpt for selected children in sidebar.php
Do they share any kind of information between them? Why Level 1 title a Genre Name, Whereas Level 2 is Author name? Why are you organizing your page this way? What will happen if a page doesn't have Level 2 and Level 3 sub-page? It will be better if you can explain what you are trying to achieve with this.
Feb
13
comment custom rearranged menu with excerpt for selected children in sidebar.php
Your question is confusing. Is Level 2 a child page of Level 1 or do they have any other kind of relation between them?
Feb
13
revised How to show year/month archive including months with no posts
added 15 characters in body
Feb
13
answered How to show year/month archive including months with no posts
Feb
9
answered Filter to change the content of 404 page
Jan
31
awarded  Quorum
Jan
23
awarded  Critic
Jan
23
awarded  Constituent
Jan
23
awarded  Informed
Jan
19
comment Contact Form loaded with Ajax
Firstly, You should add die()/exit() at the end of ajax_callback. That way 0 won't be returned. I don't see any problem with this code. But I would sure check by echoing some data like "hello world" first. If that works maybe your database query aren't returning anything.
Jan
18
accepted Wordpress comment for virtual page
Jan
18
comment How can I output completely custom content with plugin while still having header, footer, sidebar etc
@Kramer In template_redirect you should only load a template or other filter like the_content to generate the page. At least that way, user can see header and some other content while they wait for main page content.
Jan
18
comment Wordpress comment for virtual page
@Rarst Okay, then I guess I have to do it the ugly way this time. But if I stumble into a similar situation in future, how can I do it with custom post type? Do I create a post with custom post type each time a product is added? If that's the case, can't I migrate all of the current product to a CPT and product_category to Custom Taxonomy?
Jan
18
comment Wordpress comment for virtual page
@Rarst The data is already in place and organized that way. But how those pages will be generated automatically from those database values. Does custom post type and taxonomy provide such option. I haven't seen anything like that.
Jan
18
comment Wordpress comment for virtual page
Please see my edit. Sorry for the long edit. But I hope it will help you to give me a better direction.
Jan
18
revised Wordpress comment for virtual page
added 720 characters in body