Forum Replies Created
-
Author
-
wd7080Participant
add this to your child theme functions.php
COPY CODEfunction jessicana_redirect_page( $redirect_to, $request, $user ) { $redirect_to = bp_core_get_user_domain($user->ID) . 'profile/'; return $redirect_to; } add_filter('login_redirect', 'jessicana_redirect_page', 11, 3);
and you will get users redirected to their profile page.
wd7080ParticipantThis functions’ code redirects to the home page and it doesn’t redirect to the page where users chose to login:
COPY CODEfunction wpse125952_redirect_to_request( $redirect_to, $request, $user ){ // instead of using $redirect_to we're redirecting back to $request return $request; } add_filter('login_redirect', 'wpse125952_redirect_to_request', 10, 3);
wd7080ParticipantHi Laura
What I want giving the border above the footer the following styles:
COPY CODEhr { color: #393939; background-color: #333; height: 5px; }
wd7080ParticipantHello,
Thanks for the code:
COPY CODE.member-inner-list.animated.animate-when-almost-visible.bottom-to-top.start-animation { -webkit-animation: none; -o-animation: none; animation: none; opacity: 1; -moz-transform: none; -webkit-transform: none; -o-transform: none; transform: none; }
It did not work. Could you please advice?
Thanks
wd7080Participantand one more thing, am I safe to delete what the child default functions.php below? Does the block below import data from somewhere else or it’s just informational comments?
COPY CODE<?php /** * @package WordPress * @subpackage Kleo * @author SeventhQueen <themesupport@seventhqueen.com> * @since Kleo 1.0 */ /** * Kleo Child Theme Functions * Add custom code below */
wd7080ParticipantWell, I am using multisite and in multisites I can’t upload a FAV ico. I insert this code to the functions.php but for some reason I can’t get it work:
COPY CODEdefine('ALLOW_UNFILTERED_UPLOADS', true); add_filter('upload_mimes', 'pixert_upload_types'); function pixert_upload_types($existing_mimes=array()){ $existing_mimes['flv'] = 'video/x-flv'; $existing_mimes['mid'] = 'audio/midi'; return $existing_mimes; }
Please check: https://wordpress.org/support/topic/sorry-this-file-type-is-not-permitted-for-security-reasons-3
wd7080ParticipantThis is all of what I have in my functions.php:
COPY CODE<?php /** * @package WordPress * @subpackage Kleo * @author SeventhQueen <themesupport@seventhqueen.com> * @since Kleo 1.0 */ /** * Kleo Child Theme Functions * Add custom code below */ // ADD FAVICON TO HEADER function blog_favicon(){echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_bloginfo('template_directory').'/favicon.ico">';} add_action('wp_head', 'blog_favicon'); ?>
-
AuthorPosts