Forum Replies Created

Viewing 20 posts - 4,661 through 4,680 (of 4,903 total)
  • Author
    Posts
  • in reply to: Theme translation #83399
    Mahesh
    Participant

    Hi @deevd,

    Well in that case, you have to first create a child theme. You can find more details on creating child theme HERE.
    Then you have to override some function with child theme’s functions.php.
    Following are the functions to be overridden.
    1. For changing Posted on and by text

    function adventurous_header_meta() {
    
    	$date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>',
    		esc_url( get_permalink() ),
    		esc_attr( get_the_time() ),
    		esc_attr( get_the_date( 'c' ) ),
    		esc_html( get_the_date() )
    	);
    
    	$author = sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
    		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    		esc_attr( sprintf( __( 'View all posts by %s', 'adventurous' ), get_the_author() ) ),
    		get_the_author()
    	);
    
    	// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name.
    		$utility_text = __( '<span class="on-date">Posted on %1$s</span><span class="by-author"> by %2$s</span>', 'adventurous' );
    
    	printf(
    		$utility_text,
    		$date,
    		$author
    	);
    }

    2. For changing Posted in and tagged text

    function adventurous_footer_meta() {
    
    	// Translators: used between list items, there is a space after the comma.
    	$categories_list = get_the_category_list( __( ', ', 'adventurous' ) );
    
    	// Translators: used between list items, there is a space after the comma.
    	$tag_list = get_the_tag_list( '', __( ', ', 'adventurous' ) );
    
    	// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name.
    	if ( $tag_list ) {
    		$utility_text = __( '<span class="in-category">Posted in %1$s</span><span class="sep"> | </span><span class="in-tag">Tagged %2$s</span>', 'adventurous' );
    	} elseif ( $categories_list ) {
    		$utility_text = __( '<span class="in-category">Posted in %1$s</span>', 'adventurous' );
    	}
    
    	printf(
    		$utility_text,
    		$categories_list,
    		$tag_list
    	);
    }

    3. For changing Older posts and Newer posts text

    function adventurous_content_nav( $nav_id ) {
    	global $wp_query, $post;
    
    	/**
    	 * Check Jetpack Infinite Scroll
    	 * if it's active then disable pagination
    	 */
    	if ( class_exists( 'Jetpack', false ) ) {
    		$jetpack_active_modules = get_option('jetpack_active_modules');
    		if ( $jetpack_active_modules && in_array( 'infinite-scroll', $jetpack_active_modules ) ) {
    			return false;
    		}
    	}
    
    	// Don't print empty markup on single pages if there's nowhere to navigate.
    	if ( is_single() ) {
    		$previous = ( is_attachment() ) ? get_post( $post->post_parent ) : get_adjacent_post( false, '', true );
    		$next = get_adjacent_post( false, '', false );
    
    		if ( ! $next && ! $previous )
    			return;
    	}
    
    	// Don't print empty markup in archives if there's only one page.
    	if ( $wp_query->max_num_pages < 2 && ( is_home() || is_archive() || is_search() ) )
    		return;
    
    	$nav_class = 'site-navigation paging-navigation';
    	if ( is_single() )
    		$nav_class = 'site-navigation post-navigation';
    
    	?>
    	<nav role="navigation" id="<?php echo $nav_id; ?>" class="<?php echo $nav_class; ?>">
    		<h1 class="assistive-text"><?php _e( 'Post navigation', 'adventurous' ); ?></h1>
    
    	<?php if ( is_single() ) : // navigation links for single posts ?>
    
    		<?php previous_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'adventurous' ) . '</span> %title' ); ?>
    		<?php next_post_link( '<div class="nav-next">%link</div>', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'adventurous' ) . '</span>' ); ?>
    
    	<?php elseif ( $wp_query->max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?>
    
    		<?php if ( function_exists('wp_pagenavi' ) )  {
            	wp_pagenavi();
    		}
    		else { ?>
    			<?php if ( get_next_posts_link() ) : ?>
                <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'adventurous' ) ); ?></div>
                <?php endif; ?>
    
                <?php if ( get_previous_posts_link() ) : ?>
                <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'adventurous' ) ); ?></div>
                <?php endif;
    		} ?>
    
    	<?php endif; ?>
    
    	</nav><!-- #<?php echo $nav_id; ?> -->
    	<?php
    }

    Regards,
    Mahesh

    in reply to: Theme translation #83388
    Mahesh
    Participant

    Hi deevd,

    The theme is made translation ready by default, you can use translation plugins such as WPML, Qtranslate etc for the translations.

    Regards,
    Mahesh

    in reply to: Update failed from 3.3 to 3.4 #83387
    Mahesh
    Participant

    Hi @deevd,

    Delete the theme folder or rename is solution for uploading updated theme manually. If you are using Catch Updater plugin, you can skip this step.

    Regards,
    Mahesh

    in reply to: Catch Responsive Child Theme #83380
    Mahesh
    Participant

    Hi @husker,

    @sakin will help you further on this.
    Sorry for inconvenience.

    Regards,
    Mahesh

    in reply to: Update failed from 3.3 to 3.4 #83379
    Mahesh
    Participant

    Hi @deevd,

    It is recommended to first create the backup before any updates. Then delete the theme folder or rename (recommended) the older theme folder, then install the new updated theme.
    Or you can try Catch Updater plugin which will make it easy for you to install theme updates without renaming or removing manually. I also has an option to create the backup of the older theme.
    You can download the plugin from HERE.

    Regards,
    Mahesh

    in reply to: Catch Responsive Child Theme #83377
    Mahesh
    Participant

    Hi @husker,

    The settings in the main theme retains on the child theme if no modification is made through child theme settings. However the changes in styles such as modifying color, width etc in Custom CSS won’t be carried between child theme an main theme.
    No you do not have to remove all the widgets from main theme while creating the child theme, I recommend to see if it fixes the issue.
    Yes, sometimes, the plugins may affect the way the theme working. Have you tried disabling the plugins?

    Please let me know if this fixes the issue.

    Regards,
    Mahesh

    in reply to: Catch Responsive Child Theme #83375
    Mahesh
    Participant

    Hi @husker,

    I just checked your site and now the main theme active, the “Game Countdown” is in the right sidebar. Did you just switched the theme or have you repositioned the widgets also because now there is only “Game Countdown” in Primary Sidebar and no other widgets in footer. Previously in the child theme there were other widgets like “Recent Posts, Recent Comments, Archives” etc in the Primary Sidebar and “Game Countdown” in the Footer Widget.

    Please activate the child theme, go to “Dashboard=> Appearance=> Widgets” and remove all the widgets from there. Then add “Countdown” widget to the Primary Sidebar. And go to front end and check where the widget is being displayed.

    Let me know if the problem persists.

    Regards,
    Mahesh

    in reply to: How to Download Theme's Latest Version Zip File #83374
    Mahesh
    Participant

    Hi @abcd,

    Did you get the Catch Base Pro update?

    Regards,
    Mahesh

    in reply to: Catch Updater Plugin Not Downloading As Zip File #83373
    Mahesh
    Participant

    Hi @abcd,

    Thank you for your appreciation.
    Have a nice day!

    Regards,
    Mahesh

    in reply to: Color menu on Android different from Windows #83372
    Mahesh
    Participant

    Hi @[email protected],

    Your site seems down so couldn’t check your site. It seems you’ve changed the color for menu in desktop version only. There is another element for the menu for mobile version you’ve to add the CSS rule to that element too.
    It is the ul with id=> “header-mobile-menu-block”.

    Add the CSS as below

    #header-mobile-menu-block li a {
        color: #ff5a00;
    }

    Note: Add rule to this element as you desire.

    Regards,
    Mahesh

    in reply to: Move primary menu below featured image #83371
    Mahesh
    Participant

    Hi @Paul,

    I’ll provide you the code that I’ve tested with which is working fine. Please try with the following.
    1. style.css

    /*
    Theme Name: Catch Kathmandu Pro Child Theme
    Theme URI: http://catchthemes.com/themes/catch-kathmandu-pro
    Author: Catch Themes Team
    Author URI: http://catchthemes.com
    Description: Catch Themes has come up with a full-fledged Corporate/Blog premium WordPress theme, Catch Kathmandu Pro! The design is highly customizable and you can tailor the display to your taste with a few easy clicks. Based on HTML5 and CSS3, it is a responsive theme which automatically adapts to the screen's size, regardless of the devices the visitors use. It has a large screen layout which elegantly extends to 1280 pixels! If you are looking for a clean professional space which accommodates your visuals and yet provides you with ample amount of textual area, Catch Kathmandu Pro is your perfect find. Active community at http://catchthemes.com/support-forum/
    Version: 1.0
    License: GNU General Public License, version 3 (GPLv3)
    License URI: http://www.gnu.org/licenses/gpl-3.0.txt
    Tags: black, blue, gray, white, dark,light, one-column, two-columns, left-sidebar, right-sidebar, fixed-layout, fluid-layout, responsive-layout,  custom-background, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, front-page-post-form, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
    Text Domain: catchkathmandu
    Template: catch-kathmandu-pro
    */
    
    /* =Child Theme Custom CSS
    -------------------------------------------------------------- */

    2. functions.php

    <?php
    /**
     * Child Theme functions and definitions
     *
     */
    
    /**
     * Loading Parent theme stylesheet
     *
     */
    add_action( 'wp_enqueue_scripts', 'catchkathmandu_child_enqueue_styles' );
    function catchkathmandu_child_enqueue_styles() {
        wp_enqueue_style( 'catchkathmandu-parent-style', get_template_directory_uri() . '/style.css' );
    }
    
    /**
     * Moving Primary Slider below Slider
     *
     */
    add_action( 'init' , 'catchkathmandu_child_move_menu_below_slider' );
    function catchkathmandu_child_move_menu_below_slider() {
    	remove_action( 'catchkathmandu_hgroup_wrap', 'catchkathmandu_header_right', 15 );
    	add_action( 'catchkathmandu_before_main', 'catchkathmandu_header_right', 15 );
    }

    The link below is the image of the changes made with the above codes in the child theme.
    http://www.awesomescreenshot.com/image/925575/3ad7ec7128fb34c76175a8c2b3cdad24

    Regards,
    Mahesh

    in reply to: Catch Responsive Child Theme #83369
    Mahesh
    Participant

    Hi @husker,

    It seems, you’ve put the Game Countdown widget in the “Footer Area 1”. Please check the widgets are in the right places in admin section.
    And what updates have you made to the main theme’s slider?
    The changes main theme should be same on the child theme too, unless you’ve modified it to something else in the child theme.

    Hope you understand, let me know further.

    Regards,
    Mahesh

    in reply to: Double menu on mobile devices #83367
    Mahesh
    Participant

    Hi @witgi,

    Yes, no problem. Please email it to me @ [email protected].
    If you have just modified the theme for secondary menu hack and changed nothing else I recommend you to install a fresh copy of the theme again and check.

    Regards,
    Mahesh

    in reply to: Catch Responsive Child Theme #83315
    Mahesh
    Participant

    Hi @husker,

    The above mentioned code is all correct. It is working fine as I tested it.
    Could you please post in you site url?

    Regards,
    Mahesh

    in reply to: Featured Slider Loads Relatively Slowly #83305
    Mahesh
    Participant

    Hi @LiminalLLC,

    The issue is not because of the theme itself. It is simply because of the size of the images ( all 3 images are more than 1MB ). We recommend you to optimize the image size. Your idea of changing images from png to jpg is perfect.
    The recommended size for the slider is:
    Slider
    Width: 1920px
    Height: 800px

    Regards,
    Mahesh

    in reply to: social linking icons #83304
    Mahesh
    Participant

    Hi @ShayC,

    The above mentioned feature is not allowed in WordPress repository and falls in plugin territory. I recommend you to use a suitable plugin from WordPress Plugin Repository

    Regards,
    Mahesh

    in reply to: Easyrotator Home page Sidepage or other page #83303
    Mahesh
    Participant

    Hi @Olivier,

    Thank you for using Catch Box Pro.

    The theme as number of sidebars. Here is some a brief info on which page displays which sidebar.
    Homepage Sidebar( if active ) => Display in Homepage
    Archive Sidebar (if active ) => Display in Archive
    Page Sidebar (if active ) => Display in Page
    Post Sidebar (if active ) => Display in Post
    Main Sidebar => Displays by default.

    If no sidebar is assigned except main sidebar, all page will display main sidebar.

    Hope this helps you.

    Regards,
    Mahesh

    in reply to: Move primary menu below featured image #83302
    Mahesh
    Participant

    Hi @Paul,

    Have you made any changes to the Catch Kathmandu Pro theme files?
    Please let me know further details.

    Regards,
    Mahesh

    Mahesh
    Participant

    Hi @Lucia,

    As per your questions, I’ll break down the solutions to its respective numbers.
    1. For menu bar gradient effect. Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS.

    #header-menu #access, #colophon #access-footer{
    	background: linear-gradient(#86030d, #222) repeat scroll 0 0 rgba(0, 0, 0, 0);
    }

    Note: please change the hex value “#86030d” and “#222” as per desired.

    2. With responsive design, what issue are you facing? Please let me know so I could help your further.

    3. To change archive dropdown menu’s styles, go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS.

    select#archives-dropdown-3 {
        background: #A2A2A2;
        font-family: Times New Roman;
        font-size: 17px;
    }

    Regards,
    Mahesh

    in reply to: catch responsive-default-options.php #83300
    Mahesh
    Participant

    Hi @husker,

    Thank you for your appreciation.
    Please visit this SITE for more details on how to create a child theme.

    Have a nice day!

    Regards,
    Mahesh

Viewing 20 posts - 4,661 through 4,680 (of 4,903 total)