Changes after website wordpress update and switch from theme-my-login to user-registration plugin
This commit is contained in:
parent
247f09cb87
commit
ac4868971f
@ -254,7 +254,8 @@ $args = array('number' => 10, 'largest' => 20);
|
||||
return $args;
|
||||
}
|
||||
|
||||
load_plugin_textdomain('theme-my-login' , get_site_url() . 'wp-content/plugins/theme-my-login/languages/');
|
||||
// load_plugin_textdomain('theme-my-login' , get_site_url() . 'wp-content/plugins/theme-my-login/languages/');
|
||||
// load_plugin_textdomain('user-registration' , get_site_url() . 'wp-content/themes/openmamba/languages/');
|
||||
|
||||
add_action('wp_head','hook_cookielaw');
|
||||
|
||||
@ -262,9 +263,9 @@ function hook_cookielaw()
|
||||
{
|
||||
$outputlang = get_bloginfo("language");
|
||||
$outputlang = substr($outputlang,0,2);
|
||||
$message = __("This website uses cookies to improve user experience.",responsive);
|
||||
$accepttext = __("I Understand",responsive);
|
||||
$policytext = __("Cookie policy",responsive);
|
||||
$message = __("This website uses cookies to improve user experience.","responsive");
|
||||
$accepttext = __("I Understand","responsive");
|
||||
$policytext = __("Cookie policy","responsive");
|
||||
$policyurl = "/" . $outputlang . "/info/policy/";
|
||||
$output = "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . get_stylesheet_directory_uri() . "/styles/jquery.cookiebar.css\" />\n";
|
||||
$output .= "<script type=\"text/javascript\" src=\"" . get_stylesheet_directory_uri() . "/scripts/jquery.cookiebar.js\"></script>\n";
|
||||
|
BIN
languages/user-registration-it_IT.mo
Normal file
BIN
languages/user-registration-it_IT.mo
Normal file
Binary file not shown.
3949
languages/user-registration-it_IT.po
Normal file
3949
languages/user-registration-it_IT.po
Normal file
File diff suppressed because it is too large
Load Diff
@ -31,7 +31,8 @@ if ( !is_active_sidebar( 'top-widget' )
|
||||
<?php global $current_user;
|
||||
echo "<br>";
|
||||
if (!is_user_logged_in()) {
|
||||
echo "<a class='mytoplink' href=".wp_login_url( get_permalink() ).">".__('Login')."</a> / ";
|
||||
//echo "<a class='mytoplink' href=".wp_login_url( get_permalink() ).">".__('Login')."</a> / ";
|
||||
echo "<a class='mytoplink' href=".site_url('/login/').">".__('Login')."</a> / ";
|
||||
echo "<a class='mytoplink' href=".site_url('/register/').">".__('Register')."</a> ";
|
||||
} else {
|
||||
get_currentuserinfo();
|
||||
|
Loading…
Reference in New Issue
Block a user