¿我如何重定向到同一页面后登录?

问题描述

我正在重新设计公司的页面,并且创建了event用户必须在该页面登录。它说:通过在此处使用您的用户名和密码登录注册为会员(西班牙语)

但是显示链接链接wordpress代码段隐藏,该代码段使用以下脚本进行登录

add_shortcode( 'inscripcion','bp_contenido_inscripcion' );

function bp_contenido_inscripcion( $atts,$content = null ) {
   if ( is_user_logged_in() && !is_null( $content ) && !is_Feed() )
   return $content;
   return '<p class="cuadro-inscripcion">Inscríbite como afiliado haciendo login con tu usuario y contraseña <a class="link-inscripcion" href="'.wp_login_url().'">aquí</a> </p>';}

¿是否可以登录但将其保留在同一页面上?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)