Forum Replies Created
-
Author
-
alberhdParticipant
ok,now no errors,but does not work
Attachments:
You must be logged in to view attached files.alberhdParticipantI attach the capture with the problem
Attachments:
You must be logged in to view attached files.alberhdParticipantthis is the header.php code
COPY CODE<li class="header-login-button"><a href="#" data-reveal-id="login_panel" class="tiny secondary button radius"><i class="icon-user hide-for-medium-down"></i> <?php _e("LOG IN", 'kleo_framework'); ?></a></li> <?php if(get_option('users_can_register')) { ?> <li class="header-register-button"><a href="#" data-reveal-id="register_panel" class="tiny button radius"><i class="icon-group hide-for-medium-down"></i> <?php _e("SIGN UP", 'kleo_framework'); ?></a></li> <?php } ?> <?php endif; ?>
The wpml code should be here?
COPY CODE<li class="header-login-button"><a href="#" data-reveal-id="login_panel" class="tiny secondary button radius"><i class="icon-user hide-for-medium-down"></i> <?php _e("LOG IN", 'kleo_framework'); ?></a></li> <?php if(get_option('users_can_register')) { ?> <li class="header-register-button"><a href="#" data-reveal-id="register_panel" class="tiny button radius"><i class="icon-group hide-for-medium-down"></i> <?php _e("SIGN UP", 'kleo_framework'); ?></a> <strong><li><?php do_action('icl_language_selector'); ></li></strong> </li> <?php } ?> <?php endif; ?>
alberhdParticipantand something is wrong in the code,dreamwaver found problems with <?php
<li><?php do_action('icl_language_selector'); ></li>
Thank you for your help
alberhdParticipantI copy the header.php at functions.php in child theme,but i have this problem
Fatal error: Call to undefined function sq_option() in /homepages/43/d524894821/htdocs/wp-content/themes/sweetdate-child/functions.php on line 265
alberhdParticipantok,i can translate the page,but after i have to select at Sweet date control the pages:
Terms and conditions
pageSelect the page that is used for terms and conditions.
This will be used in register modalPrivacy
pageSelect the page that is used for privacy info.
This will be used in login modalSo,at the register or at login for example,just appear the link of the pages that i selected here,if im using the page in spanish and after in english,continue the same link.
alberhdParticipanti found this code at the header and i followed your instructions,but the page gave me a error.
COPY CODE<div class="four columns"> <h1 id="logo"><?php bloginfo('name'); ?> <a href="<?php echo get_home_url(); ?>"><img id="logo_img" src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo.png'); ?>" width="294" height="108" alt="<?php bloginfo('name'); ?>"></a> </h1> </div>
alberhdParticipantyes,i need this: “so you want the logged in users not to be able to return to homepage if they click on the logo”
Thank you!
alberhdParticipantThank you for your answer,right know the logged user is redirected to their profile,but after, if the logged user press the logo can go the the home page and i need lock that the logged user can go again to the home page.
alberhdParticipantOk sorry,i attach a capture of what i need hide of the rest of the users,just to be available for the own user. Thank you Catalin
Attachments:
You must be logged in to view attached files.alberhdParticipantPlease Catalin,the creator of the plugin give me the code to hide the follow/followers,but does not work for me and if do you know how fix the problem,please
alberhdParticipantMaybe this option is better,how can i disable the redirection of a logged user to home page after press the logo?
alberhdParticipantYes,i am using this plugin and the pages are already translated to english and spanish,but for display terms and conditions at the register i have to select just one of them at the Sweet date control at wp admin,or do you have other way to do it?
Thank you!
alberhdParticipantHello,maybe some line code to do the match works if a user is looking someone with the same sex?
Thank you!
alberhdParticipantalberhdParticipanti should put something like that
COPY CODEfunction kleo_change_profile_name() { global $bp; $bp->bp_nav['messages']['name'] = 'Mensajes'; $bp->bp_nav['notifications']['name'] = 'Notificaciones'; } add_action( 'bp_setup_nav', 'kleo_change_profile_tab', 999 ); define( 'BP_DEFAULT_COMPONENT', 'profile' );
alberhdParticipantYes i readed before,but i dont know how proceed because just i want that appear the correct name,no add more tabs,i want that appear in english “looking for” and the same tab but with the name in spanish “Buscando” sorry im learning very much,but i dont know what i can do here.
alberhdParticipantand about the other question,how can i put the field of Looking for a… like not a requeried field or with the option to put “Nothing” i did it directly on profile fields but the compatibility “Match” stopped to work,some idea please?
alberhdParticipantYes but to do that i need some specific pages,and with Sweet date i have city and country pages but not state or zipcode
alberhdParticipantany idea? Catalin you can check my website if you need know about what i am talking about.
alberhdParticipantYes,i have a error in the file pluggable.php just i need translate, Notifications and Messages by Notificaciones/Mensajes but for me does not work sorry
alberhdParticipantYou have to go to Widgets and there you can add things,are you talking of this?
alberhdParticipanthello Catalin,yes i did it,but they say that the css code works and not for me, i think that someone can help me here,i write questions two times on the plugin support…but no much help there.
Thank you!
alberhdParticipantDownload this plugin “Nav Menu Roles” and you can hide the shop page for users not logged in since Menus,select the shop page and select in the tab Display Mode the option Logged in users.
-
AuthorPosts