Forum Replies Created
-
Author
-
Kieran_SQModerator
Hi,
With Restrict My Site disabled you could extend this code to suit your needs. This is for BuddyPress by default but you can change the conditions to suit your needs.
To open up your post type and any others you would need to use
is_singular( array( 'post-type-name', 'other-post-type-name' ) )
you can read more about that here https://codex.wordpress.org/Function_Reference/is_singularCOPY CODE// Redirect to register if logged out and page is BuddyPress function kleo_page_template_redirect() { //if not logged in and on a bp page except registration or activation if( ! is_user_logged_in() && ( ( ! bp_is_blog_page() && ! bp_is_activation_page() && ! bp_is_register_page() ) ) ) { wp_redirect( home_url( '/register/' ) ); exit(); } } add_action( 'template_redirect', 'kleo_page_template_redirect' );
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi Piotrek,
I logged into your site and replaced your CSS (below)
COPY CODE#buddypress .activity-list .activity-content .activity-header img.avatar { float: left !important; }
With the below CSS to fix the appearance
COPY CODE#buddypress .activity-list .activity-content .activity-header img.avatar { display: inline-block !important; margin: -5px 5px -8px 2px !important; }
Let me know if this works for you, please clear any caches to see the changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.Kieran_SQModeratorHi,
You can use the below HTML snippet within your page(s) etc to show a form that only searches a specific category
COPY CODE<div id="search-5" class="widget widget_search"><form role="search" method="get" id="searchform" action="http://localhost/kleo/"> <div class="input-group"> <input name="s" id="s" autocomplete="off" type="text" class="ajax_s form-control input-sm" value="" placeholder="Search this category only" style="opacity: 1;"> <input type="hidden" value="32" name="cat" id="specificcat" /> <span class="input-group-btn"> <input type="submit" value="Search" id="searchsubmit" class="button"> </span> </div> </form></div>
Change the value=”32″ in the above example to be the ID of your category and change placeholder=”Search this category only” to your desired term, if any. Make sure to update the action=”” URL to match your own domain.
If you would like to turn this into a shortcode as you describe above please use this PHP snippet instead in your KLEO Child theme’s functions.php file
COPY CODE// Custom Shortcode for specific search // Add Shortcode function custom_shortcode_sq_cat_search() { echo ('<div id="search-5" class="widget widget_search"><form role="search" method="get" id="searchform" action="http://localhost/kleo/"> <div class="input-group"> <input name="s" id="s" autocomplete="off" type="text" class="ajax_s form-control input-sm" value="" placeholder="Search this category only" style="opacity: 1;"> <input type="hidden" value="32" name="cat" id="specificcat" /> <span class="input-group-btn"> <input type="submit" value="Search" id="searchsubmit" class="button"> </span> </div> </form></div>'); } add_shortcode( 'sq-cat-search', 'custom_shortcode_sq_cat_search' );
You will again need to edit the category ID and placeholder text. To use this you will need to enter the below shortcode in your desired location
[sq-cat-search]
If you need to change the shortcode name please do so on the last line of the example where you see ‘sq-cat-search’
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
You can use the below CSS in your KLEO Child theme’s style.css by going to WP Admin > Appearance > Editor > KLEO Child > Style.css or by going to Theme Options > General Settings > Scroll to ‘Quick CSS’
COPY CODE.status-closed .bbp-reply-content { color: red; }
If you would also like to change the link color when closed please use the below CSS
COPY CODE.status-closed .bbp-reply-content a { color: red !important; }
Change the color value from red to your desired color # value. Please clear all of your caches and any CDN to see the changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
To confirm, the correct format would be
current_user_can('administrator') || current_user_can('moderator')
This is for roles, not specific users or usernames, bbPress adds the below roles so you should have a role of moderator
COPY CODEKeymaster – Can create, edit and delete other users’ forums, topics and replies. Can manage Tags, and moderate a forum with the moderation tools. Has access to global forum settings, tools, and importer. Moderator – Can create and edit forums. Can create, edit and delete other users’ topics and replies. Can manage Tags, and moderate a forum with the moderation tools. Participant – Can create and edit their own topics and replies. Spectator – Can only read topics and replies. Blocked – All capabilities are explicitly blocked.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
You will find all of the styling options under WP Admin > Theme Options > Styling Options.
The specific setting for this color is WP Admin > Theme Options > Styling Options > Scroll to: ‘Button Section’ > Option: ‘Buttons Background Color’ and set the value as desired.
Or if you wish you can manually override this color with the below CSS in your SweetDate Child theme’s style.css
COPY CODEdiv.item-list-tabs ul li a span { background: #3a3a3a; color: #b2e3f7; } div.item-list-tabs li#members-all.selected { border-bottom: 3px solid #3a3a3a; } div.item-list-tabs li#members-all.selected:after, div.item-list-tabs li#members-personal.selected:after, .section-members .item-options .selected:after { border-top: 5px solid #3a3a3a; }
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi @hoops,
Please try adding the below CSS to your KLEO Child theme’s style.css via WP Admin > Appearance > Editor > KLEO Child > Style.css or to Theme Options > General Settings > Scroll to: ‘Quick CSS’
COPY CODE#buddypress #activity-stream p img { display: inline; }
Make sure to completely purge any website cache, CDN as well as your front-end cache (Ctrl+F5) to see any changes
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
I double checked the second snippet and it is working as expected on your site via the console. You should only use one snippet or the other, you could add an !important statement to the second snippet to force the issue if you wished.
COPY CODE#buddypress .activity-list .activity-content .activity-header img.avatar { display: none !important; }
There is no need to use the above CSS if you prefer to have it displayed inline rather than hidden.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
To fix the display of this feature please use the below CSS
COPY CODE#buddypress .activity-list .activity-content .activity-header img.avatar { display: inline-block !important; margin: -5px 5px -8px 2px !important; }
If you’d like to remove it please use the below CSS instead
COPY CODE#buddypress .activity-list .activity-content .activity-header img.avatar { display: none; }
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
Please try the below CSS in your BuddyApp Child theme’s style.css
Show all content within post update options area without scroll bars
COPY CODE@media screen and (max-width: 600px) { #buddypress #whats-new-form #whats-new-options {height: auto !important;} }
Or with optional CSS to tidy up the icons area from the third party plugin
COPY CODE@media screen and (max-width: 600px) { #buddypress #whats-new-form #whats-new-options {height: auto !important;} .mpp-upload-buttons {margin-top: 0;padding-right: 0px;float: unset;margin-left: auto;margin-right: auto;} .mpp-upload-buttons a, .entry-content .mpp-upload-buttons a {padding-right: 5px;} }
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
Please try the below CSS to change the height of this section
COPY CODE#header {height: 66px;padding-top: 10px;} .top-bar {min-height: 30px;}
The .top-bar class will reduce the space below the menu items.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
I have logged into your site to check the issue and found that many of the core components including the theme are very much out of date and could be the primary reason behind the issue you’re experiencing.
COPY CODEKLEO version 2.2 to 4.3.2 K Elements version 3.0 to 4.3 WP Bakery version 4.3.4 to 5.4.5
I can see you have set the fields in WP Admin > Theme Options > Theme Update, but it looks like you entered your purchase key in the field titled ‘Themeforest API KEY’ and not your API key.
To generate an API key please login to ThemeForest then go to Account (top right) > Settings > API Keys, enter a label for the API key and click the ‘Generate API Key’ button. Copy the newly created API key into Theme Options > Theme Update and save. Once you have saved this you will need to check WP Admin > Dashboard > Updates for the KLEO theme update and then WP Admin > Appearance > Install Plugins for updates to the plugins.
Please make sure to take a full backup of your WordPress site and database before.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorYes, please add font-style:; to the CSS
for example
COPY CODEdt.bp-field-name { font-style:italic; color: #313131 !important; font-weight: unset; font-size: 16px; }
You can also use initial, inherit, italic, oblique and unset.
If you’re referring to font-family then check this example. Replace console with your desired font family.
COPY CODEdt.bp-field-name { font-family: console; color: #313131 !important; font-weight: unset; font-size: 16px; }
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
Try the below CSS, change the values to suit your needs. Remove font-weight: unset; if you wish to keep the font bold
COPY CODEdt.bp-field-name { color: #313131 !important; font-weight: unset; font-size: 16px; } .regulartab dd p { color: #313131 !important; font-size: 16px; } #profile .regulartab a { color: #313131 !important; font-size: 16px; }
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
You can manually override the colors / style used with the below CSS
COPY CODE.search-item .author a { color: #ab2626 !important; font-weight: bold; font-family: console; font-size: 30px !important; } .search-item .date, .search-item .date a { font-size: 14px; color: #0296c0; font-weight: bold; font-style: unset; font-family: console; } .search-item p { font-size: 18px; color: #0296c0; font-weight: bold; }
Change or remove any values to suit your design requirements.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
I left that line in as an example for you, you can add or remove translations by copying and pasting that line or removing it altogether.
For example
COPY CODE// Translate multiple words function change_translate_text_multiple( $translated ) { $text = array( 'Partecipanti' => 'New Translation 1', 'Articoli' => 'New Translation 2', ); $translated = str_ireplace( array_keys($text), $text, $translated ); return $translated; } add_filter( 'gettext', 'change_translate_text_multiple', 20 );
Or
COPY CODE// Translate multiple words function change_translate_text_multiple( $translated ) { $text = array( 'Partecipanti' => 'New Translation 1', 'Articoli' => 'New Translation 2', 'Old Text 3' => 'New Translation 3', 'Old Text 4' => 'New Translation 4', 'Old Text 5' => 'New Translation 5', 'Old Text 6' => 'New Translation 6', 'Old Text 7' => 'New Translation 7', ); $translated = str_ireplace( array_keys($text), $text, $translated ); return $translated; } add_filter( 'gettext', 'change_translate_text_multiple', 20 );
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
As per your screenshot
I have added the below CSS to your style.css to rectify the first avatar/name issue as well as showing the full name that was going off screen
COPY CODE#bbpress-forums .bbp-topics .bbp-body ul.topic li.bbp-topic-title .bbp-topic-meta .bbp-topic-started-by .bbp-author-avatar {display: none;} #bbpress-forums p.bbp-topic-meta span {white-space: inherit;}
With regards to the Partecipanti / Articoli issue, it is simply exceeding the space available – changing the words to something shorter may be of use. You can either translate this word in bbPress with Loco Translate or WPML if you’re already using them or use the below snippet in your BuddyApp Child theme’s functions.php file
COPY CODE// Translate multiple words function change_translate_text_multiple( $translated ) { $text = array( 'Partecipanti' => 'New Translation 1', 'Articoli' => 'New Translation 2', 'Old Text 3' => 'New Translation 3', ); $translated = str_ireplace( array_keys($text), $text, $translated ); return $translated; } add_filter( 'gettext', 'change_translate_text_multiple', 20 );
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
I checked the forum page and saw that when the words appeared in Italian it was a poor fit visually. I have added the below CSS to your BuddyApp Child theme’s style.css in WP Admin > Appearance > Editor > BuddyApp Child > Style.css to add reduce the main column size and increase columns two and three.
COPY CODE@media only screen and (max-width: 600px) { li.bbp-forum-info, li.bbp-topic-title {width: 35%;} li.bbp-forum-reply-count, li.bbp-forum-topic-count, li.bbp-topic-reply-count, li.bbp-topic-voice-count {width: 20%;} li.bbp-forum-reply-count {padding-left: 8px;} }
As this is a mobile display change you may need to completely purge your mobile browsers cache (except for passwords and form data) to see the changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
You can use the below CSS to override the general class .button in your BuddyApp Child theme’s style.css by going to WP Admin > Appearance > Editor > BuddyApp Child > Style.css
COPY CODE.button { border-radius: 10px !important; letter-spacing: 0.3em !important; }
Update the values above with your desired choices, save and clear your cache(s) to see the changes.
This change .buttons in general. If there is a specific element you wish to update please let me know what/where to update and I will be happy to provide you with the specific CSS.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
I’ll respond in the same numbered format for ease
1. You can remove members from the directory by using some custom code in your KLEO Child theme’s functions.php or in bp-custom.php in the /wp-content/plugins/ folder (you will need to create this file yourself).
You can see the code here https://buddydev.com/buddypress/hiding-users-on-buddypress-based-site/.
2. Please use the below CSS in your KLEO Child theme’s style.css by going to WP Admin > Appearance > Editor > KLEO Child > Style.css
#buddypress div.item-list-tabs#subnav {display: none;}
If you’re already using Loco Translate or WPML you can translate the search string with them by translating KLEO and BuddyPress. If you’re not then you can use the below snippet in your KLEO Child theme’s functions.php to translate the text
COPY CODEfunction change_translate_text_multiple( $translated ) { $text = array( 'Old Text 1' => 'New Translation 1', 'Old Text 2' => 'New Translation 2', 'Old Text 3' => 'New Translation 3', ); $translated = str_ireplace( array_keys($text), $text, $translated ); return $translated; } add_filter( 'gettext', 'change_translate_text_multiple', 20 );
If you only need to translate one string you can removed the below lines
COPY CODE'Old Text 2' => 'New Translation 2', 'Old Text 3' => 'New Translation 3',
3. You can use the below code in your KLEO Child theme’s functions.php file to show content on the BuddyPress Members Directory only
COPY CODE// Add content to BuddyPress Members Directory add_action('kleo_before_content','add_content_to_bpmemdir'); function add_content_to_bpmemdir() { if ( bp_is_members_directory() ) { echo do_shortcode('[MYSHORTCODE]'); } }
Replace [MYSHORTCODE] with your WP Bakery (formerly Visual Composer) shortcodes. If you do not wish to use shortcodes please use the below code instead
COPY CODE// Add content to BuddyPress Members Directory add_action('kleo_before_content','add_content_to_bpmemdir'); function add_content_to_bpmemdir() { if ( bp_is_members_directory() ) { echo ('My content here'); } }
You can change where this appears in the page by changing the value kleo_before_content to one of the other theme hooks available to you. The theme hooks available to you are
COPY CODEkleo_after_body - You can use it to add content just after body tag opens kleo_header - Used to add the header to the page - @hooked kleo_show_header kleo_before_main - goes inside div#main; after Header and Breadcrumb section kleo_before_content - render something before the main content and sidebar kleo_before_main_content - render something above the main content only kleo_after_main_content - render something below the main content only kleo_after_content - render something after the main content and sidebar but still in the main section(with classes container-wrap & main-color) kleo_after_main - render something after the main content and sidebar but right before the closing div#main HTML tag kleo_after_footer - render something after footer content kleo_after_page - render something after closing #page HTML tag
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
To address the styling issue I have added the below CSS to WP Admin > Appearance > Editor > BuddyApp Child > Style.css
COPY CODE#bbpress-forums .bbp-search-form #bbp_search:focus { color: #2b2b2b; background-color: #ffffff; }
Please update the color value 2b2b2b to your desired font color.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
The second avatar is feature of BuddyPress that wasn’t meant to be shown in KLEO. The recent update changed this and revealed it. If you would like to keep it in view and inline then please use the below CSS instead of the CSS I shared earlier.
COPY CODE#buddypress .activity-list .activity-content .activity-header img.avatar { display: inline-block !important; margin: -5px 5px -8px 2px !important; }
All the best,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
I wasn’t able to apply a fix for you as the account you shared was not an administrator. To fix this issue please add the below CSS to your KLEO Child theme’s style.css by going to WP Admin > Appearance > Editor > KLEO Child > Style.css
COPY CODE#buddypress #activity-stream p img { display: none; }
Clear your WordPress cache, any CDN and delete your local cache (Ctrl+F5) to see any changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi Yin,
You can remove the latest update from the profile with the below CSS
COPY CODE#item-header-content #latest-update { display: none; }
If you would like to also remove the latest update from the members directory you can use this CSS instead
COPY CODE#item-header-content #latest-update { display: none; } #buddypress #members-list .update { display: none; }
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
January 21, 2018 at 20:27 in reply to: The uploaded file exceeds the upload_max_filesize directive #186499Kieran_SQModeratorNot marked as solutionKieran_SQModeratorAh I see, my apologies. Please try the below CSS to change the display for mobile
COPY CODE@media only screen and (max-width: 767px) { .dl-horizontal dt {float: left;width: 30%;} }
Change the 30% value to a larger value if you find you need it. You may need to clear your mobile browser cache completely to see any changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
Please try the below CSS to change the font-family
COPY CODE#profile dl.tabs.pill.custom { font-family: monospace; }
Replace monospace with your desired font
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
You can use the below CSS to override the default color of the online status indicator.
COPY CODE.avatar span.online { background-color: #0296c0; }
Change the # value to suit your needs and clear your cache(s) to see changes.
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
I have logged in for you and removed the lines 92-95 from wp-config.php, the errors are no longer present.
COPY CODEdefine( 'WP_CRON_LOCK_TIMEOUT', 120 ); define( 'AUTOSAVE_INTERVAL', 300 ); define( 'WP_POST_REVISIONS', 5 ); define( 'EMPTY_TRASH_DAYS', 7 );
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
Thanks for contacting us about issues you’re having with WordPress, the errors shown in your screenshot will are be related to any changes Radu will have made for you or the theme as they’re coming from wp-config.php (a core WordPress configuration file) and we make no changes there. You can see this by following the path in the error messages (below).
COPY CODENotice: Constant WP_CRON_LOCK_TIMEOUT already defined in /home4/eumelloc/public_html/wp-config.php on line 92 Notice: Constant AUTOSAVE_INTERVAL already defined in /home4/eumelloc/public_html/wp-config.php on line 93 Notice: Constant WP_POST_REVISIONS already defined in /home4/eumelloc/public_html/wp-config.php on line 94 Notice: Constant EMPTY_TRASH_DAYS already defined in /home4/eumelloc/public_html/wp-config.php on line 95
Have you recently installed a plugin that has anything to do with performance?
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
Please use the below CSS in your SweetDate Child theme’s style.css by going to WP Admin > Appearance > Editor > SweetDate Child > Style.css or in Quick CSS by going to WP Admin > Theme Options > Styling Options > Scroll to: ‘Quick CSS’
COPY CODE#breadcrumbs-wrapp .inline-list { display: none; }
Make sure to clear all of your caches to see any changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Kieran_SQModeratorHi,
Please use the below CSS in either your KLEO Child theme’s style.css by going to WP Admin > Appearance > Editor > KLEO Child > Style.css or in Theme Options > General Settings > Scroll to: ‘Quick CSS’. Make sure to clear all of your caches to see the changes. Your mobile devices may need their browsers entire local data (except form data and passwords) deleted to see the changes.
COPY CODE/* Various spacing for contact form */ @media screen and (min-width: 1440px) { .kleo-quick-contact-wrapper {right: 180px;} } @media screen and (min-width: 768px) { .kleo-quick-contact-wrapper {right: 100px;} } @media screen and (min-width: 480px) { .kleo-quick-contact-wrapper {right: 30px;} } @media screen and (min-width: 360px) { .kleo-quick-contact-wrapper {right: 20px;} }
To hide the arrow below/around the contact form please use the below CSS
#kleo-quick-contact .bottom-arrow {display: none;}
The envelope icon can be change with the following CSS
.kleo-quick-contact-wrapper .icon-mail-alt:before {content:'e87e' !important;}
In the above example e87e changes the icon from mail to cart. You will need to identify which icon you wish to use and update the value in the above CSS. The easiest way to do this is to see a menu to use the icon you wish, right click the icon, click inspect, in the console window that opens select the :before that appears below the i and you will see the correct value appear in the CSS inspector (see screenshot). If you are unable to do this please add an icon to a menu or page and share the page with me, letting me know which icon it is, and I will send you the value.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.January 14, 2018 at 21:06 in reply to: Do not show post meta in archive view for certain category #185808Kieran_SQModeratorHi,
I see now, my apologies. As it stands there is no user ID class generated, you would need to edit the below files after copying them into your child theme with your own custom PHP to achieve this. You will need to edit line 12 of these files to add your user class.
COPY CODE/wp-content/themes/kleo/page-parts/post-content-small.php /wp-content/themes/kleo/page-parts/post-content-masonry.php /wp-content/themes/kleo/page-parts/post-content-carousel.php
The PHP would be
author-ID-<?php the_author_meta( 'ID' ); ?>
post-content-small.php line 12
<div class="row post-content animated animate-when-almost-visible el-appear author-ID-<?php the_author_meta( 'ID' ); ?>">
post-content-masonry.php line 12
<div class="post-content animated animate-when-almost-visible el-appear author-ID-<?php the_author_meta( 'ID' ); ?>">
post-content-carousel.php line 12
<li id="post-<?php the_ID(); ?>" <?php post_class(array("post-item col-sm-4")); ?> class=" author-ID-<?php the_author_meta( 'ID' ); ?>">
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
January 14, 2018 at 20:26 in reply to: Do not show post meta in archive view for certain category #185804Kieran_SQModeratorHi,
For this view of posts you can use the class .small-listing before any element you wish to target. As an example the below CSS targets the post-meta only if the class small-listing is present before.
COPY CODE.small-listing .post-header .post-meta { display: none !important; }
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts