Forum Replies Created
-
Author
-
KieranParticipant
Here’s an article by WP Rocket on clearing the cache http://docs.wp-rocket.me/article/53-clear-wp-rocket-cache Also it would be worth purging any content / switching to development mode if you’re running CloudFlare whilst developing your site.
KieranParticipantThis is just a though regarding the jumping / solid black line behavior.
Can you create a new page for me, fill the page with some dummy content, and set the header to be transparent just like the home page. Publish the page and see if you get the jumping behaviour you spoke of on the homepage, I am guessing there will be no black border when you do this.
Let me know
Kieran.
KieranParticipantHi @kjcarleo
That’s unusual for CSS in child theme style.css not to come through. Is your child theme activated? Do you have a cache on your site/server or CloudFlare? If you do it may well need cleared before you’d see any changes through style.css.
You have two entries for
.kleo-notifications.new-alert
you should remove both entries and replace withCOPY CODE.kleo-notifications.new-alert { background-color: #dd3333; color: #ffffff; position: absolute; top: 18px !important; right: -24px !important; border-radius: 0 !important; }
KieranParticipantIt’ll work fine in the Quick CSS too 🙂
The child theme is used for advanced customizations to WordPress functions and beyond as well as CSS. If you plan to only make small tweaks to the CSS you should continue to use the Quick CSS section within the theme.
KieranParticipantHi @kjcarleo to make the bubble square add this to your child theme style.css
COPY CODE.kleo-notifications.new-alert { border-radius: 0 !important; }
KieranParticipantHi Laura,
I really liked this snippet, saves a lot of time! I modified the above snippet to add US States should anyone be interested.
COPY CODE/* If you are using BP 2.1+, this will insert a state selectbox. Add the function to bp-custom.php and then visit .../wp-admin/users.php?page=bp-profile-setup Remove this function after the field is created. */ function bp_add_custom_state_list() { if ( !xprofile_get_field_id_from_name('state') && 'bp-profile-setup' == $_GET['page'] ) { $state_list_args = array( 'field_group_id' => 1, 'name' => 'state', 'description' => 'Please select your state', 'can_delete' => true, 'field_order' => 2, 'is_required' => false, 'type' => 'selectbox', 'order_by' => 'custom' ); $state_list_id = xprofile_insert_field( $state_list_args ); if ( $state_list_id ) { $states = array( "Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland", "Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey", "New Mexico", "New York", "North Carolina", "North Dakota", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", "Utah", "Vermont", "Virginia", "Washington", "West Virginia", "Wisconsin", "Wyoming" ); foreach ( $states as $state ) { xprofile_insert_field( array( 'field_group_id' => 1, 'parent_id' => $state_list_id, 'type' => 'option', 'name' => $state, 'option_order' => $i++ )); } } } } add_action('bp_init', 'bp_add_custom_state_list');
KieranParticipantThere may be a more dynamic way of targeting this with a little PHP but I am unaware of it if there is.
If you’re using the child theme the following method should work for you – this assumes that you’re running the very latest theme update.
1. Create a folder in your child theme called
page-parts
2. Copy
general-header-section.php
located in the main theme (this can be found at/wp-content/themes/kleo/page-parts/general-header-section.php
) to your newly created folder3. Edit line 152 of the file
general-header-section.php
in your child theme and replace<a href="<?php echo home_url(); ?>">
with<a href="http://www.MYDOMAINNAMEHERE.com">
Remember to always backup the original file locally before making any changes.
KieranParticipantHi @mishkinn
I assume that you’re running bbPress?
Subscriber – The default role assigned to a user for WordPress
Participant – The default role assigned to a user for bbPressIf you’re worried about mail.ru spam, which can be an issue, you could try a plugin like WangGuard https://wordpress.org/plugins/wangguard/ and you’ll be able to set what addresses you allow/disallow.
A pending user is a user who has signed up but has failed to activate their account. Personally, if they’re a pending mail.ru user that is more than two weeks old I would delete them.
Kieran.
KieranParticipantHi @meltdown,
To answer your question in more detail you’d have to be clearer on what it is you wanted to achieve with points 2 and 3. However if you’re comfortable with CSS please see below.
1. Go to Theme Options > Title / Breadcrumb Section > Scroll down to “Title/Breadcrumb Section”. You’ll see that you’re using an em wrap for the piece of text. To make the text appear like the rest of the text on your site you can remove the following
class="muted"
.2. You can alter the appearance of the checkout steps by adding the following with your own custom CSS to your child theme style.css
COPY CODE.woocommerce .checkout-steps { background-color: darkmagenta; color: #ffffff; }
3. As before you can edit the following css and add to your child theme style.css
Apply CouponCOPY CODE.coupon input.button:nth-of-type(2) { background-color: darkmagenta; color: white; }
Update Cart
COPY CODE.totals-wrap input.button:nth-of-type(1) { background-color: darkmagenta; color: #ffffff; }
If you need more specific CSS let me know what you’re after and I’ll update it for you.
KieranParticipantHi @Hanifa this added to your child theme’s style.css should make it disappear.
COPY CODEh2.rtm-gallery-title { display: none; }
This will also make the same title in the BuddyPress account disappear
KieranParticipantYour issue appears to be because you’re pressing share on YouTube to get the URL of the video which uses their own shortening service. You require the full youtube.com url for this to work. You can grab this from your address bar in your browser.
For example the full url for video “The Weeknd – Starboy ft. Daft Punk” is
https://www.youtube.com/watch?v=34Na4j8AVgA
If I press share I get
https://youtu.be/34Na4j8AVgA
I have tested this on a local and a live install for you and found that the first link will work, the second will not.
Hope this helps,
Kieran.
KieranParticipantYou can set WordPress to use a static page as the home page by going to
Settings > Reading > Front page displays > “A static page (select below)”
You’ll then be able to pick your page from the drop down. You should also set a page for your posts to appear in.
KieranParticipantHi @andywillis1960,
You can add a video by doing the following (after selecting format > video)
Scroll down to Theme General Settings > Select Media tab > Video oEmbed URL and paste in your valid URL
Hope this helps 🙂
Kieran.
Attachments:
You must be logged in to view attached files.KieranParticipantHi @Hchy,
If you’re looking to add it above the main content only (so it does not appear above the sidebar) you would do something like
COPY CODEfunction ads_before_content() { echo ' <div style="width:728px;height:90px;background-color:red;display:block;margin:0 auto;"> 728 AD </div> '; } add_action ('kleo_before_main_content', 'ads_before_content');
as for after the main content it would be something like
COPY CODEfunction ads_after_content() { echo ' <div style="width:728px;height:90px;background-color:red;display:block;margin:0 auto;"> 728 AD </div> '; } add_action ('kleo_after_main_content', 'ads_after_content');
The code you shared above would “render something before the main content and sidebar” see here https://archived.seventhqueen.com/documentation/kleo#hooks
Hope this helps 🙂 If I got the wrong end of the stick please accept my apologies for jumping into the conversation.
KieranParticipantHi @oyanren84
You can remove breadcrumbs by going to Theme Options > Title/Breadcrumb > ‘Show breadcrumb’ and select off.
You should be aware though that Google etc like breadcrumbs so you might be better leaving it enabled and hiding them with CSS as Google does see display:none; content unless otherwise explicitly stated.
Thoughts on this @abe as a possible option? On / Hidden / Off.
Kieran.
KieranParticipantHi @cybercreative,
You can change the default sizes by going to
Theme Options > Blog > ‘Enable Custom Image sizes’
Set this option to on and you’ll see a new section appear below.
Change ‘Single post & Standard Blog – Image Width*’ and ‘Single post & Standard Blog – Image Height* to whatever is suitable. You’ll also see an option to crop or not.
Hope this helps,
Kieran.
[attachment file=135549]
Attachments:
You must be logged in to view attached files.KieranParticipantFor some reason it didn’t show properly for the third piece of CSS.
Dots after
COPY CODE.vertical-separator:after { background: #000000 !important; }
KieranParticipantHi @Happiier, you can override the CSS by inserting the below into your child themes style.css (change #000000 to your desired color).
Dots before
COPY CODE.vertical-separator:before { background: #000000 !important; }
Line
COPY CODE.vertical-separator { border-left: 1px solid #000000 !important; }
Dots after
`.vertical-separator:after {
background: #000000 !important;
}’Hope this helps 🙂
September 6, 2016 at 00:14 in reply to: CPT using standard single.php doesn’t have access to post layout [more] #135056KieranParticipantSeptember 4, 2016 at 05:55 in reply to: Finding out all extra information when receiving update emails #134817KieranParticipantYou can view the full changelog for Kleo here
KieranParticipantYou can navigate to Theme Options > General Settings to set the standard and retina logo.
September 2, 2016 at 23:38 in reply to: CPT using standard single.php doesn’t have access to post layout [more] #134741KieranParticipantcustom supports* sorry
September 2, 2016 at 18:47 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #134733KieranParticipantKieranParticipantCould be wrong but this in your child theme should do the trick
COPY CODE.navbar-header { margin-bottom: 10px !important; margin-top: 10px !important; }
Kieran.
KieranParticipantMy two cents worth as a user of Kleo,
In the admin panel select Settings > Permalinks > (select appropriate type) and click save. This solves most permalink/404 issues.
Kieran.
August 27, 2016 at 07:21 in reply to: Trouble with Different Main Menus Logged In Logged Out And Account Page #134056KieranParticipantJust my two cents worth as a user of Kleo, I have used and had much success with Nav Menu Roles plugin, it works out of the box with Kleo. It would allow you to create one menu and target the items of the menu to users that are either anyone, logged out, logged in and additionally it allows you to target by user role (the full member / forum user you spoke of).
You can find it here https://wordpress.org/plugins/nav-menu-roles/
August 27, 2016 at 07:06 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #134055KieranParticipantThanks very much @Radu 🙂
August 24, 2016 at 19:23 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #133714KieranParticipantHi @Radu
As above I have tested this with Twenty Fifteen and Twenty Sixteen. Further I also tested Twenty Fourteen this morning and found the above to still be true. The VC element ‘Activity Page’ is not working with @ mentions.
August 23, 2016 at 10:50 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #133485KieranParticipantThe visual element of @ mentions still isn’t working when using the VC element.
I have been looking into this again, I have found the following using the current WordPress, BuddyPress, KElements and Visual Composer:
– Backend Editor > Add Element > BuddyPress > Activity Page does not work under Kleo (latest), Twenty Sixteen or Twenty Fifteen with @ mentions
– I contacted Visual Composer and they stated that it is a theme built function (Kleo)
– I have run this on a test server as well as a local install and found the same to be true
– @ mentions do still work natively on the actual activity page (as is, out of the box, with BuddyPress)
– I have done all of the usual with regards to finding issues such as disabling all plugins, clearing cache, clearing browser cache and logging in/outKieran.
KieranParticipantWhen I updated the theme to 4.1 I too had an issue with fonts and the menu.
The font appeared as Yantramanav in theme options > fonts (this was not the font I was using).
The site was still using the font of my choice, despite what the theme options said, everywhere except in the menu.
I selected the fonts I wanted it to use again, saved, and it appeared as it should / as expected.
June 1, 2016 at 21:34 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #124005KieranParticipantThis ticket keeps marking itself as resolved, the issue is still present in the latest update.
April 22, 2016 at 21:47 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #118496KieranParticipantHi Radu,
I have updated the theme and I am currently running
WordPress 4.5
BuddyPress 2.5.2
Kleo 4.0.6
Visual Composer 4.11.2.1
K Elements 4.0.5.1I purged the website cache, disabled CloudFlare and cleared my local cache and the issue persists when using Visual Composer to insert the BuddyPress Activity Page element.
KieranParticipantI’ve subbed to this topic as the bug you’re describing is worrying and I wanted to see if it was a specific issue to you, a buddypress issue or a plugin / theme issue (the latter being the least likely) .
I’m not sure if you can but you should probably edit your reply above as you’ve breached data protection for your users and could get sued. Thesee forums do appear in Google search and anyone searching for the persons email or phone number will now know your users intimate and private activities. I’ve got no qualms about your business what so ever, I’m just concerned for you and your users privacy.
Kind Regards,
Kieran.
April 12, 2016 at 03:03 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #115879KieranParticipantThanks for getting back to me @Radu. I look forward to a fix 🙂
April 9, 2016 at 03:04 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #115423KieranParticipantHi @Radu,
I am currently running WordPress, BuddyPress, K Elements, Visual Composer and the Kleo Child theme – everything is up to date.
I get the same issue whether or not I am running a local install, web install and with or without additional plugins.
From your end you should be able to create a new page, use the back-end editor for VC add the BuddyPress Activity Page element, publish and view to get this issue to appear. Using this element you cannot @mention any user in the update box.
April 7, 2016 at 23:28 in reply to: Visual Composer BuddyPress Activity Page not working with @mention user #115176KieranParticipantHi @Laura,
Any news/updates from the higher support level?
Thanks in advance for your response,
Kieran.
-
AuthorPosts