Forum Replies Created
-
Author
-
JessicaParticipant
So how do you change the font via CSS? I tried writing the following in the style.css of the child theme, and it only changes some of the fonts, seemingly dependent upon size, location, etc.
COPY CODEbody { font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "メイリオ", Meiryo, Osaka, serif; }
JessicaParticipantWhere do I go to change the Lorem ipsum text for the footer section?
Is there a setting somewhere that I can use to not display the footer section for certain pages?JessicaParticipantNo, not yet. I will post again with a solution, if I find one.
In the meantime, I have not yet received a viable response from 7th Queen Support.JessicaParticipantI prefer not to use a plugin because extra plugins tend to bog down the speed, and though I’ve tried to use a variety of caching plugins to avoid this, some are incompatible with vital features of KLEO, as I’ve mentioned in this thread regarding W3 Total Cache.
Furthermore, I do not want to clutter up the Dashboard, since it is already quite confusing with the numerous plugins that come with KLEO/otherwise necessary to manage WooCommerce/BuddyPress.
Is there perhaps an obvious error that I’m missing?
Or is this if loop too difficult to review?JessicaParticipantHello! I am trying to accomplish the exact same thing with my website, but no matter what I do (please see attached image and code below for details), I’m getting redirected to the home page after logging in.
I’m testing it out with these three accounts/roles:
1. My Super Admin account (this gets redirected to the Dashboard as intended)
2. My Administrator account via Facebook login (this gets redirected to the home page, i.e. http://www.mydomain.com)
3. My Subscriber account via normal login (this also gets redirected to the home page)I might be missing something quite obvious, but I’m out of options and would like to have a fresh pair of eyes look at the problem… thank you in advance!
Code for bp-custom.php with my little notes here and there.
COPY CODE<?php /* Enable BuddyPress URL format www.localpathfinders.com/username */ define ( 'BP_ENABLE_ROOT_PROFILES', true ); /* Redirect to profile page after login */ add_filter( 'login_redirect', 'bp_login_redirect_to_profile' ); // The return parameter does not have to be named $redirect_to for this function to work! function bp_login_redirect_to_profile( $redirect_url ) { // Redirect Super Admins and Administrators to backend Dashboard // THIS WORKS! <3 if ( current_user_can( 'Super Admin' || 'Administrator' ) ) { $redirect_url = get_dashboard_url(); return $redirect_url; } // Redirect everyone else to profile page // THIS DOES NOT WORK! </3 else { $redirect_url = 'https://www.google.com'; // This does not redirect to Google, either! return $redirect_url; // List of $redirect_url that did not redirect to profile page with normal login and Facebook login: // get_option('home') . '/' . bp_core_get_username( bp_loggedin_user_id() ); // get_home_url() . '/' . bp_core_get_username( bp_loggedin_user_id() ); // home_url() . '/' . bp_core_get_username( bp_loggedin_user_id() ); // bp_loggedin_user_domain(); // bp_loggedin_user_domain($user->ID); // bp_core_get_userlink( bp_loggedin_user_id() ); // bp_loggedin_user_domain( bp_loggedin_user_id() ); } } /* Redirect to home page after logout */ add_action('wp_logout','bp_logout_redirect_to_home'); function bp_logout_redirect_to_home() { wp_redirect( home_url() ); exit(); } ?>
Attachments:
You must be logged in to view attached files.November 6, 2015 at 11:42 in reply to: KLEO W3 Total Cache and Revolution Slider don't work together #85908JessicaParticipantJust for the record, I also experienced a similar dysfunctionality today with W3 Total Cache and Revolution Slider, though not to the same magnitude. Both KLEO and W3 Total Cache were updated to the newest version, as well as other plugins such as BuddyPress and WooCommerce.
The Revolution Slider on my front page disappeared after enabling W3 Total Cache. However, I decided that it is simpler and easier to opt for a different plugin, and deleted it without investigating further. (I trust that this issue will be investigated and documented much better by the KLEO developer team.)
JessicaParticipantHello,
My goal is to translate the entire WordPress/BuddyPress/WooCommerce setup into Japanese.
1. My WordPress language is set to Japanese under Settings > General > Site Language.
2. My WooCommerce language is set to Japanese under WooCommerce > System Status.These two settings above are working perfectly.
My next step is to change the language for KLEO/BuddyPress.
1. I’ve installed the Loco Translate plugin, and I see that KLEO is currently available in 36 languages including Japanese. How do I find out/change the theme settings so that KLEO will be displayed in Japanese?
2. According to the Loco plugin, I saw that Bulgarian was the only language listed under BuddyPress (see Loco translate BuddyPress section.png). So I downloaded the PO and MO files from the official Japanese BuddyPress page, and uploaded them to my server under the wp-content/languages/plugins (see PO and MO file location.png) directory, as advised by Loco Translate. (However, Loco Translate apparently did not detect the files even after multiple reloads of the page.) I refreshed the page, but the majority of my website is still in English (see BuddyPress not translated.png). How do I find out/change the settings so that the BuddyPress PO/MO translations are effective in KLEO?
Thank you!
Jessica
– There is no language setting under Settings > BuddyPress
Attachments:
You must be logged in to view attached files.JessicaParticipantHi Laura,
In that case, would it be possible to have the recommendation for Codestyling Localization removed from the official documentation? https://archived.seventhqueen.com/documentation/kleo#translation
Thank you!
JessicaParticipantThe questions presented in my previous post are now solved:
1. I was able to simply select each item and choose “Remove” after I magically regained access to my nav-menus.php a few hours later. (Though if there is a backend way for future reference, I would love to know!)
2. The page “Home Simple” has the slug “home” and therefore the “Home Default” slug must remain “home-2”.
JessicaParticipantHello! I’m also seeing duplicated menu items (triplicated after deleting and reinstalling Kleo and Kleo Child Theme). For some reason, I am unable to load http://exampledomain.com/wp-admin/nav-menus.php under Appearance to attempt to edit the menus. Is there a way to remove the extra items?
Also, the slug for my “Home Default” page (which is currently my Front Page) is “home-2”. Is this correct, or can I fix it to “home”?
-
AuthorPosts