Forum Replies Created
-
Author
-
June 22, 2018 at 06:39 in reply to: How to sidewide hide theme header and input a shortcode menu? #201525alexliiParticipant
Other method that you can try it’s to comment do action kleo header and to add below echo do shortcode your code
Hi Radu,
Thanks, I can upload the menu project by Hype official wordpress plugin:https://wordpress.org/plugins/tumult-hype-animations/
and I can use those animations by shortcode in wordpress, and all of animation project works well.
My question is how to use this method with the one you send me last time please:
COPY CODEif(get_current_blog_id() == '1') { //header content here }
I mean I need set different custom Animation menu for different Blog ID by using Hype shortcode in your method.
Thanks so much, and have a nice day.
Alex
June 16, 2018 at 07:23 in reply to: How to sidewide hide theme header and input a shortcode menu? #200920alexliiParticipantOh, really sorry, these lines:
<script type=”text/javascript” charset=”utf-8″ src=”topics_menu.hyperesources/topicsmenu_hype_generated_script.js?83225″></script>and please check the attached topics_menu.html
Attachments:
You must be logged in to view attached files.June 16, 2018 at 07:18 in reply to: How to sidewide hide theme header and input a shortcode menu? #200919alexliiParticipantSorry, I copied these line into header.php:
<script type=”text/javascript” charset=”utf-8″ src=”topics_menu.hyperesources/topicsmenu_hype_generated_script.js?83225″></script>June 16, 2018 at 07:15 in reply to: How to sidewide hide theme header and input a shortcode menu? #200918alexliiParticipantHi Radu,
Greatly thanks, I am trying to input a custom header menus built by Hype (https://tumult.com), so that it could show most great animation style.
And here is my test process, but it show a white page, I understand this might be out of your support, so your support here are highly appreciated:
1# I upload Hype test menu resource to wordpress project directory, and I can access it, and please check at: https://lovcour.com/hype%20menu/topics_menu/topics_menu.html
2# here is the content of topics_menu.html file:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<meta http-equiv=”X-UA-Compatible” content=”chrome=1,IE=edge” />
<title>topics_menu</title>
<style>
html {
height:100%;
}
body {
background-color:#FFFFFF;
margin:0;
height:100%;
}
</style>
<!– copy these lines to your document head: –><meta name=”viewport” content=”user-scalable=yes, width=900″ />
<link href=’https://fonts.googleapis.com/css?family=PT+Sans&subset=latin’ rel=’stylesheet’ type=’text/css’><!– end copy –>
</head>
<body>
<!– copy these lines to your document: –><script type=”text/javascript” charset=”utf-8″ src=”topics_menu.hyperesources/topicsmenu_hype_generated_script.js?83225″></script><!– end copy –>
<!– text content for search engines: –>
PROFESSIONAL LEADERSHIPCRITICAL THINKINGSELF – AWARENESSREFLECTIVE PRACTICEMY CAREER GAME PLANCREATION OF PROFESSIONAL PORTFOLIOACADEMIC SUCCESS STRATEGIESTHE FUTURE OF WORKTHRIVING IN CHAOSTHE ART OF PERSUASION<!– end text content: –>
</body>
</html>3# I copied the following lines into header.php:
<script type=”text/javascript” charset=”utf-8″ src=”topics_menu.hyperesources/topicsmenu_hype_generated_script.js?83225″></script>4# the final header.php content as below:
<?php
/**
* The Header for our theme
*
* Displays all of the <head> section and everything up till*
* @package WordPress
* @subpackage Kleo
* @since Kleo 1.0
*/
/* For wp-activate.php page */
if ( defined( ‘WP_INSTALLING’ ) && WP_INSTALLING == true && ! function_exists( ‘kleo_setup’ ) ) {
require_once dirname( __FILE__ ) . ‘/functions.php’;
}
?><!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 IE 9]>
<html class=”no-js lt-ie10″ <?php language_attributes(); ?>><![endif]–>
<!–[if gt IE 9]><!–>
<html class=”no-js” <?php language_attributes(); ?>>
<!–<![endif]–>
<head>
<meta http-equiv=”X-UA-Compatible” content=”IE=9; IE=8; IE=7; IE=EDGE”/>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”><!– Fav and touch icons –>
<?php if ( sq_option_url( ‘favicon’ ) ) { ?>
<link rel=”shortcut icon” href=”<?php echo sq_option_url( ‘favicon’ ); ?>”>
<?php } ?>
<?php if ( sq_option_url( ‘apple57’ ) ) { ?>
<link rel=”apple-touch-icon-precomposed” href=”<?php echo sq_option_url( ‘apple57’ ); ?>”>
<?php } ?>
<?php if ( sq_option_url( ‘apple72’ ) ) { ?>
<link rel=”apple-touch-icon-precomposed” sizes=”72×72″ href=”<?php echo sq_option_url( ‘apple72’ ); ?>”>
<?php } ?>
<?php if ( sq_option_url( ‘apple114’ ) ) { ?>
<link rel=”apple-touch-icon-precomposed” sizes=”114×114″ href=”<?php echo sq_option_url( ‘apple114’ ); ?>”>
<?php } ?>
<?php if ( sq_option_url( ‘apple144’ ) ) { ?>
<link rel=”apple-touch-icon-precomposed” sizes=”144×144″ href=”<?php echo sq_option_url( ‘apple144’ ); ?>”>
<?php } ?><!– HTML5 shim, for IE6-8 support of HTML5 elements –>
<!–[if lt IE 9]>
<script src=”<?php echo get_template_directory_uri(); ?>/assets/js/html5shiv.js”></script>
<![endif]–><!–[if IE 7]>
<link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/assets/css/fontello-ie7.css”>
<![endif]–><?php
if ( function_exists( ‘bp_is_active’ ) ) {
bp_head();
}
?><?php wp_head(); ?>
</head><?php
/***************************************************
* :: Some header customizations
***************************************************/$site_style = sq_option( ‘site_style’, ‘wide’ ) == ‘boxed’ ? ‘ page-boxed’ : ”;
$site_style = apply_filters( ‘kleo_site_style’, $site_style );
?><body <?php body_class(); ?> <?php kleo_schema_org_markup(); ?>>
<?php do_action( ‘kleo_after_body’ ); ?>
<!– PAGE LAYOUT
================================================ –>
<!–Attributes–>“><!– HEADER SECTION
================================================ –>
<?php
/**
* Header section
*
* @hooked kleo_show_header
*/
do_action( ‘kleo_header’ );
?><!– MAIN SECTION
================================================ –><?php
/**
* Hook into this action if you want to display something before any Main content
*/
do_action( ‘kleo_before_main’ );if(get_current_blog_id() == ‘2’) {
<script type=”text/javascript” charset=”utf-8″ src=”topics_menu.hyperesources/topicsmenu_hype_generated_script.js?83225″></script>}
———————–
Would you please let me know what is wrong with my contest please?
Thanks so much.
Alex
alexliiParticipantHi Radu,
How is going? Thanks for your support to make this topic as feature request.
I love Kleo, and I already recommend several friends to use it from last year.
The only disadvantages of Kleo is not so quite friendly and flexible to Woo-commerce, we indeed hope you can take this as consideration, and hope Kleo with great prospect.Here is just a reference for you:
http://demo3.wpopal.com/boost/Thanks so much.
Alex
June 13, 2018 at 06:29 in reply to: How to sidewide hide theme header and input a shortcode menu? #200699alexliiParticipantHi,
I am using Kleo in our multisite, so it is in used in several subsites.
In this case, it will change all of header menu design of all of subsites please?
Thanks
Alex
alexliiParticipantHi Anna,
I tried both your code lines and the customed color in theme quick css option:
COPY CODE.masonry-listing .format-image .post-title { border-left: 3px solid #00b9f7 !important; }
but it seems not work, would you please have a check:
I am sure that I already clear all the cache both on server end and browser end.
Thanks.
Alex
alexliiParticipantThanks. I am not sure what is the reason, the following message for your reference:
there is external resource in theme file:
http://cdn.jsdelivr.net/select2/3.5.2/select2.cssPlease check the screenshot:
http://prntscr.com/jr04d3If it is the reason, please try to make these assets run locally since those CDN service are not reachable for most Asia countries, thanks.
alexliiParticipantoh, if so, just please update Kleo theme since this issue occurs from theme internally, and it is possible to exclude side menu from “PERFORMANCE and SPEED”, right?
A\
May 21, 2018 at 03:45 in reply to: buddypress layout does not work well after buddypress upgrade #198424alexliiParticipantYes, thanks for your quick fix, it works well now.
Thanks, and have a nice day.
Alex
May 18, 2018 at 20:51 in reply to: buddypress layout does not work well after buddypress upgrade #198076alexliiParticipantHi Radu,
Thanks for reply, after test, I found it does not work even if BP was downgraded to the version 2.9.3.
it seems save something into database.
Thanks.
Alex
May 18, 2018 at 14:47 in reply to: buddypress layout does not work well after buddypress upgrade #198033alexliiParticipantwell, it seems the common issue after Buddyrpess upgrade yesterday…
alexliiParticipantKieran,
it seems there are some thing different:
http://prntscr.com/j5g3qn
http://prntscr.com/j5g3z9
http://prntscr.com/j5g4ayin Chinese, there is no difference between single and plural, and try to use:
Notifications %s : 通知
Friends %s : 朋友
Groups %s : 群and I even tried local Poedit to edit them and upload them by Ftp to server per this instruction:
https://codex.buddypress.org/translations/all translations works, except those three words.
you know they are all CAPITAL letter at frontend:
NOTIFICATIONS
FRIENDS
GROUPSbut in PO file, there are lowercase letter.
so, I am just wonder whether you wrote those threee words in PHP codes, I mean hard code, please confirm with that, thanks a lot.
Alex
alexliiParticipantalexliiParticipantHi Radu,
Thanks for checking.
We optimize site, and Rtmedia cause site delay seriously
Here is before and after comparing of speed:
Before:
the average speed is 30MB/s, it is really great, right?After:
the average speed is only 200kb/s.So, I use a plugin to resovle this issue: LH Dequeue RTmedia( https://wordpress.org/plugins/lh-dequeue-rtmedia/), and it works great.
That is why you looks like that.
Anyway, I already update Kleo theme and Rtmedia to the latest version, and already diactivated LH Dequeue RTmedia and all of other plugins for your check.
Maybe you missed reading my last post here:
I update Kleo theme, and it seems fixed…
but if there are more than four images, the effect of slide image does not work properly, it will just back to the first image if the fourth appears.
So, please check this page: https://forum.lovcour.com/activity/
you will find the issue now that I said, the images will jump if there are more than four images, actually, I tested only three plugins is activated: http://prntscr.com/j4thkx, but the issue is still there, I mean the images will jump, also you will find the scroll bar is not at the right position: the http://prntscr.com/j4tk9w
Thanks.
Alex
Alex
alexliiParticipantHi Radu,
define( ‘WP_DEBUG_LOG’, true );
Anyway to limit the size of that log file?
Thanks.
Alex
alexliiParticipantbut if there are more than four images, the effect of slide image does not work properly, it will just back to the first image if the fourth appears.
Alex
alexliiParticipantI tried, but I understand you mean
XMLHttpRequest cannot load http://forum.lovcour.com/members/alex/media/157/ due to access control checks.
and there is no Https, http://prntscr.com/j430lj
and try to use that plugin to fix mixed content, but the error reproduced.
it seems the latest version of rtmedia is not compatible with ssl there, since the images can be enlarged in bp user profile, please check at: https://forum.lovcour.com/members/alex/media/
Alex
alexliiParticipantfixed, but I think it is related to a plugin of wpforo https://wordpress.org/plugins/wpforo/
it save some data into database and valid even if it is deactivated.
Alex
alexliiParticipantHello Laura,
This is all of the css at I used, and I adjust logo font size to 25px as below:
COPY CODE@media (min-width: 991px) { strong.logo a { font-size: 17px !important; } .primary-menu.collapse.navbar-collapse.nav-collapse { margin-left: -10%; } .kleo-main-header.header-split .container { padding: 0px !important; } ul#menu-second-menu a { font-size: 10px !important; } } .kleo-main-header.header-split .container { margin-left: 9%; }
and here is the screenshot in Max bookair:
obviously, it show as two line:http://prntscr.com/iwvmzi
or please check at the site at https://support.lovcour.com, and adjust the browser to small window.
Thanks.
Alex
alexliiParticipantHello,
Should I put all of those CSS together? like in this way?
COPY CODE@media (min-width: 991px) { strong.logo a { font-size: 17px !important; } .primary-menu.collapse.navbar-collapse.nav-collapse { margin-left: -10%; } .kleo-main-header.header-split .container { padding: 0px !important; } ul#menu-second-menu a { font-size: 10px !important; } } .kleo-main-header.header-split .container { margin-left: 9%; }
If yes, the text logo will be shown by more that one lines on small computer, please check:
or, please check directly at https://support.lovcour.com
alexliiParticipantthanks.
Please check the screenshot:http://prntscr.com/ivc5yb
How to make the Text logo to align center please?
Alex
March 21, 2018 at 18:30 in reply to: Errors: kleo/kleo-framework/options/assets/js/vendor/qtip/jquery.qtip.min.js.map #192619alexliiParticipantSorry, not yet.
you just checked our login site, I did not activated the plugin of useso-take-over-google, Here is the screenshot at my side: http://prntscr.com/iudv08
anyway, as to webfont.js, I can resolve it by using useso-take-over-google, the reason why there is no webfoot.js error at your side is that Google Js resources are accessible to you. You are in the internet, but we are in intranet:)
As to jquery.qtip.min.js.map, I just support it is delivery by your CDN or some optimizing coding, I am not technical background, but I found some information about js.map.
FYI:
https://stackoverflow.com/questions/21719562/javascript-map-files-javascript-source-maps
https://stackoverflow.com/questions/18425841/angular-min-js-map-not-found-what-is-it-exactly
https://stackoverflow.com/questions/29863070/why-we-use-minified-version-of-angularjs-reason-to-give-preference-to-angular-m?noredirect=1thanks, and hope you can feed back to your developers.
Alex
March 21, 2018 at 09:08 in reply to: Errors: kleo/kleo-framework/options/assets/js/vendor/qtip/jquery.qtip.min.js.map #192554alexliiParticipantHello,
Here is the summary of my test in multisite of wordpress4.9.4.
1#I check it in fresh created subsite.
2# and I used the plugin to replace google rescoures: https://wordpress.org/plugins/useso-take-over-google/, it will replace all of google resource to another site in China, and the error of webfont.js will disappear.
3.enbale development mode, but the error with jquery.qtip.min.js.map is still thereplease check this screenshot:http://prntscr.com/iu5cib
this only happen with the latest version of Kleo.
Alex
alexliiParticipantPlease check here, the author or Social articles said it is bug, and he is not trying to fix:
https://wordpress.org/support/topic/feature-images-not-properly/
alexlii (@alexlii)
6 days, 20 hours ago
Hello @@broobe_devit shows like that also at media library after post from Social Article,
https://prnt.sc/iopsx3does that mean it is a WordPress bug with media upload from mobile?
Alex
This reply was modified 6 days, 20 hours ago by alexlii.
Plugin AuthorBroobe (@broobe_dev)
6 days, 20 hours ago
Hi! No, it’s not a bug with WordPress…it’s related with social articles. I’m gonna upload a new version as soon as possible. I have to change the way to upload the featured image.Thanks!
March 16, 2018 at 23:04 in reply to: “build query” in Grids content of Kleo posts does not work for any custom post type #192007alexliiParticipantI found the category of custom post type is actually Taxonomies, thanks.
Alex
March 16, 2018 at 19:11 in reply to: Errors: kleo/kleo-framework/options/assets/js/vendor/qtip/jquery.qtip.min.js.map #191994alexliiParticipantHi Radu,
Thanks, I confirm this url is accessible: https://lovcour.com/webfont.js
But seems it still not work, here are screenshot for your check:
Child function file: http://prntscr.com/is4r85
Theme function: http://prntscr.com/is4s9c
Visual composer: http://prntscr.com/is4vz2Anyway, we are now only talking about the error with google webfont error: https://ajax.googleapis.com/ajax/libs/webfont/1.5.0/webfont.js?ver=1.5.0
but how to resolve this one please:
https://support.lovcour.com/wp-content/themes/kleo/kleo-framework/options/assets/js/vendor/qtip/jquery.qtip.min.js.mapAny relationship with these two errors please?
Thanks
Alex
March 16, 2018 at 17:42 in reply to: can not access to this URL: Mediaelement issue temporary fix #191993alexliiParticipantmp4, it played well with chrome and firefox, but only does not play with Safari. so it is not the issue with file format.
same issue with default theme.
Alex
March 16, 2018 at 07:29 in reply to: Errors: kleo/kleo-framework/options/assets/js/vendor/qtip/jquery.qtip.min.js.map #191939alexliiParticipantHello,
Our main site address is https://lovcour.com, so I did as your instruction in Child theme, if I am wrong, please correct me:
screenshot:http://prntscr.com/irvrp3COPY CODEfunction add_custom_css_for_logo(){ echo "<style>n"; echo '<script type="text/javascript" src="https://lovcour.com/webfont.js"></script>'; echo "n</style>"; } add_action( 'admin_print_styles', 'add_custom_css_for_logo' ,90);
since I do not know exactly which directory I should put webfont.js in, so put it both in our project directory and wordpress directory:
Screenshot:
http://prntscr.com/irvsw5
http://prntscr.com/irvsohBut it does not work, both or theme option and Visual composer backend page, also there are different with the version request, visual composer request the version 1.4.7, but Kleo theme request: 1.5.0
Kleo theme screenshot:http://prntscr.com/irvtmw,
Visual composer screenshot: http://prntscr.com/irvuo7What I did wrong please?
Alex
March 15, 2018 at 13:34 in reply to: Errors: kleo/kleo-framework/options/assets/js/vendor/qtip/jquery.qtip.min.js.map #191833alexliiParticipantThis reply has been set as private.alexliiParticipantthere is no problem to post at backend, so it also might be related to the plugin of Social Post?
Alex
alexliiParticipantNo, it also does not show properly in media library, please view the screenshot:
But if post with PC, it will looks well, please check this screenshot:
this issue happens only when you post with MOBILE DEVICE POSING, like iPhone
I also tested with the plugin of WP frontend Post(https://wordpress.org/plugins/wp-user-frontend/), the issue is same, please look at this post:https://lxp.lovcour.com/frontend-user-pst/
It is very easy to find the issue, please just test at your site.
Alex
-
AuthorPosts