Hi all!
Up until now, I was using BuddyPress and I was redirecting posts or comments author link to their BP profile (if they were registered). I was using this snippet :
// Redirect Author to BP Profiles add_action( 'template_redirect', 'redirect_author_archive_to_profile' ); function redirect_author_archive_to_profile() { if(is_author()){ $user_id = get_query_var( 'author' ); wp_redirect( bp_core_get_user_domain( $user_id ) ); } }
I didn’t write this on my own but I believe it could be modified to do the same thing and redirect to AnsPress profiles for Registered Users. I’m guessing it’s mainly the last line that should be modified with a reference to the logged in user id. Something about that:
ap_user_link( $userid )
Anybody has any idea of the right syntax to use?
Thanks in advance!
Fred 😀
Hello Rahul,
Do you will share the new open-wp theme if yes it would be great.
Regards
I like the simple Theme of this test page.
Can you provide this theme for download so i can conform my colours and can start.
thank you very much!
best regards
Hi. Does Anspress have a function or option somewhere to display breadcrumb navaigation?
Thanks.
Hello! make customizations? Where can I send a job application? thanks
Hi there,
I’ve installed the plugin, translate it to Hebrew (not full) but I have some Avatar Issues.
you can see in this screen – http://clip2net.com/s/jgMZkX that he shows the small avatar but not the big one on the side.
I didn’t change anything in the core files only translation string.
the website link – http://www.israely.academy
Any Idea ?
There is a conflict with WP social login plugin.Social login is working(i can login with facebook,google+ etc) fine but the default facebook icons has been replaced by our facebook icons.
Pagination has some problem.From the last page when i click first page it returns 404 error page.How can i solve this
Hi,
First thank you for this Plugin…
I’ve installed this plugin and all good, but when posting new Question after pressing “Ask Question” I see Error 404 but Question is displayed on the base page and in the admin menu.
and when pressing to view the Question I see also Error 404 too.
Any Idea ?
Can not deactivate in network let alone delete please help