Forum Replies Created
-
Author
-
AndreiModerator
Hi @petev666, your issue is now fixed, there was a small issue setting the post format, the right usage of the shortcode is:
COPY CODE[kleo_posts_carousel limit="6" post_formats="all"]
Please let me know if I can help you with anything else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorMeanwhile a workaround would be to use the following code snippet which should be added to your functions.php file:
COPY CODEadd_filter('sq_option', 'kleo_custom_fonts', 10, 2); function kleo_custom_fonts($output_data, $option){ if(in_array($option, array('font_body', 'font_h1', 'font_h2', 'font_h3', 'font_h4', 'font_h5', 'font_h6'))){ $output_data['font-family'] = "Arial"; // Add your custom font name here } return $output_data; }
After adding this and putting in your font name, you will have to go to “Theme Options > Fonts” and select in all drop downs a default web font like for example Arial ( so that we prevent the load of extra google fonts ), and save the options, this will regenerate the css file of the theme and will gonna override the options form the theme panel with the ones added with the above code snippet.
An extra note would be that you’ll need to manually load the font files in the theme.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorJust add the following piece of code in your functions.php file:
COPY CODEfunction bp_remove_profile_navigation(){ remove_action('kleo_after_breadcrumb', 'bp_add_profile_navigation'); } add_action('init', 'bp_remove_profile_navigation');
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Firstly please be sure you have the last version of your theme which is 3.0.2, and after that try to add the following function to your functions.php file:
COPY CODEadd_filter( 'kleo_theme_options_ajax', '__return_false' );
Let me know if this fixed your issue.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 23, 2015 at 17:41 in reply to: Search field with checkbox (or multiselect): AND instead of OR #64524AndreiModeratorI have just tested this scenario out to be sure it works, please revert your kleo-bp-search.php file to the stock one, and taking into consideration that you have the last version of the theme, go to line 671 and replace:
COPY CODE$sql .= ' AND ('. implode (' OR ', $like). ')';
with
COPY CODE$sql .= ' AND ('. implode (' AND ', $like). ')';
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorWe’ll be working on this in the following days and we’ll release an update as soon as possible.
Meanwhile, in order to fix the broken content column which overlaps with the sidebar, you can add the following rule into your back end in “SweetDate > Styling Options > Qucik css”:COPY CODEul#activity-stream{ overflow: initial; }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorUntil we release our next update please add this css rule in wp admin, under “SweetDate > Styling Options > Quick Css”:
COPY CODEul#activity-stream{ overflow: initial; }
Let me know if this fixed the issue.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorPlease add this code to your functions.php file and it will add Pmpro Restriction options for portfolio.
COPY CODEfunction kleo_portfolio_pmpro_metabox(){ add_meta_box('pmpro_page_meta', 'Require Membership', 'pmpro_page_meta', 'portfolio', 'side'); } function kleo_portfolio_pmpro_cpt_init(){ if ( is_admin() ){ add_action('admin_menu', 'kleo_portfolio_pmpro_metabox'); } } add_action('init', 'kleo_portfolio_pmpro_cpt_init', 20);
Please let me know if I can help you with anything else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
You can use the following filter ( add it to your functions.php file ) to change the redirect url:
COPY CODEfunction kleo_pmpro_url_redirect_url(){ return 'your-redirect-url-here'; } add_filter('kleo_pmpro_url_redirect', 'kleo_pmpro_url_redirect_url');
For editing email template you’ll have to find a plugin which changes the default wordpress email template.
Please let me know if I can help you with anything else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Just add this small css code into “Theme Options > Styling Options > Quick css”:
COPY CODEul#activity-stream{ overflow: initial; }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 19, 2015 at 06:13 in reply to: Moving footer down on pages with not a lot of content, making it stick on bottom #59366AndreiModeratorPlease add this rule to your wp admin area under ” Theme Options > General Settings > Quick CSS “:
COPY CODE#main-container .template-page{ min-height: 80vh; }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Here is a damn hell of a hack but it works, and pretty nice:
COPY CODEfunction get_post_id_as_custom_field($meta_value, $post_id, $meta_key, $single ){ if($meta_key == 'get_post_id'){ return $post_id; } if($meta_key == 'get_custom_progress'){ $current = (int)get_post_meta($post_id, 'current_cf_key', true); $total = (int)get_post_meta($post_id, 'total', true); return $current / $total * 100; } return $meta_value; } add_filter('get_post_metadata', 'get_post_id_as_custom_field', 10, 4);
Hooking in this level you can also grab the current post id, and also do any other math that you might need.
You should use them in this tags: {{ post_meta_value:get_post_id }} and {{ post_meta_value:get_custom_progress }}Hope it will help you,
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi mate,
I’ve given a deeper look at how vc grid item works and unfortunately they aren’t giving us the $post global inside the grid elements loop but I found another way in which you can get a custom field value in your grid element, assuming your custom field key is “test”, you can use the following code:
COPY CODE<div class="field-value-{{ post_meta_value:test }}">My custom field value: {{ post_meta_value:test }}</div>
So any shortcode that makes use of the $post global it won’t work in grid elements, we’ll investigate for a workaround but if you really need this right now I’ll recommend you to contact the author of VC plugin.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModerator1. You should try to contact the author of the CPT UI plugin and see if he has any workarounds for enabling the cpt’s to appear into Visual Composer.
2. Sorry, there is the link: http://wpsnipp.com/index.php/functions-php/get-custom-field-value-with-shortcode/
3. In Grid Element, you can add a text block where you can format it’s value with the shortcode provided above.
Ex:
COPY CODE<div class="[field cf_key]">[field cf_another_key]</div>
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Sorry for the late reply.
In your child theme, please add the following piece of code exactly in this file ( create it if it doesn’t exist ):
“wp-content/themes/sweetdate-child/members/single/plugins.php”COPY CODE<?php do_action( 'bp_before_member_plugin_template' ); ?> <?php if ( ! bp_is_current_component_core() ) : ?> <div class="item-list-tabs no-ajax" id="subnav"> <ul> <?php bp_get_options_nav(); ?> <?php do_action( 'bp_member_plugin_options_nav' ); ?> </ul> </div><!-- .item-list-tabs --> <?php endif; ?> <h3><?php do_action( 'bp_template_title' ); ?></h3> <?php do_action( 'bp_template_content' ); ?> <?php do_action( 'bp_after_member_plugin_template' ); ?>
This should fix your problem with your plugin, but unfortunately it might rise another issues with third party buddypress plugins.
Let me know if it worked.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 11, 2015 at 00:55 in reply to: Suggestion – Give us an option to disable the whole public message/@/all members #58260AndreiModeratorHi,
1. You can change that text from buddypress translations, using the following plugin: https://wordpress.org/plugins/loco-translate/ , you just have to search the desired strings.
2. Those messages are wordpress default ones, so you should find them in translations as well, and about the icon, you can hide it using this piece of code, added to “Theme Options > General > Quick CSS”
COPY CODE#kleo-login-result i.icon{ display:none; }
3. This also comes from a translation, but this time it comes from the rtMedia plugin
4. Please understand that this is the way that third party plugins are generating their title tag and that this isn’t something from our side.
5. Can you please give me a link of your site to see by what plugin is that icon generated, because it doesn’t seems to be one designed by us. And about the position of icons, there are plenty of topics responded on the forum and also a lot of them over the internet, but please understand that you will need at least a little bit of attention if not some programming knowledge in order to edit and apply this custom code snippets that you find.
6. I understand your suggestion about this one and we’ll try to add more options in the future.
Please let me know if I can help you with anything else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
This should be the correct placement of the membership check code:
COPY CODE<!-- PROFILE SECTION ================================================ --> <section> <div id="profile"> <?php do_action('bp_before_member_home_content'); ?> <div class="row"> <?php bp_get_template_part('members/single/member-header') ?> </div><!--end row--> <center> <?php @session_start(); $id = bp_loggedin_user_id(); if (empty($id)) { unset($_SESSION['admin_user']); $_SESSION['admin_user'] = array(); } else { $_SESSION['admin_user']['id'] = bp_loggedin_user_id(); $_SESSION['admin_user']['type'] = 3; } global $bp; $_SESSION['front_user']['bid'] = $bp->displayed_user->id; if(pmpro_hasMembershipLevel('5')){ if ($_SESSION['front_user']['bid'] == @$_SESSION['admin_user']['id']) { ?> Manage my services, prices, etc. <button onclick="window.open('https://www.salonidm.com/gzappointment/index.php?controller=GzAdmin&action=dashboard', '_blank', 'height=970,width=1000,toolbar=0,location=0,menubar=0,scrollbars=1');">Edit My Services</button> <?php } else { ?> Click button to view my schedule <button onclick="window.open('https://www.salonidm.com/gzappointment/preview.php', '_blank', 'height=970,width=1000,toolbar=0,location=0,menubar=0,scrollbars=1');">Book me now</button> <?php } } ?> </center> </div><!--end profile--> </section> <!--END PROFILE SECTION-->
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Sorry for the late reply, unfortunately your first question isn’t something very easy to be made, don’t know if it’s even possible, because PMPro processes it’s checkout/payment details only in his assigned pages.
You could deal with this issue by blocking users into selecting a membership level at their first login, before having access to your site, here is a code snippet to help you achieve that:
COPY CODE// Redirect user to levels page until he subscribes for a membership add_action('template_redirect', 'my_membersip_restrict'); function my_membersip_restrict() { global $pmpro_pages, $post; if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) { if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) { wp_redirect( pmpro_url() ); } } }
About your second issue, could you please post some screenshots with the issue so I can understand better what’s happening ?
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Please put this code in your theme child style.css file or in wp-admin, under Theme Options > General Settings > Quick Css
COPY CODE#buddypress a.button.fav::before, #buddypress a.fav.bp-secondary-action::before { content: "\e848"; } #buddypress a.button.unfav::before, #buddypress a.unfav.bp-secondary-action::before { content: "\e84a"; }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi, for the blue labels in menu items use an “em” tag in your title.
For topic suggestions you can use the following plugin: https://wordpress.org/plugins/bbpress-auto-suggest-topics-based-on-new-topic-title/screenshots/And the fix for the 3 columns issue is the following code which should be added to “Theme Options > General Settings > Quick Css”, we’ll also realease this fix in our next update.
COPY CODE#main-container > .row { display: table; } @media screen and (max-width: 767px) { #main-container .template-page.tpl-3ll, #main-container .sidebar.sidebar-3ll, #main-container .template-page.tpl-3rr, #main-container .sidebar.sidebar-3rr, #main-container .template-page.tpl-3lr, #main-container .sidebar.sidebar-3lr { margin-bottom: 0; padding-bottom: 0; } #main-container > .row { display: block; } }
Let me know if it worked correctly.
ThanksHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorI see, then please try to use the following functionm which should be added to your active theme, in the functions.php file, and it should be used in combination with the redirect field provided by the Yoast Seo plugin. It should change your link directly from the listing without any template modifications. Please note that links will be changed in the whole site.
COPY CODEfunction kleo_portfolio_permalink_using_yoast_redirect( $url, $post, $leavename ) { if ( $post->post_type == 'portfolio' ) { $yoast_redirect = get_post_meta($post->ID, '_yoast_wpseo_redirect', true); if($yoast_redirect){ return $yoast_redirect; } } return $url; } add_filter( 'post_type_link', 'kleo_portfolio_permalink_using_yoast_redirect', 10, 3 );
Let me know if it worked.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
I’ve spent some time on this so hope it will work as you expect:
COPY CODEfunction hide_profile_tabs_by_pmpro_level(){ if(function_exists('pmpro_hasMembershipLevel')){ global $bp_tabs, $current_user; $user_level = (int)$current_user->membership_level->ID; $allowed_tabs_per_level = array( '0' => array(), '1' => array('Base'), '2' => array('Base', 'Lifestyle'), ); if($bp_tabs){ foreach($bp_tabs as $bp_tab_id => $bp_tab){ if(!in_array($bp_tab['name'], $allowed_tabs_per_level[$user_level])){ unset($bp_tabs[$bp_tab_id]); } } } } } add_action('bp_after_member_header', 'hide_profile_tabs_by_pmpro_level', 1);
You just have to populate the $allowed_tabs_per_level array with your levels > tab names.
Let me know how it went.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorThis will be the right way to remove it:
COPY CODEfunction kleo_remove_actions(){ remove_action ('kleo_after_breadcrumb', 'bp_add_profile_navigation'); } add_action('after_setup_theme', 'kleo_remove_actions', 9999);
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorThe quick navigation links are added with the following hook:
COPY CODEadd_action('kleo_after_breadcrumb', 'bp_add_profile_navigation');
The last activity of the user can be found in the following file: “wp-content/themes/sweetdate/members/single/member-header.php” around line 36
Starting from here you will have to add some checks and show them only if a certain membership level is found.
A few information about the membership levels checks can be found in the following page:
http://www.paidmembershipspro.com/documentation/require-membership-function/If you can’t manage to do the modifications by yourself then I would recommend you to hire a developer.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorIt’s better like this:
COPY CODE<?php /** * The Header for our theme. * * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ ?><!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]--> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <?php if ( is_page('inscricao')) { echo '<meta name="viewport" content="width=980" />'; }else{ echo '<meta name="viewport" content="width=device-width" />'; } ?> <title><?php wp_title( '|', true, 'right' ); ?></title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorGood news,
I managed to fix your issue by adding the following js in your gallery page, using visual composer “Raw JS” element.
Is not the best solution, but it works in your case, so if you’ll make more pages using Awesome Gallery, then you’ll have to add this js to each of your gallery page.Cheers
COPY CODE<script> function refreshMagnific(){ jQuery('a.asg-lightbox').magnificPopup({ type: 'image', mainClass: 'asg-lightbox', gallery:{ enabled: true } }); } setInterval(refreshMagnific, 100); </script>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi, here is an updated code which you will have to put in your functions.php file:
COPY CODEfunction bbg_change_profile_tab_order() { global $bp; $bp->bp_nav['profile']['position'] = 10; $bp->bp_nav['media']['position'] = 20; $bp->bp_nav['activity']['position'] = 30; $bp->bp_nav['notifications']['position'] = 40; $bp->bp_nav['messages']['position'] = 50; $bp->bp_nav['friends']['position'] = 60; $bp->bp_nav['groups']['position'] = 70; $bp->bp_nav['forums']['position'] = 80; $bp->bp_nav['orders']['position'] = 90; } add_action('bp_init', 'bbg_change_profile_tab_order', 9999 );
Let me know if worked this time.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorWith the following piece of code you can make full width header and footer while keeping boxed layout for the rest of the page, please note that you’ll have to enable your page layout as “full width”.
COPY CODEfunction show_full_width_header_on_boxed_layout(){ echo '</div>'; echo '<div class="kleo-page page-boxed">'; } add_action('kleo_header', 'show_full_width_header_on_boxed_layout', 9999); function show_full_width_footer_on_boxed_layout($sidebar){ if($sidebar == 'footer'){ echo '</div>'; echo '<div class="kleo-page">'; } } add_action('get_sidebar', 'show_full_width_footer_on_boxed_layout', 9999);
Let me know if worked as it should.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorAdd the following code to your functions.php file:
COPY CODEif(!is_user_logged_in()){ function custom_pmpro_url_redirect(){ return home_url().'#register'; } add_action('kleo_pmpro_url_redirect', 'custom_pmpro_url_redirect'); add_action('kleo_pmpro_home_redirect', 'custom_pmpro_url_redirect'); function custom_pmpro_url_redirect_popup_reveal(){ echo '<script> document.addEventListener("DOMContentLoaded", function(event) { var id = window.location.hash.substring(1); if(id == "register"){ jQuery(\'[data-reveal-id="register_panel"]\').click(); } }); </script>'; } add_action('wp_footer', 'custom_pmpro_url_redirect_popup_reveal', 100); }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModerator@Radu , @sharmstr , as you can read in the following page, the problem is generated by an incompatibility between WordPress SEO plugin and buddypress, and there’s nothing wrong in the theme.
https://buddypress.org/support/topic/buddypress-2-2-1-incompatible-with-yoast-seo-botched-page-titles/From the given solutions out there ( as how this incompatibility issue is an older subject out there ), I found the following code to work.
@giorgos , please add the following piece of code in your functions.php file.COPY CODE/** * Fix wpseo title */ add_filter('wpseo_title', 'buddypress_wpseo_title'); function buddypress_wpseo_title($title) { $wpseo = WPSEO_Frontend::get_instance(); $separator = $wpseo->options['separator']; $separator_options = array( 'sc-dash' => '-', 'sc-ndash' => '–', 'sc-mdash' => '—', 'sc-middot' => '·', 'sc-bull' => '•', 'sc-star' => '*', 'sc-smstar' => '⋆', 'sc-pipe' => '|', 'sc-tilde' => '~', 'sc-laquo' => '«', 'sc-raquo' => '»', 'sc-lt' => '<', 'sc-gt' => '>', ); if (array_key_exists($separator, $separator_options)) { $separator = $separator_options[$separator]; } $bp = buddypress(); if (bp_is_user()) { $title = bp_get_displayed_user_fullname() . ' | ' . ucfirst($bp->current_component); } elseif (bp_is_group()) { $title = bp_get_current_group_name() . ' | ' . $bp->bp_options_nav[$bp->groups->current_group->slug][bp_current_action()]['name']; } return $title . ' ' . $separator . ' ' . get_bloginfo(); }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHere is a quick shortcode that i’ve made for you, it will do exactly what you need. Paste the follwing code in your functions.php file.
COPY CODEfunction bp_user_domain_func( $args, $content = '' ) { $args = shortcode_atts( array( 'path' => '', ), $args ); return '<a href="' . bp_loggedin_user_domain() . $args["path"] . '">' . $content . '</a>'; } add_shortcode( 'bp_user_domain', 'bp_user_domain_func' );
Then you can use it in your posts/pages in the following way:
COPY CODE[bp_user_domain path="profile/edit"]edit profile[/bp_user_domain]
Hope this is what you needed.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi, please note that there are no out of the box options to achieve what you want, and that you’ll need some programming skills in order to make this modifications.
Firstly, based on the listing style that you chose, you’ll have to edit some of the following template files:
– standard listing are formatted from files you can find directy in the theme folder named “content-xxx.php”, where xxx is the format of that post.
– grid will use the masonry listing which can be founded here “kleo/page-parts/post-content-masonry.php”
– small left thumb will use the following template file “kleo/page-parts/post-content-small.php”Secondly in order to modify the way the excerpt is made limited, you will have to redefine the following function in your functions.php file, and modify it’s defaults.
COPY CODE\[[^\]]*\]
Let me know if I can help you with something else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
You will have to use the following code in your functions.php file:
COPY CODEfunction filter_kleo_site_style($site_style){ if(is_page('test')){ // change this to the page slug you need to use boxed style $site_style = ' page-boxed'; } return $site_style; } add_filter('kleo_site_style', 'filter_kleo_site_style');
Also, in boxed style you probably will want to style some aspects. You can do so from Theme Options > Layout Options, switch your layout settings on “Boxed”, make all afferent settings, and after that change it back to wide.
Hope this helps you.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi Mate,
Here is a function which helps you redirect people away from the front page if they are logged in.
Add it to your functions.php file. Hope it helps.COPY CODEfunction redirect_front_page_if_logged_in(){ if(is_user_logged_in() && is_front_page()){ wp_redirect('activity'); // change to whatever page slug you want to redirect your users } } add_action('template_redirect', 'redirect_front_page_if_logged_in');
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHello,
Here are the steps to enable portfolio comments:
1. You will need to add the following code snippet inside our “kleo-child/functions.php”:
COPY CODEadd_action('init', 'kleo_add_portfolio_comments_support'); function kleo_add_portfolio_comments_support() { add_post_type_support( 'portfolio', 'comments' ); }
2. You will need to add the single-portfolio.php file in your “kleo-child” folder, which you’ll find it attached below.
3. Because comments support was disabled until now, under the edit page of a portfolio item you will find a meta box called “Discussion”, and you’ll have to edit each of your previous portfolio posts and enable the comments. All new posts will automatically be enabled by default.
Hope this helped you out, and sorry for the late reply.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.AndreiModeratorHi,
1. That redirect is managed by buddypress and does not interfere with login redirects. It’s a “No access” redirect made by buddypress. You can resolve this problem by using the “Theme my login” plugin, which will add a frontend login page which will override the backend login page.
One slight problem at this point because of a small incompatibility bug between Theme my login and BuddyPress, you will need to add the following piece of code to functions.php file from our theme.COPY CODEif (!function_exists('wp_shake_js')) { function wp_shake_js(){} }
2. If you use the solution from step 2, this will be also covered.
Also we plan to add our popup for that link from the activation page, probably in the next update.Let me know how things worked out.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Please add the following css rule in your wp admin, under “Theme Options > General > Quick Css”
COPY CODEbody.woocommerce-checkout .blockUI { z-index:10 !important; }
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Please add the following piece of code to the functions.php file inside our theme.
And don’t forget to modify with your desired instagram url.COPY CODEfunction header_extra_social_icons() { echo '<a href="put-your-instagram-full-url-here" class="has-tip tip-bottom" data-width="210" target="_blank" title="Find us on Instagram"><i class="icon-instagram icon-large"></i></a>'; } add_action('kleo_extra_social_icons', 'header_extra_social_icons');
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 17, 2015 at 00:23 in reply to: Moving video and music feeds from the Media into profile tabs #46310AndreiModeratorHi @odtene, sorry for the late reply.
Unfortunately there’s no such easy option to do what you requested.
I can offer you a start point, but you’ll have to work your own logic from there, and find the right plugins/shortcodes to work with.
The available method it would be of linking the content of a page, to one tab, and in that page you can run shortcodes and whatever more you need. Please note that probably you will need to create some custom styling for elements you want to display there.Here is the piece of code with which you can link a tab to a page, place it in your functions.php file:
COPY CODEfunction kleo_my_page_tab() { global $bp_tabs; $bp_tabs[] = array( 'type' => 'page', 'name' => 'Test', // Here you should place the title of the page 'class' => 'pagetab' ); return $bp_tabs; } add_action('after_setup_theme','kleo_my_page_tab');
Let me know if I can help you with something else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAndreiModeratorHi,
Please add the following piece of css style to your wp admin under “SweetDate > Styling Options > Quick Css”
COPY CODE@media only screen and (max-width: 767px) { #about-meTab .bp-field-name, #about-meTab .bp-field-value { width:48%; margin:0px; display:inline-block !important; clear:none !important; float:left !important; text-align:left; margin-right:5px; margin-bottom:5px; } }
Let me know if I can help you with something else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts