kanenas
Forum Replies Created
-
I am re-opening this, because of the on going infrastructure migration.
Thank you for the feedback!
Forum: Fixing WordPress
In reply to: Unusual PHP error in debug log@milangru, did you solve this issue? Maybe it has something to do with php v.7.x?
Google Analytics for WordPress by MonsterInsights v.6.1.5 fixes the issue.
@tedmaster,
QA?
What QA?I don’t want to be rude, but I see NO QA when I see this…
– 6.0.14, March 1, 2017
– 6.0.15, March 7, 2017
– 6.0.16, March 7, 2017and this…
– 6.1.0, March 22, 2017
– 6.1.1 – 6.1.3 (depending on which version of MI you have), March 22, 2017
– 6.1.4, March 23, 2017
– 6.1.5, March 24, 2017This is the “correct” QA…
Q: Looking for another plugin?
A: YesForum: Plugins
In reply to: [WP Fastest Cache] WPFC stopped workingYou’re kidding… right?
Forum: Plugins
In reply to: [WP Fastest Cache] WPFC stopped working@emrevona, it would be great to share with the community what caused the problem and what was the solution!
Forum: Plugins
In reply to: [WP Fastest Cache] Is the free version Gone ?@emrevona, check your email.
Forum: Plugins
In reply to: [WP Fastest Cache] Is the free version Gone ?@emrevona, could you please remove 0.8.6.5 version as available for update? It break sites ??
Thank GOD I still have control over the updates. I also thought that the plugin got hijacked.
NOT a very good first impression!
Yes, I know updating the plugin will be a problem ??
@ethical, I am glad it helped you!
Here I am… again ??
Neither my previous post helps. I am a little bit confused.
Of course it fixes the “child theme stylesheets twice” problem, but withpriority
110 it ignores my child themes styles!Anyways, when I will have more time to “try and catch” I will get more involved, but for now I will stick to this (in functions.php)
function knn_enqueue_parent_theme_style() { wp_enqueue_style( 'knn-parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'knn_enqueue_parent_theme_style', 99 );
and this (in /receptar-child/style.css)
.sidebar { float: none; margin-top: 5rem; }
Unfortunately this
function my_load_parent_stylesheet() { wp_enqueue_style( 'my_child_styles', get_stylesheet_uri(), array( 'receptar-stylesheet' ) ); } add_action( 'wp_enqueue_scripts', 'my_load_parent_stylesheet', 110 );
does not work, as it results to this
<link rel='stylesheet' id='receptar-google-fonts-css' href='//fonts.googleapis.com/css?family=Roboto%7CRoboto+Condensed%3A400%2C300%7CAlegreya%3A400%2C700&ver=1.0#038;subset' type='text/css' media='all' /> <link rel='stylesheet' id='receptar-genericons-css' href='https://www.loukoulos.com/wp-content/themes/receptar/genericons/genericons.css?ver=1.0' type='text/css' media='all' /> <link rel='stylesheet' id='receptar-starter-css' href='https://www.loukoulos.com/wp-content/themes/receptar/css/starter.css?ver=1.0' type='text/css' media='all' /> <link rel='stylesheet' id='receptar-stylesheet-css' href='https://www.loukoulos.com/wp-content/themes/receptar-child/style.css?ver=1.0' type='text/css' media='all' /> <link rel='stylesheet' id='receptar-colors-css' href='https://www.loukoulos.com/wp-content/themes/receptar/css/colors.css?ver=1.0' type='text/css' media='all' /> <style id='receptar-colors-inline-css' type='text/css'> body{background-color:#f5f7f9}.site-header {background-color:rgba(0,0,0,0.2);color:#ffffff;}.not-scrolled.is-posts-list .site-header,.not-scrolled.paged .site-header {background-color:#2a2c2e;color:#ffffff;}.secondary {background-color:#1a1c1e;color:#9a9c9e;border-color:#3a3c3e;}.secondary-controls,.secondary h1,.secondary h2,.secondary h3,.secondary h4,.secondary h5,.secondary h6,.current-menu-item > a{color:#ffffff}.hamburger-item{background-color:#ffffff}.main-navigation a:hover,.current-menu-item > a{background-color:#3a3c3e}body,code{color:#6a6c6e}h1, h2, h3, h4, h5, h6,.h1, .h2, .h3, .h4, .h5, .h6{color:#1a1c1e}.site,.home .content-area,.posts .hentry{background-color:#ffffff}.site-content{border-color:#eaecee}hr,code,pre,.entry-meta-bottom{background-color:#eaecee}.site-content .pagination,.site-content .comments-area-wrapper {background-color:#2a2c2e;color:#9a9c9e;border-color:#3a3c3e;}.posts,.posts .entry-inner:after{background-color:#2a2c2e}.comments-area-wrapper h1,.comments-area-wrapper h2,.comments-area-wrapper h3,.comments-area-wrapper h4,.comments-area-wrapper h5,.comments-area-wrapper h6{color:#ffffff}.site-footer {background-color:#f5f7f9;color:#9a9c9e;}a,.accent-color{color:#e53739}mark,ins,.highlight,pre:before,.pagination .current,.button,button,form button,.fl-node-content button,input[type="button"],input[type="reset"],input[type="submit"],.post-navigation .post-title,.bypostauthor > .comment-body .comment-author:before,.comment-navigation a,.widget_calendar tbody a,.widget .tagcloud a:hover,body #infinite-handle span,.site-content div.sharedaddy .sd-content ul li a.sd-button:not(.no-text) {background-color:#e53739;color:#ffffff;}.site-content div.sharedaddy .sd-content ul li a.sd-button:not(.no-text){color:#ffffff !important}.infinite-loader .spinner > div > div{background:#e53739 !important}input:focus,select:focus,textarea:focus,.post-navigation .post-title,.widget .tagcloud a:hover{border-color:#e53739}mark,ins,.highlight {-webkit-box-shadow:.38em 0 0 #e53739, -.38em 0 0 #e53739; box-shadow:.38em 0 0 #e53739, -.38em 0 0 #e53739;}@media only screen and (max-width:960px) {.site-header{background-color:#2a2c2e}} </style> <link rel='stylesheet' id='my_child_styles-css' href='https://www.loukoulos.com/wp-content/themes/receptar-child/style.css?ver=4.2.3' type='text/css' media='all' />
and completely messes up the styles.
So, by reading again this https://codex.www.ads-software.com/Child_Themes and taking into consideration your suggestion about
priority
, I have ended up to thisfunction knn_enqueue_parent_theme_style() { wp_enqueue_style( 'knn-parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'knn_enqueue_parent_theme_style', 110 );
which works as expected.
Thanks for your help!
@oliver, is your demo website https://themedemos.webmandesign.eu/receptar/ using a child theme? Looking at the source it seems to me that it doesn’t.
The website I am using Receptar is https://www.loukoulos.com/