-
AuthorSearch Results
-
March 6, 2016 at 1:15 pm #86875
In reply to: hyphenation image slider contact detail
Pratik
ParticipantHi @creatativesigns,
Here is the reply to your questions:
What code is needed to turn off hyphenation.
Can you please post in your site url so that I can check and see where hyphenation is occurring. Also, it will be better if you can point me to where the undesired hyphenation is occurring. Then I can provide you with custom CSS.
Can i add actual email address and telephone number to header section.
You can add the email address and phone via Appearance=> Customize=> Social Links. There should be options to add your email and phone number. The icons will show up on saving the icons in your social icons area.
How can i change colour of social icons and the contact details i would like in header.
You will need to add them, then give me your site url. Then I will provide you with CSS code to change it.
Do i need pro to be able to use image slider?
The free version only supports Featured Page Slider. If you upgrade to pro version, you will be able to use Featured Image Slider. Mode details about free and pro version here.
If i buy pro can i use it on more than one site as we are going to have a couple of sites at work.
Yes you can use it on multiple sites.
Regards,
PratikMarch 5, 2016 at 3:11 pm #86834In reply to: number of featured contents on homepage
Pratik
Participanthi @pulsedata,
For now, you can goto Appearance=> Theme Options => Featured Post Slider=> Number of Slides and set the desired number from there. Here, there should be no restriction.
Regards,
PratikFebruary 29, 2016 at 4:59 pm #86525In reply to: My site:www.robenequine.co.uk
Mahesh
ParticipantHi allan,
Thank you for using Simple Catch Pro.
1. I don’t see the space between the bottom of the featured image slider and page content. The slider in your site and demo seems almost similar.
2. The text in block quotes are all in Uppercase because you have put the text in h5 tag. And by default, the theme’s css will change text to uppercase for h3, h4, h5 and h6 tags. Remove the h5 tag and the text will appear as it is (without CAPS).Regards,
MaheshFebruary 29, 2016 at 9:52 am #86507In reply to: Problem with translation of first featured slide
Alina1992
ParticipantHi Sakin!
I just started making my blog using Simple Catch theme and I faced the conflict between Featured Slider and WPML plugin. Home page slides show up only when WPML is deactivated. I really need to run multilingual site. Could you help please to fix the problem. Many thanks!
February 28, 2016 at 4:46 pm #86447In reply to: Errow last Update
fredda
MemberHello Mahesh!
I have the same problem but i can’t get to “Dashboard=> Appearance=> Customize=> Featured Slider=> Slider Options” because the site crashes as soon as i activate Catch Box. Is there something i can change in functions.php to get the theme up and running again?
February 28, 2016 at 12:05 pm #86442In reply to: Errow last Update
Mahesh
ParticipantThis is an issue in the theme when nothing is saved in the post slider id in “Dashboard=> Appearance=> Customize=> Featured Slider=> Slider Options”. For now as a temporary solution put 0 in #1 Featured Post ID and save it. We are working to fix the issue. It will be fixed in the next issue.
Regards,
MaheshFebruary 28, 2016 at 9:37 am #86431In reply to: Featured Slider – Remove text from images
Mahesh
ParticipantHi myinah,
Please add the following CSS:
#main-slider .featured-slider .slides .entry-container { display: none; }Regards,
MaheshFebruary 27, 2016 at 3:57 am #86375In reply to: Replace Featured Slider with embeded video
Harry
ParticipantHi Sakin,
I think stuffed up my function.php on my website.
I used Catch Responsive Pro Child Theme.
This is my full code, would you please kindly check and see what I did wrong?
<?php
//
// Recommended way to include parent theme styles.
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}
//
// Your code goes below
//function catchresponsive_featured_slider() {
if ( is_front_page() ) : ?>
<section id=”feature-slider”>
<div class=”wrapper hentry”>
“My video embedded code”
</div><!– .wrapper –>
</section><!– #feature-slider –>
<?php endif;
}February 26, 2016 at 5:05 pm #86342In reply to: Featured Slider Text Overlap
dougdavis22
MemberThe only changes I’ve made are to add a couple of Custom CSS bits:
#slider {
background-color: #ffffff;
}
#slider .featured-text { color: #000000; }#access-secondary{
background-color: #496175;
font-style: italic;
font-size:80%;
}February 26, 2016 at 9:36 am #86333In reply to: Featured Image
Kyaw Sithu
MemberHello I am using the simple catch pro version. But how do i add different featured slider per page? Is there a way? Could u pls help me out with that?
February 25, 2016 at 12:50 pm #86295In reply to: Disable links on slider images
Mahesh
ParticipantHi @corkiesmom,
You’ll need to create a child theme for that. You can find more details on creating child theme HERE. Then in your child theme’s
functions.phpadd the following code and it will remove the links from the slider image.function catchresponsive_page_slider( $options ) { $quantity = $options['featured_slide_number']; $more_link_text = $options['excerpt_more_text']; global $post; $catchresponsive_page_slider = ''; $number_of_page = 0; // for number of pages $page_list = array(); // list of valid page ids //Get number of valid pages for( $i = 1; $i <= $quantity; $i++ ){ if( isset ( $options['featured_slider_page_' . $i] ) && $options['featured_slider_page_' . $i] > 0 ){ $number_of_page++; $page_list = array_merge( $page_list, array( $options['featured_slider_page_' . $i] ) ); } } if ( !empty( $page_list ) && $number_of_page > 0 ) { $get_featured_posts = new WP_Query( array( 'posts_per_page' => $quantity, 'post_type' => 'page', 'post__in' => $page_list, 'orderby' => 'post__in' )); $i=0; while ( $get_featured_posts->have_posts()) : $get_featured_posts->the_post(); $i++; $title_attribute = the_title_attribute( array( 'before' => __( 'Permalink to: ', 'catch-responsive' ), 'echo' => false ) ); $excerpt = get_the_excerpt(); if ( $i == 1 ) { $classes = 'page pageid-'.$post->ID.' hentry slides displayblock'; } else { $classes = 'page pageid-'.$post->ID.' hentry slides displaynone'; } $catchresponsive_page_slider .= ' <article class="'.$classes.'"> <figure class="slider-image">'; if ( has_post_thumbnail() ) { $catchresponsive_page_slider .= get_the_post_thumbnail( $post->ID, 'catchresponsive-slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'attached-page-image' ) ); } else { //Default value if there is no first image $catchresponsive_image = '<img class="pngfix wp-post-image" src="'.get_template_directory_uri().'/images/gallery/no-featured-image-1200x514.jpg" >'; //Get the first image in page, returns false if there is no image $catchresponsive_first_image = catchresponsive_get_first_image( $post->ID, 'catchresponsive-slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'attached-page-image' ) ); //Set value of image as first image if there is an image present in the page if ( '' != $catchresponsive_first_image ) { $catchresponsive_image = $catchresponsive_first_image; } $catchresponsive_page_slider .= $catchresponsive_image; } $catchresponsive_page_slider .= ' </figure><!-- .slider-image --> <div class="entry-container"> <header class="entry-header"> <h1 class="entry-title"> <a title="Permalink to '.the_title('','',false).'" href="' . get_permalink() . '">'.the_title( '<span>','</span>', false ).'</a> </h1> <div class="assistive-text">'.catchresponsive_page_post_meta().'</div> </header>'; if( $excerpt !='') { $catchresponsive_page_slider .= '<div class="entry-content"><p>'. $excerpt.'</p></div>'; } $catchresponsive_page_slider .= ' </div><!-- .entry-container --> </article><!-- .slides -->'; endwhile; wp_reset_query(); } return $catchresponsive_page_slider; }Regards,
MaheshFebruary 19, 2016 at 4:10 pm #85810In reply to: Featured Content & Featured Slider error?
studiodimare
MemberIt’s very strange. I’ve not modified any codes to my knowledge. I’m not a programmer. So prior customizations would have been done on the previous theme I was using. I can only remember changing the text of my 404 error page in the past before loading Full Frame.
I forgot to mention in my first post that when in the customizer I am not able to see the preview at all. Only a spinning icon as if the page is trying to refresh is seen no matter which option I am trying to view. So the only way I can see if any changes are to my liking is to save and publish, then refresh a live version of my site in another tab.
I disabled all plug-ins as you suggested. It was only then that I was able to see another section of the Featured Content options and I changed the default background and the headline. I was not able to get any options to change the Featured Page to use the 3/4 selections that are supposed to be possible. So I disabled it from showing the default instead. I tried looking for it in other areas of the customizer and to see if I could change the Featured Slider. Nothing new could be found anywhere else.
Returning to the Featured Content area of the customizer I tried refreshing my browser hoping that my preview would show up. Then the options to modify the Featured Content I was finally seeing before disappeared again. I am left only with the new background and headline I changed before this option disappeared. Thankfully I am happy with this much for now. However, I would like to put in the featured page info of linking to different services I want to showcase.
Thinking that perhaps it was a corrupted install of the theme, I also downloaded a new copy and reinstalled it. Nothing new. I’ve turned back on my plugins and will go back to adding more content on other pages for now.
February 18, 2016 at 4:11 pm #85721Mahesh
ParticipantHi @calmo16,
You’ll need to override another function that displays Featured Grid Content similarly as for Featured Slider and Featured Content. Add the following code in you child theme’s
functions.phpfunction clean_box_page_grid_content( $options ) { $quantity = $options['featured_grid_content_number']; global $post; $clean_box_page_grid_content = ''; $number_of_page = 0; // for number of pages $page_list = array(); // list of valid page ids //Get number of valid pages for( $i = 1; $i <= $quantity; $i++ ){ if( isset ( $options['featured_grid_content_page_' . $i] ) && $options['featured_grid_content_page_' . $i] > 0 ){ $number_of_page++; $page_list = array_merge( $page_list, array( $options['featured_grid_content_page_' . $i] ) ); } } if ( !empty( $page_list ) && $number_of_page > 0 ) { $get_featured_posts = new WP_Query( array( 'posts_per_page' => $quantity, 'post_type' => 'page', 'post__in' => $page_list, 'orderby' => 'post__in' )); $i=1; while ( $get_featured_posts->have_posts() ) { $get_featured_posts->the_post(); $title_attribute = the_title_attribute( array( 'echo' => false ) ); $classes = 'page pageid-' . $post->ID; if ( 1 == $i ) { $classes .= ' first'; } else if ( 1 == $i%3 ) { $classes .= ' first-cols'; } $clean_box_page_grid_content .= '<a class="grid-box '. $classes .'" title="' . $title_attribute . '" href="' . get_permalink() . '">'; if ( has_post_thumbnail() ) { if ( 1 == $i ) { $clean_box_page_grid_content .= get_the_post_thumbnail( $post->ID, 'clean-box-featured-grid', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ); } else{ $clean_box_page_grid_content .= get_the_post_thumbnail( $post->ID, 'clean-box-featured-content', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ); } } else { //Default value if there is no first image $clean_box_image = '<img class="no-image pngfix" src="'.get_template_directory_uri().'/images/gallery/no-featured-image-800x450.jpg" />'; //Get the first image in page, returns false if there is no image $clean_box_first_image = clean_box_get_first_image( $post->ID, 'medium', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ); //Set value of image as first image if there is an image present in the post if ( '' != $clean_box_first_image ) { $clean_box_image = $clean_box_first_image; } $clean_box_page_grid_content .= $clean_box_image; } $clean_box_page_grid_content .= ' <div class="caption"> <span class="vcenter"> <span class="entry-title"> ' . the_title('', '', false) . ' </span> <span class="more">'; $clean_box_page_grid_content .= $options['excerpt_more_text']; $clean_box_page_grid_content .= ' </span><!-- .more --> </span><!-- .vcenter --> </div><!-- .caption --> </a><!-- .grid-box -->'; $i++; } wp_reset_query(); } return $clean_box_page_grid_content; }Regards,
MaheshFebruary 18, 2016 at 3:42 pm #85716Mahesh
ParticipantHi @calmo16,
Sorry, I thought it to be Featured Slider. The above code is for Featured Slider, for Featured Content, add the code below in child theme’s
functions.phpfunction clean_box_page_content( $options ) { global $post; $quantity = $options [ 'featured_content_number' ]; $more_link_text = $options['excerpt_more_text']; $show_content = isset( $options['featured_content_show'] ) ? $options['featured_content_show'] : 'excerpt'; $clean_box_page_content = ''; $number_of_page = 0; // for number of pages $page_list = array(); // list of valid pages ids //Get valid pages for( $i = 1; $i <= $quantity; $i++ ){ if( isset ( $options['featured_content_page_' . $i] ) && $options['featured_content_page_' . $i] > 0 ){ $number_of_page++; $page_list = array_merge( $page_list, array( $options['featured_content_page_' . $i] ) ); } } if ( !empty( $page_list ) && $number_of_page > 0 ) { $get_featured_posts = new WP_Query( array( 'posts_per_page' => $number_of_page, 'post__in' => $page_list, 'orderby' => 'post__in', 'post_type' => 'page', )); $i=0; while ( $get_featured_posts->have_posts()) : $get_featured_posts->the_post(); $i++; $title_attribute = the_title_attribute( array( 'echo' => false ) ); $excerpt = get_the_excerpt(); $clean_box_page_content .= ' <article id="featured-post-' . $i . '" class="post hentry featured-page-content">'; if ( has_post_thumbnail() ) { $clean_box_page_content .= ' <figure class="featured-homepage-image"> <a href="' . get_permalink() . '" title="' . $title_attribute . '"> '. get_the_post_thumbnail( $post->ID, 'medium', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ) .' </a> </figure>'; } else { $clean_box_first_image = clean_box_get_first_image( $post->ID, 'medium', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ); if ( '' != $clean_box_first_image ) { $clean_box_page_content .= ' <figure class="featured-homepage-image"> <a href="' . get_permalink() . '" title="' . $title_attribute . '"> '. $clean_box_first_image .' </a> </figure>'; } } $clean_box_page_content .= ' <div class="entry-container"> <header class="entry-header"> <h1 class="entry-title"> <a href="' . get_permalink() . '" rel="bookmark">' . the_title( '','', false ) . '</a> </h1> </header>'; if ( 'excerpt' == $show_content ) { $clean_box_page_content .= '<div class="entry-excerpt"><p>' . $excerpt . '</p></div><!-- .entry-excerpt -->'; } elseif ( 'full-content' == $show_content ) { $content = apply_filters( 'the_content', get_the_content() ); $content = str_replace( ']]>', ']]>', $content ); $clean_box_page_content .= '<div class="entry-content">' . $content . '</div><!-- .entry-content -->'; } $clean_box_page_content .= ' </div><!-- .entry-container --> </article><!-- .featured-post-'. $i .' -->'; endwhile; wp_reset_query(); } return $clean_box_page_content; }Regards,
MaheshFebruary 18, 2016 at 2:59 pm #85711In reply to: problems with featured slider
sparta
MemberIn custom CSS I didn’t change anything, This field is empty.
Photos size I tried 1680 x 720 , and 1920 × 823. neither fit. Both looks like in my printscreen.
And no matter what I choose.. I choose demo featured slider the pictures size is the same like in printscreen, and then I choose featured image slider with my own photos is also the same thing like in printscreen.
February 18, 2016 at 2:20 pm #85708In reply to: problems with featured slider
Mahesh
ParticipantHi @sparta,
Do you mean demo featured slider shows the slider in front-end with small image? Or only custom image slider is showing the issue? What sizes image are you using? The recommended slider size is Width: 1680px Height: 720px.
And have you changed anything in the theme (code or Custom CSS).Regards,
MaheshFebruary 17, 2016 at 4:15 pm #85643Mahesh
ParticipantHi calmo16,
The above code was for Catch Box. Please replace it with the following for Clean Box.
function clean_box_page_slider( $options ) { $quantity = $options['featured_slider_number']; $more_link_text = $options['excerpt_more_text']; global $post; $clean_box_page_slider = ''; $number_of_page = 0; // for number of pages $page_list = array(); // list of valid page ids //Get number of valid pages for( $i = 1; $i <= $quantity; $i++ ){ if( isset ( $options['featured_slider_page_' . $i] ) && $options['featured_slider_page_' . $i] > 0 ){ $number_of_page++; $page_list = array_merge( $page_list, array( $options['featured_slider_page_' . $i] ) ); } } if ( !empty( $page_list ) && $number_of_page > 0 ) { $get_featured_posts = new WP_Query( array( 'posts_per_page' => $quantity, 'post_type' => 'page', 'post__in' => $page_list, 'orderby' => 'post__in' )); $i=0; while ( $get_featured_posts->have_posts()) : $get_featured_posts->the_post(); $i++; $title_attribute = the_title_attribute( array( 'echo' => false ) ); $excerpt = get_the_excerpt(); if ( $i == 1 ) { $classes = 'page pageid-'.$post->ID.' hentry slides displayblock'; } else { $classes = 'page pageid-'.$post->ID.' hentry slides displaynone'; } $clean_box_page_slider .= ' <article class="'.$classes.'"> <figure class="slider-image">'; if ( has_post_thumbnail() ) { $clean_box_page_slider .= '<a title="' . esc_attr( $title_attribute ) . '" href="' . get_permalink() . '"> '. get_the_post_thumbnail( $post->ID, 'clean-box-slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).' </a>'; } else { //Default value if there is no first image $clean_box_image = '<img class="pngfix wp-post-image" src="'.get_template_directory_uri().'/images/gallery/no-featured-image-1680x720.jpg" >'; //Get the first image in page, returns false if there is no image $clean_box_first_image = clean_box_get_first_image( $post->ID, 'fullframe-slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ); //Set value of image as first image if there is an image present in the page if ( '' != $clean_box_first_image ) { $clean_box_image = $clean_box_first_image; } $clean_box_page_slider .= '<a title="' . esc_attr( $title_attribute ) . '" href="' . get_permalink() . '"> '. $clean_box_image .' </a>'; } $clean_box_page_slider .= ' </figure><!-- .slider-image --> <div class="entry-container"> <header class="entry-header"> <h1 class="entry-title"> <a title="' . esc_attr( $title_attribute ) . '" href="' . get_permalink() . '">'.the_title( '<span>','</span>', false ).'</a> </h1> <div class="assistive-text">'.clean_box_page_post_meta().'</div> </header>'; if( $excerpt !='') { $clean_box_page_slider .= '<div class="entry-content">'. $excerpt.'</div>'; } $clean_box_page_slider .= ' </div><!-- .entry-container --> </article><!-- .slides -->'; endwhile; wp_reset_query(); } return $clean_box_page_slider; }Note: Please use child theme. If you change the core files, all your change will be lost after theme update.
If you don’t see any changes (may be because of transient), please go to customize and save change something and it will work fine.
Let me know if any problems.Regards,
MaheshFebruary 17, 2016 at 11:09 am #85623In reply to: Thumbnail editor stopped working on slider
Sakin
Keymaster@tivonjohnson: Looks like you are using Feature Post Slider, where you featured image get auto crop to 976px by 313px. If you want to use your custom size image, then change your slider type to Featured Image Slider and upload your image as per your need. But don’t upload too big image, it will hamper your site load. So, best option is to change to image slider and upload image with maximum width 976px and height as your like.
February 17, 2016 at 11:06 am #85622In reply to: Featured Image Slider Thumbnail Crop Not Working
Mahesh
ParticipantHi @tivonjohnson,
The recommended image size for Featured Post Slider is (976px x 313px). If you use large image then it will automatically crop the image to that size(without maintaining the aspect ratio). And if you use small image, the original image will be used. I recommend you to re-size/crop the image to the recommended size, then upload.
Let me know if any problem.Regards,
MaheshFebruary 17, 2016 at 10:35 am #85621Mahesh
ParticipantHi calmo16,
You need to create a child theme for this. You can find more on creating child theme HERE. Then in your child theme’s functions.php add the following code:
function catchbox_sliders() { global $post; //delete_transient( 'catchbox_sliders' ); // get data value from catchbox_options_slider through theme options $options = catchbox_get_theme_options(); // get slider_qty from theme options if( !isset( $options['slider_qty'] ) || !is_numeric( $options['slider_qty'] ) ) { $options[ 'slider_qty' ] = 4; } $postperpage = $options[ 'slider_qty' ]; //In customizer, all values are returned but with empty, this rectifies the issue in customizer if( isset( $options[ 'featured_slider' ] ) && !array_filter( $options[ 'featured_slider' ] ) ) { return; } if( ( !$catchbox_sliders = get_transient( 'catchbox_sliders' ) ) && !empty( $options[ 'featured_slider' ] ) ) { echo '<!-- refreshing cache -->'; $catchbox_sliders = ' <div id="slider"> <section id="slider-wrap">'; $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 = esc_attr( apply_filters( 'the_title', get_the_title( $post->ID ) ) ); if ( $i == 1 ) { $classes = "slides displayblock"; } else { $classes = "slides displaynone"; } $catchbox_sliders .= ' <div class="'.$classes.'"> <a href="'. esc_url ( get_permalink() ).'" title="'.sprintf( esc_attr__( '%s', 'catch-box' ), the_title_attribute( 'echo=0' ) ).'" rel="bookmark"> '.get_the_post_thumbnail( $post->ID, 'featured-slider', array( 'title' => $title_attribute, 'alt' => $title_attribute, 'class' => 'pngfix' ) ).' </a> <div class="featured-text">' .the_title( '<span class="slider-title">','</span>', false ).' <span class="sep">:</span> <span class="slider-excerpt">'.get_the_excerpt().'</span> </div><!-- .featured-text --> </div> <!-- .slides -->'; endwhile; wp_reset_query(); $catchbox_sliders .= ' </section> <!-- .slider-wrap --> <nav id="nav-slider"> <div class="nav-previous"><img class="pngfix" src="'.get_template_directory_uri().'/images/previous.png" alt="next slide"></div> <div class="nav-next"><img class="pngfix" src="'.get_template_directory_uri().'/images/next.png" alt="next slide"></div> </nav> </div> <!-- #featured-slider -->'; set_transient( 'catchbox_sliders', $catchbox_sliders, 86940 ); } echo $catchbox_sliders; }Regards,
Mahesh -
AuthorSearch Results
