Forum Replies Created

Viewing 20 posts - 4,581 through 4,600 (of 4,888 total)
  • Author
    Posts
  • in reply to: Cannot install Simple Catch Pro version 3.3 #83918
    Mahesh
    Member

    Hi @rflores,

    Do you have any other functions added in your functions.php. If you do not have any other modifications made, please replace all your code with the following codes:

    <?php
    /**
     * Child Theme functions and definitions
     *
     */
    
    /**
     * Loading Parent theme stylesheet
     *
     */
    add_action( 'wp_enqueue_scripts', 'simplecatch_child_enqueue_styles' );
    function simplecatch_child_enqueue_styles() {
        wp_enqueue_style( 'simplecatch-parent-style', get_template_directory_uri() . '/style.css' );
    }
    
    add_action( 'init' , 'simplecatch_child_adjust_image_size');
    function simplecatch_child_adjust_image_size() {
        remove_image_size( 'featured');
    	add_image_size( 'featured', 210, 210, false);
    }

    Regards,
    Mahesh

    in reply to: All sliders link to only one page #83917
    Mahesh
    Member

    Hi @Raielene,

    I understand your issue. But the links in the slider is dynamically generated from the code and always points to the very post that the featured is of. I mean slider image of post1 links to post1 and so on. But you mean to have all the slider link to the same page say Post-X. For that you have to override the theme’s function with child theme and place a static link (hard coded) in the anchor tag. And whenever you want to change the link you have to go through the code.
    That is why I recommend you to upgrade to Pro.
    But if you want to change it within the Free version, create a child theme. You can find more details on creating a child theme HERE. Then in child theme’s functions.php add the following codes.

    /**
     * Change slider's links to one custom link
     *
     */
    function catchkathmandu_post_sliders() {
    	//delete_transient( 'catchkathmandu_post_sliders' );
    
    	global $post;
    	global $catchkathmandu_options_settings;
       	$options = $catchkathmandu_options_settings;
    
    	if( ( !$catchkathmandu_post_sliders = get_transient( 'catchkathmandu_post_sliders' ) ) && !empty( $options[ 'featured_slider' ] ) ) {
    		echo '<!-- refreshing cache -->';
    
    		$catchkathmandu_post_sliders = '
    		<div id="main-slider" class="container">
            	<section class="featured-slider">';
    				$get_featured_posts = new WP_Query( array(
    					'posts_per_page' => $options[ 'slider_qty' ],
    					'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 = 'post postid-'.$post->ID.' hentry slides displayblock'; } else { $classes = 'post postid-'.$post->ID.' hentry slides displaynone'; }
    					$catchkathmandu_post_sliders .= '
    					<article class="'.$classes.'">
    						<figure class="slider-image">
    							<a title="Permalink to '.the_title('','',false).'" href=" http://your-site/link-to-some-post ">
    								'. get_the_post_thumbnail( $post->ID, 'slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class'	=> 'pngfix' ) ).'
    							</a>
    						</figure>
    						<div class="entry-container">
    							<header class="entry-header">
    								<h1 class="entry-title">
    									<a title="Permalink to '.the_title('','',false).'" href=" http://your-site/link-to-some-post ">'.the_title( '<span>','</span>', false ).'</a>
    								</h1>
    							</header>';
    							if( $excerpt !='') {
    								$catchkathmandu_post_sliders .= '<div class="entry-content">'. $excerpt.'</div>';
    							}
    							$catchkathmandu_post_sliders .= '
    						</div>
    					</article><!-- .slides -->';
    				endwhile; wp_reset_query();
    				$catchkathmandu_post_sliders .= '
    			</section>
            	<div id="slider-nav">
            		<a class="slide-previous"><</a>
            		<a class="slide-next">></a>
            	</div>
            	<div id="controllers"></div>
      		</div><!-- #main-slider -->';
    
    	set_transient( 'catchkathmandu_post_sliders', $catchkathmandu_post_sliders, 86940 );
    	}
    	echo $catchkathmandu_post_sliders;
    } // catchkathmandu_post_sliders

    Note: Please replace http://your-site/link-to-some-post in the above code with your desired link. There are two occurrences.

    Let me know if this helps.

    Regards,
    Mahesh

    in reply to: help with translation #83916
    Mahesh
    Member

    Hi @Anton,

    Sakin is the founder of Catch Themes.
    He’ll help you with the issue.

    Regards,
    Mahesh

    in reply to: change text from copyright #83915
    Mahesh
    Member

    Hi @marga,

    Yes, the same code for functions.php work fine for Pro version too.
    What seems to be the problem? Have you copied the above code into child theme’s functions.php?

    Regards,
    Mahesh

    in reply to: change text from copyright #83884
    Mahesh
    Member

    Hi @marga,

    Buying a pro version, you have to create a child theme, copying previous child theme and and making some changes in its style.css will work. Such as Theme Name, Template and the folder name too. And you do not need to upload media or pictures again.

    Regards,
    Mahesh

    Mahesh
    Member

    Hi @[email protected]

    Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS.

    #content .post .entry-header {
        margin-bottom: 0;
    }

    Regards,
    Mahesh

    in reply to: Images not loading every time on webpage #83881
    Mahesh
    Member

    Hi @Marcus,

    This seems to be the problem with the server. Please contact the server for the issue.
    Let me know if it fixes your issue.

    Regards,
    Mahesh

    in reply to: Hide latest posts from front page #83880
    Mahesh
    Member

    Hi @Carina,

    1. Removing blog posts from front page.
    For this change you have to create a child theme. You can find more details on creating child theme HERE. Then in child theme create a file index.php and add the following codes and save it.

    <?php
    /**
     * The main template file.
     *
     * This is the most generic template file in a WordPress theme
     * and one of the two required files for a theme (the other being style.css).
     * It is used to display a page when nothing more specific matches a query.
     * E.g., it puts together the home page when no home.php file exists.
     *
     * @package Catch Themes
     * @subpackage Catch Responsive
     * @since Catch Responsive 1.0
     */
    
    get_header();
    
    get_footer(); ?>

    2. Changing Home to another language.
    Go to Dashboard=> Appearance=> Menus” and change Home label to another language home text manually.

    3. Changing footer color to black with white text.
    Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS.

    #site-generator {
        background-color: none repeat scroll 0 0 #000;
        color: #fff;
    }

    Regards,
    Mahesh

    in reply to: Keep mobile site header centred? #83872
    Mahesh
    Member

    Hi @andrewf90,

    Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS:

    @media screen and ( max-width: 940px ) {
        #logo-wrap {
            margin: 0 auto;
            float: none;
            display: block;
         }
    }

    Regards,
    Mahesh

    in reply to: When i update the website full frame pro breaks #83866
    Mahesh
    Member

    Hi @Tiffini,

    Please check the uploads folder’s permission. And check the files in the uploads folder exists. The update was the minor update and should not affect the files. Try checking again disabling the plugins.

    Let me know further if the problem persists.

    Regards,
    Mahesh

    in reply to: Header image on category page. #83865
    Mahesh
    Member

    Hi @eggbanana,

    Thank you for your appreciation.
    Have a good day!

    Regards,
    Mahesh

    in reply to: increasing width of post content? #83864
    Mahesh
    Member

    Hi @shawn,

    Thank you for your appreciation.
    Have a nice day!

    Regards,
    Mahesh

    Mahesh
    Member

    Hi @Lucia,

    Thank you for your appreciation.
    Have a nice day!

    Regards,
    Mahesh

    in reply to: Adding a link to the footer #83862
    Mahesh
    Member

    Hi @towerlexa,

    Thank you very much.
    Yes, its Nepal. We welcome you here.
    Have a nice day!

    Regards,
    Mahesh

    in reply to: no menu on mobile #83861
    Mahesh
    Member

    Hi @dallaseventaudio,

    Thank you for your appreciation.
    Have a good day!

    Regards,
    Mahesh

    in reply to: Display Header Image on Blog Posts Page Only #83860
    Mahesh
    Member

    Hi @pal_coche,

    I am afraid its not possible with Custom CSS. You need to do it creating child theme and add the above code in child theme’s functions.php.
    Sorry I forgot to put the link to the detail page on creating child theme. Please visit this LINK.

    Regards,
    Mahesh

    in reply to: Background Image and Background Scroll #83859
    Mahesh
    Member

    Hi @matthewseanmclachlan,

    To decrease opacity, you have to decrease the last value i.e. 1 in the above CSS code. Range (0 to 1). Replace above with the following.
    The code adds up drop shadow to slider as well.

    #main article.post, #main-slider {
    -webkit-box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
    }

    Note:
    box-shadow: h-shadow v-shadow blur-distance spread rgba( red, green, blue, opacity );

    Hope this clarifies you.

    Regards,
    Mahesh

    in reply to: Fixed (sticky) sidebar widgets #83855
    Mahesh
    Member

    Hi @eggbanana,

    This is beyond the theme support scope. You need to either hire a customizer or contact the plugin support.

    Regards,
    Mahesh

    in reply to: All sliders link to only one page #83854
    Mahesh
    Member

    Hi @Raielene,

    In Catch Kathmandu Free Version, you can only put the post images in the slider, and the link by default points to its relative post. In Catch Kathmandu Pro Version, you have other features in slider image such as post, page, category or custom image (with custom link). I recommend you to upgrade to Pro version.

    Regards,
    Mahesh

    in reply to: Display Header Image on Blog Posts Page Only #83851
    Mahesh
    Member

    Hi @pal_coche,

    Assuming you are trying to display the header image in Blog Post Page ONLY.
    For the above, you’ve to create child theme, you can find more details on creating child theme HERE. Then in child theme’s functions.php, add the following codes.

    /**
     * Display header image in blog page only
     *
     */
    function catchbase_featured_overall_image() {
    	if ( is_home() ) {
    		catchbase_featured_image();
    	}
    }

    Note: This will override the header image function of the Main theme and will display the header image on blog page only. Adding this function, Enable Featured Header Image on in Header Image of customizer won’t work as it is being overridden.

    Regards,
    Mahesh

Viewing 20 posts - 4,581 through 4,600 (of 4,888 total)