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 - 5,841 through 5,860 (of 6,404 total)
  • Author
    Search Results
  • #22950

    I am using wordpress updates. I don’t have a child theme. Perhaps it is a woocommerce issue?

    #22892

    Solved with child theme. Thanks for great support.

    #22804

    Hey,
    There is no get_order_total in the virtue 2.7.1 theme.

    Are you updating? Are you using ftp or wordpress update. Do you have a child theme?

    Ben

    #22698

    Hello,

    A bit of background information: I’m using WordPress version 4.0 with a Virtue Premium 2.7.1 child theme, the Black Studio tinyMCE Widget, and a number of other plugins such as bbPress and UsersUltra (I assume that the other plugins are unrelated).

    In any case, I’m having the following problem. When I try to save certain kinds of code — shortcodes, types of HTML, etc. — in either the Text widget or the Virtual Editor widget (aka Black Studio tinyMCE) with Page Builder, the text disappears immediately. For example, if I add an html code that adds color to text (i.e., <h1 style=”color:white”>), the code does NOT save, and if I click on the edit widget button again, the widget code is blank (none of the code was saved).

    This has been pretty frustrating to deal with, and I haven’t been able to find anything too related on the forums. This person seems to have the same issue, I guess, but that’s about it:

    In any case, any suggestions would be much appreciated!

    Best

    In forum: Pinnacle Theme
    #22692

    Hey,
    A child theme protects your edits from being overridden when there is an update. So if you do absolutely have to make changes in a template file then you use a child theme so you can update and not lose those edits. You still have to make sure whatever you changed doesn’t conflict with updates and you have to make sure that the template you overrode didn’t change (which is what happened). If the template changes you have to update your template to work with the new changes. In this case it meant adding a couple lines of code at the top and bottom of the template.

    Now it’s not very often that template files are updated. But a couple versions ago I removed a template wrapper function from the theme and edited every template file to work with the current template system. So while it’s not very common it will happen when it makes sense with the rest of the theme.

    Ben

    In forum: Pinnacle Theme
    #22653

    removed it and everything’s fine now. I know this is probably more of a basic wordpress issue but I thought setting up a child theme was supposed to prevent this sort of thing from happening. Any idea what might have caused it or can you point me towards a resource that might help me figure out how to prevent this from happening in the future?

    In forum: Pinnacle Theme
    #22651

    I just realized they all used the feature template. Which I had copied into my child theme to modify but I don’t believe I actually did make any edits.

    #22650

    I’m not positive but I think after the most recent update I noticed a handful of pages on my site where broken. I haven’t been able to figure out what caused the problem, any help I could get in diagnosing the problem would be appreciated. I’m using a child theme and the parent theme is version 1.1.5

    Here’s the links to the broken pages:

    bulk-up-on-stoger-oils
    pure-cherry-seed-oil
    chile-seed-oil
    organic-hazelnut-oil
    organic-pumpkin-seed-oil
    pure-tomato-seed-oil

    Here’s the site home page:

    stogeroil.com

    as you can see none of the page resources are linking into the page, can’t seem to figure out why. Any idea what could be causing this?

    #22639

    Just a small note that I would be interested in this feature as well. I’d really like to upload images in their orginal sizes (to be safe for future high resolution devices to come). WordPress should handle the cropping. However, the fact that these huge images are linked to in the popup (instead of the “large” one) stops me doing so.

    Christophe, could you share your code here? So I can add this to my child theme…

    Would be cool to have this included in Virtue by default 😉

    #22606

    Hey,
    Send the child theme to [email protected] I’ll take a look.
    Ben

    #22578

    Hi Hannah,

    I had to disable the child theme and now running on the premium. It was working just fine before the update few days ago and yes, I have some hooks and snippets I found here on the forum.

    If you tell me where to send then I can send you the child function file, if that will help?

    #22572

    Hey, what have you changed/added in your child theme? Can you post a link?

    Hannah

    In forum: Virtue Theme
    #22529

    Not a built in way. Your welcome to built a child theme and add a function that would hook into the menu system. But this isn’t a built in theme option.

    Ben

    #22486

    Disabling the plugin doesn’t clear the cache. You have to clear in the plugin settings prior to disabling.
    As for your css, your not adding in the theme options > custom css. Which is part of your issue. The other part is your child theme css has incorrect code in it.

    You are adding comments like:

    */ End /*

    But the code should be:

    /* End */

    So fix your child theme css and then add this if your wanting to add in the child theme:

    span.onsale.bg_primary {
    background: red !important;
    }

    Ben

    In forum: Virtue Theme
    #22362

    The variation price is part of the woocommerce style. There isn’t an option to change how the pricing works. You can edit the plugin with hooks to change the format but you would need to use a child theme so you can have custom functions.

    You can try something like this: http://stackoverflow.com/questions/23065821/woocommerce-variation-product-price-to-show-default

    Ben

    #22267

    Hey Kelly,
    Thanks for that!

    As for your question, I actually recommend using a plugin if you want to add scripts without using a child theme. Or like your doing a textbox. There a many lite plugins that do this and because wordpress has a specific hook for this it really doesn’t make an impact on speed if you added through a plugin of through a child theme, as long as your plugin is simple for example: https://wordpress.org/plugins/insert-headers-and-footers/

    It’s an easy enough component to add but it makes for a larger database entry since it would be part of the theme options. (which is all one debased entry).

    Weighing the pros and cons.. I felt not having it as part of the theme options made more sense.

    Ben

    In forum: Virtue Theme

    In reply to: customize style.css

    #22263

    Hey,
    You can edit the file that has all the css, it’s just not the style.css file. It’s the virtue.css file and it’s in the assets/css/ folder.

    I strongly recommend against this though. It’s not the proper way to change styles in a theme. It you want to change something just use css in the theme options > advanced settings Or in a child theme style.css file. There you override the theme css with your own and you won’t lose any changes if you update the theme (something you should always do).

    Ben

    #22259

    Hey,
    If you have the latest theme version it now has a text domain so if you rescan you can translate with the mo file like the rest of the text strings. Or you can use css to override like this:

    div.modal-footer .kad-btn {
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
    width: 80px;
    }
    div.modal-footer .kad-btn:first-child:before {
    content: 'Cerrar';
    position: absolute;
    left: 20px;
    text-indent: 0px;
    }

    Ben

    #22243

    Hey Ben! I just wanted to tell you that I recommended your themes in my session at WordCamp Raleigh this past weekend. The session was recorded and will get put on WordPress.tv eventually. Here’s my session

    I presented in the beginner track and showed the attendees how to implement some things manually instead of using plugins. For beginners, having easy ways to connect things like Google Analytics is critical. Yes, they could learn to set up a child theme, but if they are a business owner they need a theme that makes these things easy so they don’t spend any more time and energy on their site than absolutely necessary. You’ve done a great job building in those things that make their lives easier.

    One thing that seems to be missing from Virtue is a box to place scripts that need to be on each page. For example, as an Amazon Affiliate I have to add a script so I put it in the footer box. Is there a better place to put things like that without making a child theme?

    Thanks,

    Kelly

    #22183

    Okee dokee… so it’s a hack. But here’s what I did:

    1. Create a new file for custom JS and enqueue it at the child theme level. Inside the child theme’s functions.php file, add an action:

    /************** enqueue custom JS file **********************/
    function scripts_with_jquery()
    {
        // note: that final boolean puts it in the footer, which is necessary in order to avoid timing issues
        wp_register_script( 'custom-script', get_stylesheet_directory_uri() . '/assets/js/custom-script.js', array( 'jquery' ), false, true );
        wp_enqueue_script( 'custom-script' );
    }
    add_action( 'wp_enqueue_scripts', 'scripts_with_jquery' );

    2. Put the file in the child theme at the location /assets/js/custom-script.js

    3. Edit the custom JS to have the code from the previous reply:

    $galitems = jQuery('.carousel_item img');
    $galitems.unwrap();

    Yeah. Hideous but there’s a deadline to be met. 😉 Maybe it’ll still be useful to someone!

Viewing 20 results - 5,841 through 5,860 (of 6,404 total)