Forum Replies Created
-
Author
-
AbeKeymaster
sorry, I meant Sweetdate – Buddypress
To have bpAlbum pictures in the tab replace that code part you pasted with this
COPY CODE$bp_tabs['bp-album'] = array('type' => 'bp_album','name' => __('My photos', 'kleo_framework'),'class' => 'mySlider');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, To move it a bit lower add this CSS to Sweetdate – Styling options – Quick css and modify it to match your needs
COPY CODE.form-wrapper { margin-top: 150px !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, you should put the button code in the registration template: sweetdate/registration/register.php
COPY CODE<a class="facebook_connect radius small button facebook" href="#"><i class="icon-facebook-sign"></i> Register using Facebook</a>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
1. This css does the trickCOPY CODE#profile .tabs.pill.custom dd:nth-child(3) a { background: none repeat scroll 0 0 #008000; }
2. This is a class that is added in case you want to add specific styling by css. no css added by default.
3. This is generated by your custom fields plugin.
4. Just like point 3.PS: For custom development that is out of your area of knowledge you can always hire a developer to help you with changes.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
That Popular is an image. Change the image with your own with this css added to Sweetdate.- Styling options – Quick cssCOPY CODE.membership .pricing-table.popular:after { background: url('http://path to image'); }
For any other template changes,file is: sweetdate/paid memberships pro/pages/levels.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
Please leave the mixed form and add this code to sweetdate-child/functions.phpCOPY CODEadd_action('wp_head','my_custom_act'); function my_custom_act() { remove_action('after_header_content','render_user_search'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasteradd this code to sweetdate-child/functions.php and modify it for your needs:
COPY CODE//send a welcome email when a user account is activated add_action('bp_core_activated_user','kleo_welcome_user_notification',10,3); function kleo_welcome_user_notification($user_id,$key=false,$user=false) { if(is_multisite()) return ;// we don't need it for multisite //send the welcome mail to user //welcome message $welcome_email = __( 'Dear USER_DISPLAY_NAME, Your new account is set up. You can log in with the following information: Username: USERNAME LOGINLINK Thanks! SITE_NAME' ); //get user details $user = get_userdata( $user_id ); //get site name $site_name = get_bloginfo('name'); //update the details in the welcome email $welcome_email = str_replace( 'USER_DISPLAY_NAME', $user->first_name, $welcome_email ); $welcome_email = str_replace( 'SITE_NAME', $site_name, $welcome_email ); $welcome_email = str_replace( 'USERNAME', $user->user_login, $welcome_email ); $welcome_email = str_replace( 'LOGINLINK', wp_login_url(), $welcome_email ); //from email $admin_email = get_site_option( 'admin_email' ); if ( empty($admin_email) ) $admin_email = 'support@' . $_SERVER['SERVER_NAME']; $from_name = $site_name;//from $message_headers = "From: \"{$from_name}\" \n" . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n"; //EMAIL SUBJECT $subject = sprintf(__('Welcome to %1$s '), $site_name) ; //SEND THE EMAIL wp_mail($user->user_email, $subject, $welcome_email, $message_headers); return true; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterSimple solution:
add data-default-opened=”none” attribute to ul class=”accordion”
file: wp-content/themes/sweetdate/members/single/profile/profile-loop.php
result:COPY CODE<ul class="accordion" data-default-opened="none">
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello,
Easy job with the “header_profile_dropdown” filter. Add this to your sweetdate-child/functions.phpCOPY CODEadd_filter('header_profile_dropdown', 'my_profile_link'); function my_profile_link($links) { $links[] = '<li><a href="http://mydomain.com/help">Help</a></li>'; return $links; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, You need to define this functions in sweetdate-child/functions.php and change the contents of the button to match your needs
COPY CODEfunction fb_button() { ?> <a href="#" class="facebook_connect radius button facebook"><i class="icon-facebook-sign"></i> <?php _e("LOG IN WITH Facebook", 'kleo_framework');?></a> <?php } function fb_register_button() { ?> <a href="#" class="facebook_connect radius small button facebook"><i class="icon-facebook-sign"></i> <?php _e("Register using Facebook", 'kleo_framework');?></a> <?php }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterThe code base is in this topic:
https://archived.seventhqueen.com/forums/topic/redirect-user-to-their-profile-after-loginmodified it should look like:
COPY CODE//custom redirect add_filter("login_redirect","kleo_redirect_to_profile",100,3); function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){ /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/ if(!is_super_admin($user->ID)) return bp_core_get_user_domain($user->ID ).'/profile/change-avatar/#item-nav'; else return $redirect_to_calculated; /*if site admin*/ }
You must be a regular user, not an admin
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
I hope you understand that you need to hire a developer for customization purposes since this is not the scope of this forum to do customization for each user 🙂
You need basic PHP knowledge if you want to change code.Anyway, for this one replace:
COPY CODE$this->tabs_instance->fields_data[$name] .= '<dt>'. bp_get_the_profile_field_name().'</dt>'; $this->tabs_instance->fields_data[$name] .= '<dd>'. bp_get_the_profile_field_value().'</dd>';
with
COPY CODEif (bp_get_the_profile_field_name() != "Name") { $this->tabs_instance->fields_data[$name] .= '<dt>'. bp_get_the_profile_field_name().'</dt>'; $this->tabs_instance->fields_data[$name] .= '<dd>'. bp_get_the_profile_field_value().'</dd>'; }
and
COPY CODE$this->tabs_instance->fields_data[$name] .= '<div class="callout"><div class="bp-profile-details">'; $this->tabs_instance->fields_data[$name] .= bp_get_the_profile_field_name(); $this->tabs_instance->fields_data[$name] .= '</div><div class="cite">'. bp_get_the_profile_field_value() .'</div></div>';
with
COPY CODEif (bp_get_the_profile_field_name() != "Name") { $this->tabs_instance->fields_data[$name] .= '<div class="callout"><div class="bp-profile-details">'; $this->tabs_instance->fields_data[$name] .= bp_get_the_profile_field_name(); $this->tabs_instance->fields_data[$name] .= '</div><div class="cite">'. bp_get_the_profile_field_value() .'</div></div>'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterAddd this to sweetdate-child/functions.php
COPY CODEadd_action('wp_head', 'kleo_admin_bar_fix'); function kleo_admin_bar_fix() { global $wp_version; if ($wp_version >= 3.8) { echo '<style> @media screen and (max-width: 600px) { #wpadminbar { position: fixed; } } @media screen and ( max-width: 782px ) { .adminbar-enable .sticky.fixed { margin-top: 46px; } } </style>'; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi.
Add it by CSS. You can address the styling only to that particular page by the class that is added to body. Something like thisCOPY CODEbody .page-id-xxx .header-bg { background: url("http://path to image") }
Use browser inspect element feature to see page styling
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymaster2. Please use COdestyling localization plugin and rescan strings. It is there, we just translated it….
3. this is simple. search the function in framework/functions/facebook_login.php and copy it from there. instead of
COPY CODE<i class="icon-facebook"></i>
put an image tag or what you want
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, this CSS does the trick
COPY CODE.article-meta li:nth-child(2), .article-meta li:nth-child(3) { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, maybe:
COPY CODE<script> jQuery(document).ready(function() { jQuery("#item-nav .item-list-tabs a, #subnav li a, .btn-profile ul li a").each(function() { jQuery(this).attr('href',jQuery(this).attr('href')+"#main"); }); }); </script>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello,
Thank you, we are glad you like our theme
1. We don’t have a solution like that but this could be a workaround: https://archived.seventhqueen.com/forums/topic/keeping-scroll-bar-on-the-last-position-when-refresh
2. If you already found a plugin to show the menu in sidebar you can use that as well. You could have the horizontal menu with a CSS code like:COPY CODE.my-account #item-nav { display: none;}
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, BP Pages will only take the default template set in Sweetdate – Buddypress
To make activity page a 3 columns page add this code to your sweetdate-child/functions.phpCOPY CODEadd_action('wp_head', 'change_activity_tpl'); function change_activity_tpl() { if (is_page('activity')) { add_filter('kleo_sidebar_class', create_function('', 'return "three";'), 11); add_filter('kleo_buddypress_content_class', create_function('', 'return "six";')); add_action('kleo_buddypress_before_content', 'kleo_sidebar'); add_action('kleo_buddypress_after_content', 'kleo_extra_sidebar'); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
1. add this css in Sweetdate- Styling options – Quick cssCOPY CODE.reveal-modal .button.facebook {float: left;} .reveal-modal #signup {margin-bottom:5px;}
2. Translations are done via .mo/.po files not directly in theme files. Use a plugin like Codestyling localization
3. wordpress adds a space in < ?php when it should be like without the space between < and ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, This function is rendering those columns, Add it in sweetdate-child/functions.php and modify it as you need
COPY CODEfunction kleo_bp_profile_tabs() { global $bp_tabs; echo '<div class="seven columns">'; new BpMembersTabs($bp_tabs); echo '</div>'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Try adding this CSS code
COPY CODE#groups .six.columns:nth-child(2n+1) { clear: left; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, you can remove this code from framework/frontend.php
COPY CODE//Headings if(sq_option('heading')) { $kleo_sweetdate->add_typography_css('heading'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
1. it is aligned to right. Your translated text is just big and goes under the button
2. text is there. try with codestyling localization plugin. this is the textCOPY CODEYou are already logged in. Please <a href=\"#\" onclick=\"%s\">refresh</a> page
3. This is the function defined in framework/functions/facebook_login.php. add the function in sweetdate-child/functions.php and modify it as you want
COPY CODEfunction fb_register_button_front() { ?> <a href="#" class="facebook_connect radius button facebook"><i class="icon-facebook"></i></a> <?php }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 16, 2013 at 09:49 in reply to: Color of the register/search form background on the Home Page. #8314AbeKeymasterTo change the color, add the color attribute to the css, like this example
COPY CODE.form-search .button {color: black;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
For custom work you should hire a programmer from microlancer for example.
Your shortcode should be something like this(added to functions.php), you need to change it if is the caseCOPY CODEfunction kleo_my_posts( $atts, $content = null ) { extract(shortcode_atts(array( 'cat' => 'all', 'limit' => 9, 'post_types' => 'post', 'post_formats' => 'image,gallery,video' ), $atts)); $output = '<div class="row">'; $args = array(); if ((int)$cat != 0) { $args['cat'] = $cat; } if ((int)$limit != 0) { $args['posts_per_page'] = $limit; } $args['post_type'] = explode(',', $post_types); $formats = explode(',',$post_formats); if (is_array($formats) && !in_array('all', $formats)) { foreach($formats as $format) { $terms_query[] = 'post-format-'.$format; } $args['tax_query'] = array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => $terms_query ) ); } $latestPosts = new WP_Query(apply_filters('kleo_posts_carousel_args',$args)); while ($latestPosts->have_posts()) : $latestPosts->the_post(); switch (get_post_format()) { case 'video': $video = get_cfield('embed'); if (!empty($video)) { $output .= '<div class="four columns">'; $output .= wp_oembed_get($video); $output .= '<h4>'.get_the_title().'</h4>'; $output .= '<p>'. word_trim(get_the_excerpt(), 15, '...').'</p>'; $output .= '<p><a href="'. get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>'; $output .= '</div>'; } break; case 'gallery': $slides = get_cfield('slider'); if (!empty($slides)) { $output .= '<div class="four columns">'; $output .= '<div class="blog-slider">'; foreach($slides as $slide) { if (get_attachment_id_from_url($slide)) { $thumb_array = image_downsize( get_attachment_id_from_url($slide), 'blog_carousel' ); $thumb_path = $thumb_array[0]; } else { $thumb_path = $slide; } $output .= '<div data-thumb="'.$slide.'">'; $output .= '<img src="'.$thumb_path.'" alt="">'; $output .= '</div>'; } $output .= '</div><!--end blog-slider-->'; $output .= '<h4>'.get_the_title().'</h4>'; $output .= '<p>'. word_trim(get_the_excerpt(), 15, '...').'</p>'; $output .= '<p><a href="'. get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>'; $output .= '</div>'; } break; case 'image': if (get_post_thumbnail_id()) { $output .= '<div class="four columns">'; $output .= '<div class=""><a class="imagelink" href="'. get_permalink().'">'; $output .= get_the_post_thumbnail(null,'blog_carousel'); $output .= '</a></div>'; $output .= '<h4>'.get_the_title().'</h4>'; $output .= '<p>'. word_trim(get_the_excerpt(), 15, '...').'</p>'; $output .= '<p><a href="'. get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>'; $output .= '</div>'; } break; default: $output .= '<div class="four columns">'; if (get_post_thumbnail_id()) { $output .= '<div class=""><a class="imagelink" href="'. get_permalink().'">'; $output .= get_the_post_thumbnail(null,'blog_carousel'); $output .= '</a></div>'; } $output .= '<h4>'.get_the_title().'</h4>'; $output .= '<p>'. word_trim(get_the_excerpt(), 15, '...').'</p>'; $output .= '<p><a href="'. get_permalink() .'" class="small button radius secondary"><i class="icon-angle-right"></i> '.__("READ MORE", 'kleo_framework').'</a></p>'; $output .= '</div>'; break; } endwhile; wp_reset_postdata(); $output .= '</div>'; return $output; } add_shortcode('kleo_my_posts', 'kleo_my_posts');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
This code added to sweetdate-child/functions.php removes that link from the menuCOPY CODEadd_filter('header_profile_dropdown','remove_activity_submenu'); function remove_activity_submenu($menu) { unset($menu['activity']); return $menu; }
You should just have removed the activity component if you don;t need it. Settings – BUddypress
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterThat is because the form is under the slider. Add this CSS
COPY CODE.revslider-head .just-after-header { margin-top: 150px; z-index: 1; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, This is the php code to elp you achieve that
COPY CODE$output = ''; bp_album_query_pictures('per_page=100'); if ( bp_album_has_pictures() ) : $output = '<div id="gallery-carousel">'; while ( bp_album_has_pictures() ) : bp_album_the_picture(); $output .= '<span class="circle">'; $output .= '<a href="'.bp_album_get_picture_original_url().'" class="imagelink" data-rel="prettyPhoto[gallery2]">'; $output .= '<span class="overlay"></span>'; $output .= '<span class="read"><i class="icon-'. apply_filters('kleo_img_rounded_icon','heart').'"></i></span>'; $output .= '<img src="'.bp_album_get_picture_original_url().'" alt="">'; $output .= '</a>'; $output .= '</span>'; endwhile; $output .= '</div><!--end #gallery-carousel-->'; $output .= '<div class="clearfix"></div> <div class="four columns centered btn-carousel hide-for-small"> <small><a href="#" id="stanga-prev">'. __("PREVIOUS", 'kleo_framework').'</a> <a href="#" id="dreapta-next">'. __("NEXT", 'kleo_framework').'</a></small> </div>'; endif; echo $output;
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, You need to add it with a piece of code as a shortcode probably. Add it sweetdate-child/functions.php and disable Revslider from Sweetdate – Homepage
COPY CODEadd_action('kleo_after_header', 'kleo_home_layerslider'); function kleo_home_layerslider() { echo do_shortcode('[layer_slider_shortcode_here]'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterTry with this css code to hide the sticky menu:
COPY CODE.bp-user .contain-to-grid.sticky.fixed { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymaster1. Great
2. Your final codes should look like:COPY CODE<div class="twelve columns"> <div class="row"> <div class="five columns"> --BIG AWEBER CODE HERE-- </div> </div><!--end row--> </div><!--end twelve-->
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
1. You can change that button from this file: wp-content/themes/sweetdate/page-parts/general-register-modal.php
Pink comes from class “alert” that you can remove. The icon you can change the heart with one from: http://fortawesome.github.io/Font-Awesome/3.2.1/cheatsheet/2. In your page content you can add this button code just like in the header. Make sure you add it in the Text tab and not Visual:
COPY CODE<a class="tiny button radius" data-reveal-id="register_panel" href="#"><i class="icon-group"></i> SIGN UP</a>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, Please add this css to Sweetdate – Styling optins – Quick css and it will fix your problem
COPY CODEul.inline-list > li > *, ul.link-list > li > * { display: inline-block; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterYou can change it with this to have the nav visible
COPY CODE<script> jQuery(document).ready(function() { jQuery("#item-nav .item-list-tabs a, #subnav li a").each(function() { jQuery(this).attr('href',jQuery(this).attr('href')+"#main"); }); }); </script>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, you can change in wp-content/themes/sweetdate/members/single/profile/profile-loop.php
COPY CODE<dt><?php bp_the_profile_field_name(); ?></dt> <dd><?php bp_the_profile_field_value(); ?></dd>
with
COPY CODE<?php if (bp_get_the_profile_field_name() != "Name") {?> <dt><?php bp_the_profile_field_name(); ?></dt> <dd><?php bp_the_profile_field_value(); ?></dd> <?php } ?>
You can adapt the code to match your needs
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi, with this code added to sweetdate-child/functions.php you will render the missing buttons for public and private message. They will require some styling
COPY CODEadd_action( 'bp_directory_members_item_last', 'bp_send_public_message_button', 12 ); add_action( 'bp_directory_members_item_last', 'bp_send_private_message_button', 12 );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHi,
Each page will have its own class in body tab. For example a page will have this class: page-id-658
You can use that to add custom CSS and change the bg..page-id-658 { background: url("/wp-content/themes/sweetdate/assets/images/patterns/p1_pattern.gif"); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.AbeKeymasterHello,
The thing is that you cannot checkout for a level before you have an account .. so going to checkout page and only after that to the register page is not possible.You can send users to the register page and after their first login redirect them to the levels page with this code added to sweetdate-child/functions.php
COPY CODEfunction function_new_user($user_id) { add_user_meta( $user_id, '_new_user', '1' ); } add_action( 'user_register', 'function_new_user'); //The next function will check if it's the first login and redirect the user. function function_check_login_redirect($user_login, $user) { $logincontrol = get_user_meta($user->ID, '_new_user', 'TRUE'); if ( $logincontrol ) { //set the user to old update_user_meta( $user->ID, '_new_user', '0' ); //Do the redirects or whatever you need to do for the first login wp_redirect( pmpro_url(), 302 ); exit; } } add_action('wp_login', 'function_check_login_redirect', 10, 2);
or
PMPRO by default allows registration from the checkout page but you won’t use the Buddypress register page. To enable the default behaviour you need to replace the content of this file wp-content/themes/sweetdate/paid-memberships-pro/pages/checkout.php with attached file
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Attachments:
You must be logged in to view attached files.AbeKeymaster@adam, we have checked all things reported by you but all looked good in the demo which is also updated to v.2.3. could be something with your changes but some of the things are really odd and we haven’t even changed styling in groups steps for example.
7. If you have moved the buttonz to the top-bar then you just need to replace the old login buttons code with the new one from the header.php.
In the new header.php search forCOPY CODE<!--Login buttons-->
to find the new code
Let me know if you need anything else
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts