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 - 721 through 740 (of 6,404 total)
  • Author
    Search Results
  • #247697

    Hi Stine,
    1. You can do this from your product edit page in the Product Edit tab then open Inventory.

    2. We definitely recommend updating. The only changes that would not be saved were if you edited any of the theme files (in which case we strongly recommend using a child theme). All your content and settings will save with updates.

    Hannah

    #247689

    Hi Brandon,
    There isn’t a built-in function to adjust this. You would need to edit this in a child theme, or else use a custom breadcrumb plugin. I haven’t worked with any plugins that do this so I can’t say for sure, but this seems like this one may do what you’re after: https://wordpress.org/plugins/breadcrumb-navxt/

    Hannah

    #247663

    Hi Guys,

    I enquired about a filter for portfolio types a few years ago for Virtue Theme.

    I am now using the Ascend theme and I have up to 20 items and I would love to be able to filter all my portfolio items based on their type (this is in the backend). Is there a way I can do this? Can I add any code into a child theme to get this to work?

    Thanks, Mel

    In forum: Virtue Theme

    In reply to: Portfolio Type Filter

    #247603

    Hi Guys,

    I enquired about a filter for portfolio types a few years ago for Virtue Theme.

    I am now using the Ascend theme and I have up to 20 items and I would love to be able to filter all my portfolio items based on their type (this is in the backend). Is there a way I can do this? Can I add any code into a child theme to get this to work?

    • This reply was modified 6 years ago by Melanie.
    #247507

    Hi Hannah,

    Other than a couple of WooCommerce PHP lines in Function PHP and some Custom CSS I have not added anything else to the child theme. After thinking about your question and being that this client is very involved in his site I decided to dig deeper into some of the plugins. He has EWWW Image Optimizer installed for the images and I have WP-Optimize installed for everything caching, Lazy Loading and Database Optimization, well it looks like he turned on Lazy Loading in the EWWW plugin as well. I just turned off Lazy Loading in EWWW and the issue seems to be resolved.

    Thank you for your help and for asking that question. 🙂

    You all stay safe and healthy!

    Chad

    #247503

    For whatever reason your slider is taking on the transparent background color rather than the background image. Though I’m not sure why. Can you tell me what all you’ve added to your child theme?

    Hannah

    #247399

    1. You can use this css to remove the “All” from the filter:

    .kt-filters .kt-option-set li:first-child {
        display: none;
    }

    Just paste that into your custom css box in Theme Options > Custom CSS.

    2. I’m not sure if there’s a way to filter to a specific category within a gallery, but I could be forgetting something. I’ll check with the developer.

    Hannah

    #247226

    Thanks Ben!

    Unfortunately the plugin does not do the trick.

    I wonder if adding some “filter code” in the child-theme’s function file could do what I want. For example, I had to add

    add_filter( 'cmb2_admin_init', function() {
    
    	$post_subtitle_metabox = cmb2_get_metabox( 'post_subtitle_metabox' );
    	$post_types = $post_subtitle_metabox->prop('object_types');
    	$post_types[] = 'sfwd-courses';
    	$post_subtitle_metabox->set_prop('object_types', $post_types);
    
    }, 999 );

    in order to show the usual meta boxes for title, subtitle, etc. on the Learndash course page.

    Could that be the way?

    Best,
    Bernhard

    #247142

    MetaData Filter template? That isn’t a theme thing. Are you adding a template in your child theme?

    Ben

    In forum: Virtue Theme
    #247141

    Hey,
    Just looks like you have the remove wrong. Should be:

    remove_filter( 'excerpt_length', 'kadence_excerpt_length', 999 );

    So that part of the code:

    // remove theme excerpt length
    add_action('init', 'custom_child_init');
    function custom_child_init() {
    remove_filter( 'excerpt_length', 'kadence_excerpt_length', 999 );
    }
    #247092

    Hi Ben

    Hope this finds you well;

    I can’t seem to target the staff posts excerpt length… I simply want to turn off the theme excerpt (set in Options) and use my own as follows; what am I doing wrong ?

    // remove theme excerpt
    add_action('init', 'custom_child');
    function pddcustom_child() {
    remove_filter( 'get_the_excerpt', 'virtue_custom_excerpt_more' );
    add_filter('virtue_portfolio_partial_excerpt', '__return_false');
    }

    // add custom excerpt
    function 111custom_excerpt_length($length) {
    global $post;

    if ($post->post_type == 'staff') return 10;

    else return 40;
    }
    add_filter('excerpt_length', '111custom_excerpt_length', 99);

    Thanks!

    • This topic was modified 6 years, 1 month ago by Solace.
    #247051

    Hi,

    I am using Learndash and in the learndash-post-type “sfwd-courses” I’d love being able to use the same template options as in “pages” under page-attribute. Hope you can help me with this! (I use Pinnacle Premium with activated child theme)

    Best,
    Bernhard

    #246871

    so it looks like here under customizing the results:
    https://searchandfilter.com/documentation/search-results/using-a-shortcode/

    You need to copy the wp-content\plugins\search-filter\templates\results.php file from the plugin and add it to your child theme under wp-content\themes\your-theme-name\search-filter\results.php and then that would be used for the results.

    Ben

    #246869

    Hey,
    I’m being shown “forbidden” by your site URL, likely a IP address blocking?

    I think I am misunderstanding what you want. If you want an archive page for the staff or portfolio post type then you would have to turn that setting on in the code. I don’t have a filter but can add one to the next version. The theme creates “archive” like pages through the page templates. But intentionally doesn’t create a post type archive page.

    You can use the taxonomies of the custom post types to create archive pages as well. I think there is where I was confused because you are already doing that with staff groups. And as I said the post type has_archive set to false.

    You wrote: “I am trying to show a different archive layout for the Staff taxonomy”. But it sounds like you are wanting a different archive layout for the staff post type. A taxonomy for staff is the staff group.

    So for now you would need to edit the code in lib/post-types.php in the theme, then with the next version update your child theme with a new filter. The code would look like this:

    function kt_init_filter_custom_post_archive() {
    add_filter('kadence_portfolio_has_archive', '__return_true' );
    add_filter('kadence_staff_has_archive', '__return_true' );
    add_filter('kadence_testimonial_has_archive', '__return_true' );
    }
    add_action( 'after_setup_theme', 'kt_init_filter_custom_post_archive' );

    Ben

    #246778

    ok, wordpress will scale your images down by default since 5.3 so it appears the ratio of that image is preventing the small side from being 1200px.

    You can turn off WordPress scaling using a function like this in a child theme:

    add_filter( 'big_image_size_threshold', '__return_false' );

    Or You can upload an image with a slightly more square ratio so that it’s all at least 1200×1200

    Or you can create the gallery as a grid, not individual for each one and that would look for smaller images.

    Ben

    In forum: Virtue Theme
    #246726
    This reply has been marked as private.
    In forum: Virtue Theme

    In reply to: Virtue Premium issues

    #246720

    parent theme version is 4.9.18

    The only thing added to the child theme was a function pointing to the parent theme and css changes

    Jeremy

    In forum: Virtue Theme

    In reply to: Virtue Premium issues

    #246717

    Hi Jeremy,
    What parent version of Virtue Premium are you running? What have you added to your child theme?

    Hannah

    #246708

    Hi Ben/Hannah/Kevin

    First, I hope you are all staying healthy out there in this crazy world.

    I’m not sure when it started but we are having problems getting content derived from our Search-Filter plugin to be displayed using the custom template we created called search-fliter.php. It looks to me that Search-Filter derived content is currently being displayed using the base.php template for some reason. We have our search-fliter.php file sitting in the main directory of our Virtue Premium Child Theme and I tried moving it into the /templates directory but that didn’t seem to help.

    Should the search-filter.php be put in a different location in our child theme?

    Is there additional code we need to add to the file?

    You can see how the content is currently being displayed here, for example:

    It should look closer to how the Google custom search results are displayed:

    #246697

    maybe it didn’t reach you

    Nope, that is not an email address to use, it’s for form notifications only. Please post logins here. 🙂

    It appears the current news page is gone? I created a test page and didn’t have any issues using the masonry layout. Can you please recreate your current news page how you had it before?

    Also please remove this this css from your child theme:

    /* Mobile portrait (and larger)*/
    .kt-post-grid-wrap[data-columns-ss="1"]>.kt-blocks-post-grid-item, .kt-post-grid-wrap[data-columns-ss="1"]>.kt-post-masonry-item {
        width: calc(100% - 30px) !important;
    }
    
    /* Tablet portrait (and larger)*/
    @media (min-width: 768px) {
    	.kt-post-grid-wrap[data-columns-sm="2"]>.kt-blocks-post-grid-item, .kt-post-grid-wrap[data-columns-sm="2"]>.kt-post-masonry-item {
        	width: calc(50% - 30px) !important;
           }
    }
    
    /* Tablet-landscape (and larger)*/
    @media (min-width: 992px) {
        .kt-post-grid-wrap[data-columns-md="3"] > .kt-blocks-post-grid-item, .kt-post-grid-wrap[data-columns-md="3"] > .kt-post-masonry-item  {
        		width: calc(33.33% - 30px) !important;
    	} 
    }

    Ben

Viewing 20 results - 721 through 740 (of 6,404 total)