Forum Replies Created
-
Author
-
sharmstr
ModeratorDid you assign them to the correct menu and correct location?
Apperance – Menus – Manage Locations
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI didn’t edit the code for you. I just gave the functions you need to edit.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorCool. Glad you sorted it; it was only a guess.
You should read the woocommerce docs 🙂 http://docs.woothemes.com/document/woocommerce-widgets/
Kleo only stylizes the output generated from the woocommerce plugin.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI just tested the hack and it works. Here’s the VC code. Just change all occurances of “42” to whatever category you want.
COPY CODE[vc_row][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][/vc_row]
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThat, I do not know the answer to. Lets see what the kleo team has to say about that.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI just thought of a hack that might work if you can’t figure it out via the shortcode. You could possibly use a 4 column row, then in each column, add the product_category shortcode, but set it to display 1 category and specify the category id.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorHmmmmm, maybe not. Looks like only name and date are valid. I wonder if there is a plugin for that?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorSorry. My point was that its a function of woocommerce and not kleo. Did you search for an answer on the woocommerce forum? Looks like instead of sort by ‘name’ you can sort by ‘category order’.
https://support.woothemes.com/hc/communities/public/questions/202745676-Sort-categories?locale=en-us
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThey are releasing an update soon that will have them.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderatorhttp://shabushabu.eu/reordering-buddypress-group-tabs/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorHey Pedro – Search my friend. Been answered many many times.
https://archived.seventhqueen.com/forums/topic/blog-post-next-buttons
https://archived.seventhqueen.com/forums/topic/prev-next-postsHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderatorget_stylesheet_uri looks in your child theme. Read the codex: http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThere isnt a setting for that. You’ll have to customize the kleo_contact_form and the kleo_sendmail functions using your child theme functions.php file. Here’s the form code you need to edit
COPY CODEfunction kleo_contact_form( $atts, $content = null ) { extract(shortcode_atts(array( 'title' => 'CONTACT US' ), $atts)); $output = ''; $output .= '<div class="kleo-quick-contact-wrapper">' .'<a href="#"><i class="icon-mail-alt"></i></a>' .'<div id="kleo-quick-contact">' .'<h4 class="kleo-qc-title">'. $title .'</h4>' .'<p>'. do_shortcode($content).'</p>' .'<form class="kleo-contact-form" action="#" method="post" novalidate>' .'<input type="text" placeholder="'.__("Your Name",'kleo_framework').'" required id="contact_name" name="contact_name" class="form-control" value="" tabindex="276" />' .'<input type="email" required placeholder="' . __("Your Email",'kleo_framework') . '" id="contact_email" name="contact_email" class="form-control" value="" tabindex="277" />' .'<textarea placeholder="' . __("Type your message...",'kleo_framework') . '" required id="contact_content" name="contact_content" class="form-control" tabindex="278"></textarea>' .'<input type="hidden" name="action" value="kleo_sendmail">' .'<button tabindex="279" class="btn btn-default pull-right" type="submit">'. __("Send",'kleo_framework').'</button>' .'<div class="kleo-contact-loading">'. __("Sending",'kleo_framework').' <i class="icon-spinner icon-spin icon-large"></i></div>' .'<div class="kleo-contact-success"> </div>' .'</form>' .'<div class="bottom-arrow"></div>' .'</div>' .'</div><!--end kleo-quick-contact-wrapper-->'; return $output; } add_shortcode('kleo_contact_form', 'kleo_contact_form'); function kleo_sendmail() { if(isset($_POST['action'])) { $error_tpl = "<span class='mail-error'>%s</span>"; //contact name if(trim($_POST['contact_name']) === '') { printf($error_tpl, __('Please enter your name.','kleo_framework') ); die(); } else { $name = trim($_POST['contact_name']); } ///contact email if(trim($_POST['contact_email']) === '') { printf($error_tpl, __('Please enter your email address.','kleo_framework') ); die(); } elseif (!preg_match("/^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+.[a-z]{2,4}$/i", trim($_POST['contact_email']))) { printf($error_tpl, __('You entered an invalid email address.','kleo_framework') ); die(); } else { $email = trim($_POST['contact_email']); } //message if(trim($_POST['contact_content']) === '') { printf($error_tpl, __('Please enter a message.','kleo_framework') ); die(); } else { if(function_exists('stripslashes')) { $comment = stripslashes(trim($_POST['contact_content'])); } else { $comment = trim($_POST['contact_content']); } } $emailTo = sq_option('contact_form_to',''); if (!isset($emailTo) || ($emailTo == '') ) { $emailTo = get_option('admin_email'); } $subject = __('Contact Form Message','kleo_framework'); apply_filters('kleo_contact_form_subject',$subject); $body = __("You received a new contact form message:", 'kleo_framework'); $body .= __("Name: ", 'kleo_framework') . $name . "<br>"; $body .= __("Email: ", 'kleo_framework') .$email . "<br>" ; $body .= __("Message: ", 'kleo_framework') . $comment . "<br>"; $headers[] = "Content-type: text/html"; $headers[] = "Reply-To: $name <$email>"; apply_filters('kleo_contact_form_headers',$headers); if(wp_mail($emailTo, $subject, $body, $headers)) { echo '<span class="mail-success">' . __("Thank you. Your message has been sent.", 'kleo_framework').' <i class="icon-ok icon-large"></i></span>'; do_action('kleo_after_contact_form_mail_send', $name, $email, $comment); } else { printf($error_tpl, __("Mail couldn't be sent. Please try again!",'kleo_framework') ); } } else { printf($error_tpl, __("Unknown error ocurred. Please try again!",'kleo_framework') ); } die(); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorCool. Will do.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorBuddypress adds those by default. Some people aren’t using Buddypress so kleo has a set as well. Just use the Kleo ones.
The accounts aren’t separate. Buddypress uses wordpress accounts, but adds extra profile information.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorHmmm. Could be a few reasons. It wont show up when viewing a product page, only when viewing a category page. Do you have stock of those items? Maybe the best thing is to respond privately with a link and access so I can see what’s going on.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorHello. That’s a woocommerce shortcode. Documentation on it is here: http://docs.woothemes.com/document/woocommerce-shortcodes/#section-13
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorLooks like you fixed it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorDefinitely doable. I haven’t tried to do this, but the first thing that pops into my head is set up everything in Theme Options to what you want to display for users. Then in your childs functions.php file, add a function that will check to see if the logged in user is a moderator or an admin and load a custom css file if so. Something along the lines of (note, this is untested code)
COPY CODEif ( current_user_can( 'moderate' ) ) { wp_enqueue_style( 'moderator-styel', get_stylesheet_uri() ); } else if ( current_user_can( 'edit_posts' ) ) { wp_enqueue_style( 'admin-style', get_stylesheet_uri() ); }
Then to handle the styling by user type in the activity feed, you’ll have to copy the kleo/buddypress/activity/entry.php file to your child theme and edit it to get the activity user id. Once you have that you can see if the user is an admin or moderator and add different css classes to the divs you want to change.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorDid you also update k-elements to 2.2?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorHmm. Just tested this and I’m not having any problems showing 2 or 6. Do you have caching enabled, maybe?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 7, 2014 at 13:29 in reply to: Buddypress – whats-new-options – ajax no show on one server #37974sharmstr
ModeratorYou’re not the only one having that exact issue when hosting with WPEngine
https://archived.seventhqueen.com/forums/topic/submit-button-not-showing-up-for-public-message
https://archived.seventhqueen.com/forums/topic/attachment-and-post-buttons-for-whats-new-posts-on-groups-were-hiddenI dont know if either of those two ever sorted it out with WPEngine, but the second link has some code we came up with to band-aid it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorYou’re still not using the child theme.
In any case, I added some code that prints out which file is being used to print out parts of the page. You say that you tried disabling all plugins and it still didnt work. Well, here’s you’re culprit
COPY CODE<!– Template Part: members/single/activity-wall.php –>
<div class=”item-list-tabs no-ajax” id=”subnav” role=”navigation”>
See how the ul is missing the class=”repsonsive-tabs”?
I deactivated buddypress wall and the +- shows up. You have 94 plugins installed. You’re going to have issues.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorIf it were me, I’d only touch it on the single.php page. Then in my functions.php file, I’d do something like the following so you dont have to keep child copies of all the content-xxx files
COPY CODEfunction kleo_entry_meta($echo=true, $att=array()) { if (get_post_type() == 'yourcpt') { $meta_list = array(); // Translators: used between list items, there is a space after the comma. $categories_list = get_the_category_list( __( ', ', 'kleo_framework' ) ); // Translators: used between list items, there is a space after the comma. $tag_list = get_the_tag_list( '', __( ', ', 'kleo_framework' ) ); $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); $author = sprintf( '<a href="%1$s" title="%2$s" rel="author">%3$s</a>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'kleo_framework' ), get_the_author() ) ), get_the_author() ); $meta_list[] = '<small class="meta-author">'.$author.'</small>'; $meta_list[] = '<small>'.$date.'</small>'; $cat_tag = array(); if ( $categories_list ) { $cat_tag[] = $categories_list; } if ($tag_list) { $cat_tag[] = $tag_list; } if (!empty($cat_tag)) { $meta_list[] = '<small class="meta-category">'.implode(", ",$cat_tag).'</small>'; } //comments if (!isset($att['comments']) || (isset($att['comments']) && $att['comments'] !== false)) { $meta_list[] = '<small class="meta-comment-count"><a href="'. get_permalink().'#comments">'.get_comments_number().' <i class="icon-chat-1 hover-tip" data-original-title="'.sprintf( _n( 'This article has one comment', 'This article has %1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'" data-toggle="tooltip" data-placement="top"></i></a></small>'; } if ($echo) { echo implode(", ", $meta_list); } else { return implode(", ", $meta_list); } } }
Just change ‘yourcpt’ to whatever your cpt is.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorWell, that only sets the css class for the div. The actual meta info is printed out later in one of the content-xxx files.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 6, 2014 at 22:06 in reply to: Add Revolution Slider to Buddypress "Sitewide Activity" Page #37925sharmstr
ModeratorWhat abe meant by buddypress folder is the buddypress folder in the kleo theme. Copy /kleo/buddypress/activity/index.php to your child theme using the same directory structure. Also, normally you’d do a ‘do_shortcode’, but rev slider has its own function which is putRevSlider.
COPY CODE<?php putRevSlider("your-slider-name"); ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorLooks like you changed the password to access the site. I need that too please.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderatorsweet!
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderatormoderator dash?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorYou need to keep it enabled.
You can’t trigger it using the Kleo “My Account” menu item. You can create a menu item called “My Account” and add the trigger to that, but it wont have the user avatar.
Create a new menu for the side menu. Add what ever you want to it (links to buddypress profile items). Assign that new menu to “Side Menu”.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorYou’re not doing anything wrong. My Account is a special menu item that already has a jQuery trigger assigned to it. As an alternative, you can add a menu item under My Account and add the side menu trigger to that.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorSounds like you’re trying to import the plugin zip file and not the demo slider zip file. The demos are at
/main files/demo content/revolution slider/
There are 6 demos to choose from.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorYou can create your own page, or use the community demo page and add your blog posts to it. Just go into page editor and use visual composer to add one of following
– posts grid
– post carousel
– wp recent postsHere’s and example of a page that uses the Posts Grid shortcode: http://seventhqueen.com/themes/kleo/pinterest/
Let me know if that’s what you’re after. If not reply back with more info on what exactly you’re trying to achieve.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorLOL. When I first read about the snow element, I rolled my eyes thinking back 10 years ago and the ugly snow effect that people used. I should have known that you guys wouldn’t release anything ugly. That snow effect is pretty damn cool.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThe featured posts above the blog.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorCan you respond privately with ftp access to your site. I want to look at your files.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorWhat I mean is that I read your latest response to the topic saying that you were going to wait to hear from abe before applying the previous fix he gave you. Hope that makes more sense.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderator*hive five* Life will be so much easier now. Also just read your update on the hosted video issue. Good idea on waiting.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderator1 – You dont really need to know what the UL is. I’m merely telling you that’s why its not working. Something is overriding that menu so its not producing the correct class for the url. You need to figure out what plugin or what changes you have made to cause that.
2 – K-elements is in the zip file you download from Theme Forest.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorHavent used it and there might be other plugins https://wordpress.org/plugins/product-enquiry-for-woocommerce/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts