-
AuthorSearch Results
-
March 9, 2016 at 2:41 am #26073
In reply to: How to translate read more button text
Are we talking about this file?
<?php
/**
* The template for displaying home page.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other ‘pages’ on your WordPress site will use a
* different template.
*
* @package SKT Nature One
*/get_header();
?><?php if ( ‘page’ == get_option( ‘show_on_front’ ) && ( ” != get_option( ‘page_for_posts’ ) ) && $wp_query->get_queried_object_id() == get_option( ‘page_for_posts’ ) ) : ?>
<div class=”content-area”>
<div class=”middle-align content_sidebar”>
<div class=”site-main” id=”sitemain”>
<?php
if ( have_posts() ) :
// Start the Loop.
while ( have_posts() ) : the_post();
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );endwhile;
// Previous/next post navigation.
skt_natureone_pagination();else :
// If no content, include the “No posts found” template.
get_template_part( ‘no-results’, ‘index’ );endif;
?>
</div>
<?php get_sidebar();?>
<div class=”clear”></div>
</div>
</div><?php else: ?>
<?php
if( of_get_option(‘numsection’, true) > 0 ) {
$numSections = esc_attr( of_get_option(‘numsection’, true) );
for( $s=1; $s<=$numSections; $s++ ){
$title = ( of_get_option(‘sectiontitle’.$s, true) != ” ) ? esc_html( of_get_option(‘sectiontitle’.$s, true) ) : ”;
$class = ( of_get_option(‘sectionclass’.$s, true) != ” ) ? esc_html( of_get_option(‘sectionclass’.$s, true) ) : ”;
$content = ( of_get_option(‘sectioncontent’.$s, true) != ” ) ? of_get_option(‘sectioncontent’.$s, true) : ”;
$bgcolor = ( of_get_option(‘sectionbgcolor’.$s, true) != ” ) ? of_get_option(‘sectionbgcolor’.$s, true) : ”;
$bgimage = ( of_get_option(‘sectionbgimage’.$s, true) != ” ) ? of_get_option(‘sectionbgimage’.$s, true) : ”;
?>
<section <?php if( $bgcolor || $bgimage ) { ?>style=”<?php echo ($bgcolor != ”) ? ‘background-color:’.$bgcolor.’; ‘ : ” ; echo ($bgimage != ”) ? ‘background-image:url(‘.$bgimage.’); background-repeat:no-repeat; background-position: center center; ‘ : ” ; ?>”<?php } ?> id=”section<?php echo $s;?>” class=”<?php echo ( of_get_option(‘menutitle’.$s, true) != ” ) ? ‘menu_page’ : ”;?>”>
<div class=”<?php echo ( ($s>22) && $class==”) ? ‘top-grey-box’ : $class; ?> middle-align”>
<?php if( $title != ” ) { ?>
<h2><span><?php echo $title; ?></span></h2>
<?php } ?>
<?php the_content_format( $content ); ?>
</div><!– middle-align –>
<div class=”clear”></div>
</section><div class=”clear”></div>
<?php
}
}
?><?php endif; ?>
<?php get_footer(); ?>March 8, 2016 at 3:26 pm #26013the Child theme wasn’t created properly
We followed the advice at
http://wordpress.stackexchange.com/questions/163301/versioning-import-of-parent-themes-style-css/182023#182023
, which the official WordPress Codex
https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme
links to (at “See here a more detailed discussion”) as the definitive way to create a child theme. If you have a more official and supported way to create a child theme, please point me to it. Don’t just say it “wasn’t created properly” without telling me how to create one properly.You don’t need to create a child theme as we have Custom CSS
Yes, I already knew this. I wrote this in my post:
the PRO version has a Custom CSS text area
But as I wrote, the biggest problem is when the base URL (including domain name and port) is changed. You did not respond to this problem.
Also we send emails of update after theme update so the theme doesn’t get automatically updated without you knowing so again no chance of anything being lost.
Sending an email is nice; but unless the upgrade contains major bugs (would you tell us if it did?), we will upgrade to the new version, of course. You did not say whether upgrading the theme loses our settings. Does it?
I would again request you to use the original theme and let us know if the settings lost stops there.
As I wrote, I already switched from my SKT BeFit PRO child theme to the parent SKT BeFit PRO. Settings were lost in the process. Since then, I have not made any changes that would cause settings to be lost.
I want to be assured that settings will not be lost when I move the site from one host to another. Based on my experience in item #5 above, they will be. This is not acceptable, with 100’s of settings that may have been changed. Please fix.
Lastly check if you click on restore defaults by any mistake within appearance>theme options.
I failed to mention it, but yes I actually had to do this once. I believe at item #7, settings were not simply reverted to defaults but were blanked out or set to nonsense values. For example, all the default font sizes were set to the same size, 10px. I had to click “restores defaults” to get back to reasonable numbers, then re-enter all my customizations.
In short, your response was a non-response. Please re-read what I wrote and respond substantively to my main concern.
March 8, 2016 at 5:59 am #25938Hi Gail,
I can sum it up here by saying the Child theme wasn’t created properly.
Now here is the thing. You don’t need to create a child theme as we have Custom CSS area to have your own CSS and it doesn’t get removed if we update the theme.
Also we send emails of update after theme update so the theme doesn’t get automatically updated without you knowing so again no chance of anything being lost.
I would again request you to use the original theme and let us know if the settings lost stops there.
Lastly check if you click on restore defaults by any mistake within appearance>theme options.
Regards,
ShriMarch 5, 2016 at 7:47 pm #25676Topic: SKT Girlie Background Image
in forum All Other ThemesHey there, I’m enjoying using the SKT Girlie theme and just had a small question, I’ve found it easy enough to play with so far, but this bit has puzzled me!
I have a background image set through the user interface, however I really only want the background to be on the home page, and not on any of the child pages.
Is this something that I can achieve please? I’d really appreciate your help.as the background image on all the other pages makes the text hard to read.
http://www.nathanvictoria.co.uk
Kind regards,
VictoriaMarch 4, 2016 at 6:03 am #25487In reply to: Bakery Pro Theme and WooCommerce
Hi Kelly,
You can check the documentation for “What we do” section: http://sktthemesdemo.net/documentation/skt-bakery-doc/#homepage-setup
For the about us section:
Kindly add this code in custom css box:
.ourbakers {text-align:center !important;}
#bakers-box {float:none !important;}
#bakers-box:last-child {margin:0 !important;}Regards,
BradMarch 1, 2016 at 7:50 pm #24969Hello Shri,
You probably didn’t received my questions from last week. This is the copy of it:
“Hello Shri,First, thank you for your help some day ago. I had to be some days offline.
I had the same issue with the featured boxes and the css code to Theme Options>Basic Settings>Custom CSS box helped me too.
Now I have a general question. You wrote that soon an update of the healing touch pro theme will offer more options e.g. to change the “Read More” text. To avoid issues after a theme update I created a child theme. But if I make changes to the Custom CSS box, will they get lost after the theme update? Or will I benefit from the theme update because of my “derived” child theme?”Further questions: Do you know when a theme update containing the “Read More”
text in the buttons of the featured boxes is available. Or do you have another solution.How can I change the size of the main logo? It will be shown very small.
Best Regards
Matthias
February 26, 2016 at 11:36 am #24419Hi Dave!
The site’s not publicly accessible yet. I’ve figured out where to make the changes, but struggle to incorporate some changes in the child theme as they involve changing both functions.php and /inc/custom-functions.php, e.g. removing the code below from custom-functions:
<div style=”float:left;”>’.get_the_date().'</div>
<div style=”float:right;color:#cccccc;font-weight:bold;font-size:15px”>‘.get_comments_number().'</div><div class=”clear”></div>
</div>
</div>’;
endwhile;$postoutput .= ‘<div class=”post-nav”>’;
$postoutput .= ‘<div class=”prev-page”>’ . get_previous_posts_link( “« Newer Entries” ) . ‘</div>’;
$postoutput .= ‘<div class=”next-page”>’ . get_next_posts_link( “Older Entries »”, 3 ) . ‘</div>’;
$postoutput .= ‘</div>’;February 24, 2016 at 2:26 pm #24080In reply to: Child Theme
I am being told to create the child theme to doa child theme for functions.php, 404.php, for a logout login redirect and 404 by the people at bbpress. LoL
February 24, 2016 at 2:21 pm #24079In reply to: Child Theme
Bringing back an old topic. I’m adding a forum to my theme in my wordpress, so the custom css is where I would paste to add the login, logout, and register code rather than going to a child theme? Thanks for the clarity!
John
February 23, 2016 at 8:26 pm #23934Hello Shri,
First, thank you for your help some day ago. I had to be some days offline.
I had the same issue with the featured boxes and the css code to Theme Options>Basic Settings>Custom CSS box helped me too.
Now I have a general question. You wrote that soon an update of the healing touch pro scheme will offer more options e.g. to change the “Read More” text. To avoid issues after an theme update I created a child theme. But if i make changes to the Custom CSS box will they get lost after the theme update? Or will I benefit from the theme update because of my “derived” child theme?Best Regards
Matthias
February 22, 2016 at 7:07 pm #23776In reply to: Bakery Theme update
Yes, I used the Custom CSS, but if I really wanted to separate any code and style from the theme, it should allow a child theme to be created from it, which it doesn’t.
Also, I noticed the slider loads late and just pops in when it’s ready to display. Is there any way to have the whole page not show until the slider is ready? It looks bad when the page loads and there’s no slider, then a few seconds later it pops in.
February 22, 2016 at 9:49 am #23687In reply to: Bakery Theme update
Shri,
The Bakery Theme needs to be updated to allow child themes immediately. I’m in the process of using Bakery for a client and need to make changes to it via a child theme. What date can we expect this to be available?
January 29, 2016 at 7:37 pm #20807In reply to: Lawzo Pro Theme Slider
I did that but it was only showing the first 5 slides. I did some digging around and found this line of code in the theme header.php file under the “home-slider” section: for ($i=1; $i<6; $i++)
I copied the file into my child them and changed the code to read: for ($i=1; $i<10; $i++)
That fixed my problem. Thanks!
January 28, 2016 at 11:52 am #20637In reply to: Section First Four Boxes (befit pro)
Fixed. Thanks.
Was also wondering how to disable featured images in posts. I also note that you don’t provide a child theme, might that be a good idea in a future release?
Regards,
January 22, 2016 at 5:50 am #19668In reply to: Arrows in image slider and footer
Hi,
Kindly go to Appearance>Theme Options>Basic Settings>Custom CSS box:
And paste this css@media screen and (max-width: 767px) {
#footer .cols-4:nth-child(2) { margin-left:0;}
}
@media screen and (min-width:768px) and (max-width:1024px) {
#footer .cols-4:nth-child(2) { margin-left:90px;}
}Regards,
Shri -
AuthorSearch Results
Search Results for 'child theme'
-
Search Results
-
Topic: SKT Girlie Background Image
Hey there, I’m enjoying using the SKT Girlie theme and just had a small question, I’ve found it easy enough to play with so far, but this bit has puzzled me!
I have a background image set through the user interface, however I really only want the background to be on the home page, and not on any of the child pages.
Is this something that I can achieve please? I’d really appreciate your help.as the background image on all the other pages makes the text hard to read.
http://www.nathanvictoria.co.uk
Kind regards,
Victoria