WanderlustShutter
Forum Replies Created
-
Forum: Plugins
In reply to: [Squelch Tabs and Accordions Shortcodes] Active option in not workingHi
Thank you! It works great now!
Forum: Plugins
In reply to: [Save Contact Form 7] Different formatHi
I did try CFDB but it works similar to your plugin and as of now I have no idea how to change it. Thanks anyway!
Forum: Plugins
In reply to: [WWM Social Share On Image Hover] CarouselThanks. I will try and let You know ??
Forum: Plugins
In reply to: [WWM Social Share On Image Hover] CarouselIt shows social icons only on thumbnails but when I click photo to enlarge the icons disappear
Forum: Hacks
In reply to: how to use wp dropdown users instead of login in wp login formYeah, I made custom plugin with the code. Thanks again!
Forum: Hacks
In reply to: how to use wp dropdown users instead of login in wp login formWorks perfect! I owe You a beer! Thank You!
Now only proper CSS to make it all in one line and I get what I wanted ??Forum: Hacks
In reply to: how to use wp dropdown users instead of login in wp login formThanks!
It works pretty good! Just need to fix one issue “ERROR: The username field is empty.”
Forum: Hacks
In reply to: how to use wp dropdown users instead of login in wp login formso I made this login form:
function my_login_form( $args = array() ) {
$defaults = array( ‘echo’ => true,
‘redirect’ => site_url( $_SERVER[‘REQUEST_URI’] ), // Default redirect is back to the current page
‘form_id’ => ‘loginform’,
‘label_username’ => __( ‘Username’ ),
‘label_password’ => __( ‘Password’ ),
‘label_remember’ => __( ‘Remember Me’ ),
‘label_log_in’ => __( ‘Log In’ ),
‘id_username’ => ‘user_login’,
‘id_password’ => ‘user_pass’,
‘id_remember’ => ‘rememberme’,
‘id_submit’ => ‘wp-submit’,
‘remember’ => false,
‘value_username’ => ”,
‘value_remember’ => false, // Set this to true to default the “Remember me” checkbox to checked
);
$args = wp_parse_args( $args, apply_filters( ‘login_form_defaults’, $defaults ) );$form = ‘
<form name=”‘ . $args[‘form_id’] . ‘” id=”‘ . $args[‘form_id’] . ‘” action=”‘ . site_url( ‘wp-login.php’, ‘login’ ) . ‘” method=”post”>
‘ . apply_filters( ‘login_form_top’, ” ) . ‘
<p class=”login-form”>
<label for=”‘ . esc_attr( $args[‘id_username’] ) . ‘”>’ . esc_html( $args[‘label_username’] ) . ‘</label>–>> over here need to add dropdown menu with users which will pass login
I was trying wp_dropdown_users( array( ‘name’ => ‘author’ ) );but my php knowledge is too poor to combine those two pieces of code :/
<label for=”‘ . esc_attr( $args[‘id_password’] ) . ‘”>’ . esc_html( $args[‘label_password’] ) . ‘</label>
<input type=”password” name=”pwd” id=”‘ . esc_attr( $args[‘id_password’] ) . ‘” class=”input” value=”” size=”10″ tabindex=”20″ />‘ . apply_filters( ‘login_form_middle’, ” ) . ‘
<input type=”submit” name=”wp-submit” id=”‘ . esc_attr( $args[‘id_submit’] ) . ‘” class=”button-primary” value=”‘ . esc_attr( $args[‘label_log_in’] ) . ‘” tabindex=”100″ />
<input type=”hidden” name=”redirect_to” value=”‘ . esc_attr( $args[‘redirect’] ) . ‘” />
</p>
‘ . apply_filters( ‘login_form_bottom’, ” ) . ‘
</form>’;if ( $args[‘echo’] )
echo $form;
else
return $form;
}Forum: Hacks
In reply to: how to use wp dropdown users instead of login in wp login formYeah I’m trying this but can’t pass username from wp_dropdown to wp_login
Forum: Hacks
In reply to: Login with wp_dropdown_pagesOk. I will try to figure it out. For now the code I posted stopped working :/ It doesn’t show anything in the menu bar anymore.
Forum: Hacks
In reply to: Login with wp_dropdown_pagesThanks. Do You know where I can find examples of this kind of use?
Forum: Plugins
In reply to: [WordPress Popular Posts] Sorry. No data so far.Thanks!
I will check it out
Forum: Plugins
In reply to: [WordPress Popular Posts] Sorry. No data so far.Hi
Doesn’t work for me either :/ https://www.wanderlustshutter.com -> bottom under TOP 3
Forum: Plugins
In reply to: [Polylang] All languages on HomepageProblem (temporary) resolved I think.
When this line is disable //’category__not_in’ => $excludeCat, everything seems to work.Is excluding really needed for proper working of the site?