Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Search Results for 'child theme'

Home / Forums / Search / Search Results for 'child theme'

Viewing 20 results - 6,321 through 6,340 (of 6,404 total)
  • Author
    Search Results
  • #3096

    Hi Ben,
    I am trying to get the translation of the theme working.
    I did this:
    1. copied the “lang” folder into the “virtue-child”- folder
    2. opened the default.po with podeit and added some translations.
    3. saved the changes as de_DE.po, poedit generated also a mo-file by the same name.

    But unfortunately, the translations do not work. Did I forget something? I’m using Virtue 1.7.4 and WordPress 3.8 in German, the backend is mostly in German and I have the line
    define(‘WPLANG’, ‘de_DE’);
    in my wp-config.
    Thanks for any hints!
    best, Sven

    #3080

    Greate! I’m at work now and hav no FTP access to the site.
    I already have created a child-theme, recently for one addon in the css and on function for the English/Deutsch menuitem in the top-menu (for handling a qTranslate function). I will try this eving to close this call!

    #3069

    send me admin access?

    [email protected]

    I’ll take a look.

    Ben

    #3068

    After looking more into things, all of the text and photos are still there – they are just no longer linked. For instance – the shop sidebar was still there from when I created it earlier, it just was no longer linked to any custom menu in the widgets section and was not linked in the shop page etc. The same with the slider. In the theme options, the slider option was not selected anymore, nor were any pictures. If I select the flex slider option – I then have to reselect each photo that will appear on the slider. All of the photos and text are still there – it is just as if the options we previously selected have defaulted back to a brand new install. The weird thing is that all of the products in the shop are still there and the photos are there – but the photo sizes are all out of wack now. Is there anything we are missing that would keep us from having to reselect all of the options we had before the update? Thanks in advance for your help.

    #3067

    OK just need to create a child theme copy the file virtue_premium/templates/content-singleportfolio.php

    and paste it to childtheme/templates/content-singleportfolio.php

    Then open the file and remove lines 12-19

    and replace with this below:

    <?php previous_post_link_plus( array('order_by' => 'menu_order', 'in_same_cat' => true,'loop' => true, 'format' => '%link', 'link' => '<i class="icon-arrow-left"></i>') ); 
    if ( $terms = wp_get_post_terms( $post->ID, 'portfolio-type', array( 'orderby' => 'parent', 'order' => 'DESC' ) ) ) {
    $main_term = $terms[0];
    echo ' <a href="' . get_term_link( $main_term->slug, 'portfolio-type' ) . '"><i class="icon-grid"></i></a>';
    }
    next_post_link_plus( array('order_by' => 'menu_order', 'in_same_cat' => true, 'loop' => true, 'format' => '%link', 'link' => '<i class="icon-arrow-right"></i>') ); ?>

    Let me know if you need more clarity I don’t know if you’ve used a child theme or not.

    Ben

    #3063

    Ben, it would be nice, if you support me to create a script in my child theme to make the arrows work within a category and the grid link to the parent category. I have currently implemented the page with two different parent category.

    Look here on my non-public staging site:

    http://www.pastellbilder.de/staging/en/portfolio/ (current work)
    http://www.pastellbilder.de/staging/en/fruehere-arbeiten/ (past works)

    as you might see, the bread crump isn’t possible to translate with qTranslate so I would switch it off again, if I have implemented your solution within the child-theme.

    Thanks so much for your great support!
    I hope, we could launch the site within the next two weeks.

    #3050

    Are the widgets in the correct place for the shop slider? and can you double check the shop settings of the theme options to make sure you have selected the shop sidebar?

    When you say that the slider is gone. are there no images in the theme options anymore?

    Ben

    #3049

    Because of how the metaboxes, page templates, post templates, category templates and theme options work creating a new post type is only the being of creating a completely separate portfolio post that works like the first.

    One thing I could walk you through in a child theme is making the arrows only work within a category and the grid only link the parent category. That would do most of what you want.

    Ben

    #3039

    Thanks for the help. I have completed the export, update to 1.9.9.6, import, and re-activating plug-ins. When viewing our site after the update I notice that our slider is no longer there and my shop sidebar is gone. It appears that all of the pages and data are there – just not linked anymore as in having to reselect slider, and images, etc. Did I forget to do something?

    #3038

    I’m not happy with hiding the portfolion navigation, but it works.

    Would it be an option, to create a second portfolio as a custom post type within the theme options?
    You offer to create custom side bars, it would be nice to create custom post types as well!

    Or can I create a second custom post type within the functions.php opf my child-theme, that is using the same option like the portfolio post type?

    #3012

    Hey Lisa,
    You are correct in that you don’t need a child theme if you don’t plan on customizing any code. And if you ever did need to add some code you could add a child theme at that time as well. So in general it’s really up to how you want to proceed.

    As for the upgrade process. You can install premium right along side of the free version. All your posts and pages will still be there when you make the switch. What you will need to do is:

    1. transfer your theme options (you can use the export/import tab of the free version to copy the code and in the premium paste it in using the import from file button.)

    2. Activate your menus and widgets again.

    After that when you update later on down the road you will just need to follow the steps here:
    http://docs.kadencethemes.com/virtue/#theme_update

    Hope that helps,

    Ben

    #3007

    I can give you some simple answers.
    1-Using a child theme is always better so in case you need to change something in the code you don’t have to worry when upgrade the father theme. So you can download and install it after installing the premium version.

    2- To upgrade, you just have to temporarily switch to another theme like 2013, and then just cancel your Virtue Premium version 1.8.1, you don’t lose the settings.
    Upload the new 1.9.9.6 and after completing the process you can choose to activate it or if you have installed the Child Theme activate it. That’s all. Enjoy it.

    Angelo

    #3006

    We have the free Virtue theme installed on our wordpress site. We have recently purchased the premium version but have not uploaded it yet to wordpress. Do I need to install a child theme before uploading the premium version? We have not entered any custom code – all changes have been within the options of the theme. When I read about the child themes – it sounds like it is more of a backup for custom code inserted into the theme. Also, will all of our current pages, settings, etc. automatically show once theme is updated to the premium 1.9? We are currently using version 1.8.1.

    #2921

    It seems that on iOS devices my custom font won’t load – here’s my code:
    pass: nx

    @font-face{
    font-family: 'lunchbox';
    src: url('lunchbox-webfont.eot');
    src: url('lunchbox-webfont.eot?#iefix') format('embedded-opentype'),
    url('lunchbox-webfont.woff') format('woff'),
    url('lunchbox-webfont.ttf') format('truetype'),
    url('lunchbox-webfont.svg#lunchbox-webfont') format('svg');
    font-weight: normal;
    font-style: normal;
    }
    /* Better Font Rendering =========== */

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    }

    This code is placed inside:
    childtheme/styles.css

    All fonts and icons load fine on a desktop…
    All your Iconmoon font icons load fine on the iPhone and I’m using what appears to me as identical convention as you are loading yours

    Maybe We need to load these before Google Fonts and or in lieu of Google fonts?
    Maybe loading a custom font inside Redux would be a desirable function so we can pick what font is used where?

    In forum: Virtue Theme
    #2763

    Ok, think I got it figured out. Needed to take the custom code out of the parent theme’s functions.php file. Conflict was caused by having it in both the new child theme .php file and the original parent file. Make sense?

    In forum: Virtue Theme
    #2750

    Yup, added the new file through the hosting service control panel file manager, in the virtue child theme’s folder. Tried adding the new file complete with contents and also just adding a blank file and then adding the contents through WordPress, both with the same negative result.

    In forum: Virtue Theme
    #2740

    David,

    Did you create the file in the child theme folder? Either from your hosting service website (by uploading, some have a file navigator section) or by uploading directly to your site via FTP? Create the functions.php file and upload. I dont think you can do this inside wordpress itself, at least I have never tried.

    -Joe

    In forum: Virtue Theme
    #2721

    Just create a file called functions.php in the child theme. and add this stuff it gets automatically checked by wordpress.

    Ben

    In forum: Virtue Theme
    #2718

    No prob. Thanks for the list.
    I don’t see a place to do the edits in the child theme, as there is no functions.php file to edit in the Child theme. Below are the edits I have added. Suggestions as to how to get these into the child theme so I don’t lose them on updates? Can this go in CSS? (Of course, I can just add them back into the functions.php file after a version update, but sooner or later I’ll forget!)

    // Hide ALL shipping options when free shipping is available
    add_filter( ‘woocommerce_available_shipping_methods’, ‘hide_all_shipping_when_free_is_available’ , 10, 1 );

    /**
    * Hide ALL Shipping option when free shipping is available
    *
    * @param array $available_methods
    */
    function hide_all_shipping_when_free_is_available( $available_methods ) {

    if( isset( $available_methods[‘free_shipping’] ) ) :

    // Get Free Shipping array into a new array
    $freeshipping = array();
    $freeshipping = $available_methods[‘free_shipping’];

    // Empty the $available_methods array
    unset( $available_methods );

    // Add Free Shipping back into $avaialble_methods
    $available_methods = array();
    $available_methods[] = $freeshipping;

    endif;

    return $available_methods;
    }

    add_filter( ‘woocommerce_get_availability’, ‘custom_get_availability’, 1, 2);

    function custom_get_availability( $availability, $_product ) {
    //change text “In Stock’ to ‘SPECIAL ORDER’
    if ( $_product->is_in_stock() ) $availability[‘availability’] = __(‘AVAILABLE’, ‘woocommerce’);

    //change text “Out of Stock’ to ‘Call for Availability’
    if ( !$_product->is_in_stock() ) $availability[‘availability’] = __(‘In-store only. Call 973-746-5900 for availability’, ‘woocommerce’);
    return $availability;
    }

    In forum: Virtue Theme
    #2713

    Yeah I understand, just trying to get to version 2 then announce, but the changelog is as follows:

    = Version 1.9.8 =
    * Fix small animation conflicts

    = Version 1.9.7 =
    * Fix small animation conflicts

    = Version 1.9.6 =
    * Fix small animation conflicts

    = Version 1.9.6 =
    * Update Theme Options panel (speed improvement) (fix url in slides)
    * Started Animation fade in (to be finished by version 2)

    = Version 1.9.5 =
    * Fix testimonial widget issue
    * Fix carousel jump on mobile
    * Fix blog issue when no feature image
    * Add option for one column of blog posts on home page
    * Update Alt text on portfolio images
    * Fix issue with shortcode on feature page
    * Fix issue with woocommerce shortcodes

    = Version 1.9.4 =
    * Fix Gallery Issue
    * Add iconbox Shortcode
    * Add Cyclone Slider
    * Product Category Metabox
    * Add Add icons for woocommerce
    * Ajax cart refresh
    * Add secondary menu item width option
    * Add Comments to portfolio items
    * Add Revslider and Cyclone slider to portfolio items
    * Add Default for author box
    * Fix Post similar carousel

    If the functions are in your child theme they will stay when you update. If you made changed to the themes functions they won’t stay.

    Ben

Viewing 20 results - 6,321 through 6,340 (of 6,404 total)