Forum Replies Created

Viewing 20 posts - 14,321 through 14,340 (of 14,500 total)
  • Author
    Posts
  • in reply to: How to disable link in the slider? #2148
    Sakin
    Keymaster

    @rumyan: if you want to make changes to the theme then I recommend you to build child theme and then add in the changes there in child theme. If you make changes directly in the theme core files then it will be reverted back after you make the updates.

    You need to replace the below code
    [php]
    /**
    * This function to display featured posts on homepage header
    *
    * @get the data value from theme options
    * @displays on the homepage header
    *
    * @useage Featured Image, Title and Content of Post
    *
    * @uses set_transient and delete_transient
    */
    function simplecatch_sliders() {
    global $post;
    //delete_transient( ‘simplecatch_sliders’ );

    global $simplecatch_options_settings;
    $options = $simplecatch_options_settings;

    $postperpage = $options[ ‘slider_qty’ ];

    if( ( !$simplecatch_sliders = get_transient( ‘simplecatch_sliders’ ) ) && !empty( $options[ ‘featured_slider’ ] ) ) {
    echo ‘<!– refreshing cache –>’;

    $simplecatch_sliders = ‘
    <div class="featured-slider">’;
    $get_featured_posts = new WP_Query( array(
    ‘posts_per_page’ => $postperpage,
    ‘post__in’ => $options[ ‘featured_slider’ ],
    ‘orderby’ => ‘post__in’,
    ‘ignore_sticky_posts’ => 1 // ignore sticky posts
    ));
    $i=0; while ( $get_featured_posts->have_posts()) : $get_featured_posts->the_post(); $i++;
    $title_attribute = apply_filters( ‘the_title’, get_the_title( $post->ID ) );
    $excerpt = get_the_excerpt();
    if ( $i == 1 ) { $classes = "slides displayblock"; } else { $classes = "slides displaynone"; }
    $simplecatch_sliders .= ‘
    <div class="’.$classes.’">
    <div class="featured">
    <div class="slide-image">’;
    if( has_post_thumbnail() ) {

    $simplecatch_sliders .= ‘<a href="’ . get_permalink() . ‘" title="Permalink to ‘.the_title(”,”,false).’" rel="nofollow">’;

    if( $options[ ‘remove_noise_effect’ ] == "0" ) {
    $simplecatch_sliders .= ‘<span class="img-effect pngfix"></span>’;
    }

    $simplecatch_sliders .= get_the_post_thumbnail( $post->ID, ‘slider’, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $title_attribute ), ‘class’ => ‘pngfix’ ) ).'</a>’;
    }
    else {
    $simplecatch_sliders .= ‘<span class="img-effect pngfix"></span>’;
    }
    $simplecatch_sliders .= ‘
    </div> <!– .slide-image –>
    </div> <!– .featured –>
    <div class="featured-text">’;
    if( $excerpt !=”) {
    $simplecatch_sliders .= the_title( ‘<span>’,'</span>’, false ).’: ‘.$excerpt;
    }
    $simplecatch_sliders .= ‘
    </div><!– .featured-text –>
    </div> <!– .slides –>’;
    endwhile; wp_reset_query();
    $simplecatch_sliders .= ‘
    </div> <!– .featured-slider –>
    <div id="controllers">
    </div><!– #controllers –>’;

    set_transient( ‘simplecatch_sliders’, $simplecatch_sliders, 86940 );
    }
    echo $simplecatch_sliders;
    } // simplecatch_sliders
    [/php]

    with
    [php]
    /**
    * This function to display featured posts on homepage header
    *
    * @get the data value from theme options
    * @displays on the homepage header
    *
    * @useage Featured Image, Title and Content of Post
    *
    * @uses set_transient and delete_transient
    */
    function simplecatch_sliders() {
    global $post;
    //delete_transient( ‘simplecatch_sliders’ );

    global $simplecatch_options_settings;
    $options = $simplecatch_options_settings;

    $postperpage = $options[ ‘slider_qty’ ];

    if( ( !$simplecatch_sliders = get_transient( ‘simplecatch_sliders’ ) ) && !empty( $options[ ‘featured_slider’ ] ) ) {
    echo ‘<!– refreshing cache –>’;

    $simplecatch_sliders = ‘
    <div class="featured-slider">’;
    $get_featured_posts = new WP_Query( array(
    ‘posts_per_page’ => $postperpage,
    ‘post__in’ => $options[ ‘featured_slider’ ],
    ‘orderby’ => ‘post__in’,
    ‘ignore_sticky_posts’ => 1 // ignore sticky posts
    ));
    $i=0; while ( $get_featured_posts->have_posts()) : $get_featured_posts->the_post(); $i++;
    $title_attribute = apply_filters( ‘the_title’, get_the_title( $post->ID ) );
    $excerpt = get_the_excerpt();
    if ( $i == 1 ) { $classes = "slides displayblock"; } else { $classes = "slides displaynone"; }
    $simplecatch_sliders .= ‘
    <div class="’.$classes.’">
    <div class="featured">
    <div class="slide-image">’;
    if( has_post_thumbnail() ) {

    if( $options[ ‘remove_noise_effect’ ] == "0" ) {
    $simplecatch_sliders .= ‘<span class="img-effect pngfix"></span>’;
    }

    $simplecatch_sliders .= get_the_post_thumbnail( $post->ID, ‘slider’, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $title_attribute ), ‘class’ => ‘pngfix’ ) );
    }
    else {
    $simplecatch_sliders .= ‘<span class="img-effect pngfix"></span>’;
    }
    $simplecatch_sliders .= ‘
    </div> <!– .slide-image –>
    </div> <!– .featured –>
    <div class="featured-text">’;
    if( $excerpt !=”) {
    $simplecatch_sliders .= the_title( ‘<span>’,'</span>’, false ).’: ‘.$excerpt;
    }
    $simplecatch_sliders .= ‘
    </div><!– .featured-text –>
    </div> <!– .slides –>’;
    endwhile; wp_reset_query();
    $simplecatch_sliders .= ‘
    </div> <!– .featured-slider –>
    <div id="controllers">
    </div><!– #controllers –>’;

    set_transient( ‘simplecatch_sliders’, $simplecatch_sliders, 86940 );
    }
    echo $simplecatch_sliders;
    } // simplecatch_sliders
    [/php]

    Then you need to clear the cache by making changes on any theme setting in your slider.

    But if you want to use simple image slider with your own link, title and description. Everything is optional then you can upgrade to Simple Catch Pro theme.

    in reply to: Simple Catch Widget Areas #2147
    Sakin
    Keymaster

    @sumit.nagi: Nice site and thanks for your feedback. Yes we will add new features soon. This will include different sidebar for home and other pages and also there will be footer sidebar like in our catch box themes. But we are not in plan right now to add header widgets.

    So, it’s all your deal. Right now we are offering introductory price which will be over soon and will be on full price.

    Cheers 🙂

    in reply to: MAKING LOGO BIGGER #2146
    Sakin
    Keymaster

    @yagoleon: You can change any size image to the logo. But then you need to add in custom css in “Custom CSS” box in your Theme Options. As the max height set for the logo is 90px.

    So go to Appearance -> Theme Options -> Custom CSS and add in the following css:

    h1#site-title a img {
    height: auto;
    max-height: inherit;
    max-width: 250px;
    }

    in reply to: Removing links from the meta widget in sidebar #2145
    Sakin
    Keymaster

    @ntillman: You can add and remove any widgets in Sidebar through Appearance -> Widgets in your WordPress Dashboard.

    in reply to: Using Simple Catch as a parent theme? #2144
    Sakin
    Keymaster

    @TJBraatveit: Simple Catch and Simple Catch Pro there have a lot on difference. The directory is also different. So, you have to set style.css in the child theme as below:

    /*
    Theme Name: Simple Catch Pro Child
    Theme URI: http://catchthemes.com/themes/simple-catch-pro/
    Description: Child theme for the Simple Catch Pro theme
    Author: Catch Themes
    Author URI: http://catchthemes.com
    Template: simple-catch-pro
    */
    @import url("../simple-catch-pro/style.css");

    in reply to: Changing Header bg color #2061
    Sakin
    Keymaster

    @smgrayson8 : No problem. You are doing great. You are using Simple Catch Pro theme which is different then simple catch theme. So, for this you can use the css as below:

    #branding {
    background: none #000;
    }

    in reply to: Remove search at top right of page #2060
    Sakin
    Keymaster

    @dpreiser: You are using simple catch pro. So for this you need to add the following css:

    #header-content .searchform {
    display: none;
    }

    in reply to: Problem #2050
    Sakin
    Keymaster

    @josedebenidorm: you need to login first and then only you will be able to see that forum as that is private forum.

    in reply to: adding social links #2048
    Sakin
    Keymaster

    @anna_bki: For that you need to add it with the help of css and code in simplecatch_headersocialnetworks() function. If there is problem then you can user support ticket for this.

    in reply to: Problem #2046
    Sakin
    Keymaster

    @josedebenidorm : Please use the appropriate forum. As for all the simple catch pro user can access this private forum http://catchthemes.com/support-forum/forum/simple-catch-pro-premium/ . Add in here.

    The best to avoid this error. Simply delete the theme from your WordPress and add in the latest version.

    in reply to: Changing Header bg color #2044
    Sakin
    Keymaster

    @smgrayson8: I need your site url to check in details.

    in reply to: Slider content not showing after update #2039
    Sakin
    Keymaster

    @dvmachado: I don’t think I still understand you. But my explanation about the slider is when you add the post ID you should just add the id only not # please.

    in reply to: Slider content not showing after update #2034
    Sakin
    Keymaster

    @dvmachado: Oh you just have to add Post ID’s without any #. Just ID number. But the design is yours now and how can I help you with as I don’t know your modification. So, I recommend you hiring a customizer.

    in reply to: Slider content not showing after update #2032
    Sakin
    Keymaster

    @dvmachado: Can you send me your Site URL

    in reply to: Chage text direction to Right-to-Left #2016
    Sakin
    Keymaster
    in reply to: Previous/Next Pages Nav #2015
    Sakin
    Keymaster
    in reply to: Disabling frame around images. #2012
    Sakin
    Keymaster

    @gadgetxpert: to remove the frame in the image. See below:

    img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img, img.wp-post-image, img.attachment-thumbnail {
    border: none;
    }

    in reply to: Disabling featured images; #2011
    Sakin
    Keymaster

    @gadgetxpert: to remove that I need to look at your site. You may use the code to remove it by building child theme or you can just use custom css to hide it.

    in reply to: last four questions #2010
    Sakin
    Keymaster

    @gadgetxpert: You are really making me confused by asking all question together. Can you just create one question at a time in one forum thread and create another and so on. Also, I can only tell you about the simple design change but for more you need to hire a customizer.

    in reply to: Make Posts full width without sidebar #2009
    Sakin
    Keymaster

    @mont: you can add the following css in the “Custom CSS” box in Theme Options under Appearance tab of your WordPress Dashboard:

    .single-post #primary {
    margin: 0;
    }
    .single-post #content {
    margin: 0 3%;
    width: 94%;
    }

Viewing 20 posts - 14,321 through 14,340 (of 14,500 total)