}
}
add_action( 'wp_enqueue_scripts', 'accesspress_parallax_scripts' );
+/**
+ * Implement Misc Functions
+ */
+require get_template_directory() . '/inc/glm-dev.php';
/**
* Implement the Custom Header feature.
--- /dev/null
+
+<?php
+function glm_login_form( $atts ){
+ ob_start(); ?>
+ <div id='glm-member-login-form'>
+ <?php
+ $args = array(
+ 'echo' => false,
+ 'form_id' => 'glm_login_form',
+ 'redirect' => "http://localhost/wp/hospitalitymentality/",
+ );
+ $loginForm = wp_login_form($args);
+ $captcha = apply_filters('cptch_display', '', 'glm_login_form');
+ $form = str_replace( '<p class="login-remember">', $captcha . '<p class="login-remember">', $loginForm );
+ echo $form;
+ ?>
+ </div>
+ <?php return ob_get_clean();
+
+ }
+add_shortcode( 'glm-login-form', 'glm_login_form' );
\ No newline at end of file