Search Results for 'child theme'

Home Forums Search Search Results for 'child theme'

Viewing 15 results - 286 through 300 (of 360 total)
  • Author
    Search Results
  • #26073
    Augustin OfiteruAugustin Ofiteru
    Participant
    • Topics: 0
    • Replies: 3
    • Total: 3
    Member since: June 3, 2015

    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(); ?>

    GailGail
    Participant
    • Topics: 1
    • Replies: 7
    • Total: 8
    Member since: March 5, 2016

    the 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.

    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    Hi 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,
    Shri

    #25676
    VictoriaVictoria
    Member
    Member since: January 14, 2016

    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

    #25487
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31202
    • Total: 31202
    Member since: August 16, 2013

    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,
    Brad

    MatthiasMatthias
    Member
    • Topics: 4
    • Replies: 14
    • Total: 18
    Member since: January 19, 2016

    Hello 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

    #24419
    RobertRobert
    Member
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: February 25, 2016

    Hi 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>’;

    #24080

    In reply to: Child Theme

    JohnJohn
    Member
    • Topics: 9
    • Replies: 24
    • Total: 33
    Member since: February 3, 2016

    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

    #24079

    In reply to: Child Theme

    JohnJohn
    Member
    • Topics: 9
    • Replies: 24
    • Total: 33
    Member since: February 3, 2016

    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

    MatthiasMatthias
    Member
    • Topics: 4
    • Replies: 14
    • Total: 18
    Member since: January 19, 2016

    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 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

    #23776

    In reply to: Bakery Theme update

    Brian HunleyBrian Hunley
    Member
    • Topics: 0
    • Replies: 5
    • Total: 5
    Member since: September 25, 2015

    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.

    #23687

    In reply to: Bakery Theme update

    Brian HunleyBrian Hunley
    Member
    • Topics: 0
    • Replies: 5
    • Total: 5
    Member since: September 25, 2015

    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?

    #20807

    In reply to: Lawzo Pro Theme Slider

    LibertyLiberty
    Participant
    • Topics: 19
    • Replies: 21
    • Total: 40
    Member since: January 22, 2016

    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!

    #20637
    PaulPaul
    Member
    • Topics: 1
    • Replies: 11
    • Total: 12
    Member since: January 22, 2016

    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,

    #19668
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31202
    • Total: 31202
    Member since: August 16, 2013

    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

Viewing 15 results - 286 through 300 (of 360 total)