• Resolved pch101

    (@pch101)


    Hi again –

    A few questions about the slider:

    -Is it possible to set up the slider so that the images that it displays are determined by the post author, category and/or post tag? (In this case, the individual posts have no images for their own.)

    -I find that the slider can load very slowly (it takes several seconds for it to appear on the page, so it lags the rest of the content by quite awhile; sometimes, it does not appear at all without being refreshed.) Any suggestions for speeding this up would be appreciated.

    -If need be, is it possible to install a different slider? (There’s no widget for this.)

    Thanks very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Richie KS

    (@rkcorp)

    1. you can use post featured image.
    2. disable the built in slider, use slider plugin with shortcode (rev slider example), add this to child functions.php or wp-content/meso-custom-functions.php

    /*--------------------------------------------
    Description: add rev slider slider
    ---------------------------------------------*/
    function meso_add_rev_slider() {
    if('page' == get_option( 'show_on_front' )) {
    $paged = get_query_var( 'page' );
    } else { $paged = get_query_var( 'paged' ); }
    if( is_home() || is_front_page() || is_page_template('page-templates/template-blog.php') ) {
    if ( !$paged ) { echo do_shortcode('[REV SLIDER SHORTCODE]'); }
    }
    }
    add_action('bp_before_blog_home','meso_add_rev_slider');
    Thread Starter pch101

    (@pch101)

    Re: the slider images, I have a sort of a fix for this:

    1. A plugin called Category Featured Images will allow you to assign a default image to every post in the same category.

    https://ww.wp.xz.cn/plugins/category-featured-images/

    2. You can then add CSS code to Customize > General > Custom CSS that will hide the images so that they are not displayed on the front and category archive pages:

    .feat-thumb {display: none;}

    .post-thumb.in-archive {display: none;}

    This leaves you with images in the slider.

    I have not yet figured out how to have images by author.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Slider questions’ is closed to new replies.