Forum Replies Created

Viewing 20 posts - 4,601 through 4,620 (of 4,916 total)
  • Author
    Posts
  • in reply to: Show JUST post date, NOT also edited date? #83928
    Mahesh
    Participant

    Hi @americaontwowheels,

    Where actually are you seeing this? Only published date are displaying in our server. Please post in your site url.

    Regards,
    Mahesh

    Mahesh
    Participant

    Hi @americaontwowheels,

    For this you have to create child theme. For more details on creating child theme, visit this LINK. Then in child theme create a file and name it index.php and add the following codes in it and save.

    <?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 Base Pro
     * @since Catch Base 1.0
     */
    
    get_header(); ?>
    
    	<main id="main" class="site-main" role="main">
    
    		<?php if ( have_posts() ) : ?>
    
    			<?php /* Start the Loop */ ?>
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php
    					/* Include the Post-Format-specific template for the content.
    					 * If you want to override this in a child theme then include a file
    					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    					 */
    					get_template_part( 'content', get_post_format() );
    				?>
    
    			<?php
    				$withcomments = 1; // force comments form and comments to show on front page
    				comments_template();
    			?>
    
    			<?php endwhile; ?>
    
    			<?php catchbase_content_nav( 'nav-below' ); ?>
    
    		<?php else : ?>
    
    			<?php get_template_part( 'no-results', 'index' ); ?>
    
    		<?php endif; ?>
    	</main><!-- #main -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    This will display comments section in your home page.

    Regards,
    Mahesh

    in reply to: Modify font size of image captions? #83925
    Mahesh
    Participant

    Hi @americaontwowheels,

    You do not have to touch the theme’s code for this. It can be done with Custom CSS. Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS.

    .wp-caption-text {
        font-size: 12px;
    }

    Regards,
    Mahesh

    in reply to: Search Button Missing After 4.2 #83923
    Mahesh
    Participant

    Hi @rcstani,

    Please post in your site url.

    Regards,
    Mahesh

    in reply to: Cannot install Simple Catch Pro version 3.3 #83918
    Mahesh
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    Hi @eggbanana,

    Thank you for your appreciation.
    Have a good day!

    Regards,
    Mahesh

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

    Hi @shawn,

    Thank you for your appreciation.
    Have a nice day!

    Regards,
    Mahesh

    Mahesh
    Participant

    Hi @Lucia,

    Thank you for your appreciation.
    Have a nice day!

    Regards,
    Mahesh

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

    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
    Participant

    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
    Participant

    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

Viewing 20 posts - 4,601 through 4,620 (of 4,916 total)