Forum Replies Created

Viewing 20 posts - 1,921 through 1,940 (of 2,018 total)
  • Author
    Posts
  • in reply to: changing catchresponsive_entry_meta in "single" view #81870
    Pratik
    Keymaster

    Hi,
    Ok, same steps need to be followed, but with exception to the function. Use following code instead:

    
    /**
     * Prints HTML with meta information for the current post-date/time and author.
     *
     * @since Catch Responsive 1.0
     */
    function catchresponsive_entry_meta() {
    	if( is_single() ) {
    		//Meta info for single page
    		echo '<p class="entry-meta">';
    
    		$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
    
    		if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
    			$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
    		}
    
    		$time_string = sprintf( $time_string,
    			esc_attr( get_the_date( 'c' ) ),
    			esc_html( get_the_date() ),
    			esc_attr( get_the_modified_date( 'c' ) ),
    			esc_html( get_the_modified_date() )
    		);
    
    		printf( '<span class="posted-on">%1$s<a href="%2$s" rel="bookmark">%3$s</a></span>',
    			sprintf( _x( '<span class="screen-reader-text">Posted on</span>', 'Used before publish date.', 'catch-responsive' ) ),
    			esc_url( get_permalink() ),
    			$time_string
    		);
    
    		if ( is_singular() || is_multi_author() ) {
    			printf( '<span class="byline"><span class="author vcard">%1$s<a class="url fn n" href="%2$s">%3$s</a></span></span>',
    				sprintf( _x( '<span class="screen-reader-text">Author</span>', 'Used before post author name.', 'catch-responsive' ) ),
    				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    				esc_html( get_the_author() )
    			);
    		}
    
    		if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) {
    			echo '<span class="comments-link">';
    			comments_popup_link( esc_html__( 'Leave a comment', 'catch-responsive' ), esc_html__( '1 Comment', 'catch-responsive' ), esc_html__( '% Comments', 'catch-responsive' ) );
    			echo '</span>';
    		}
    
    		edit_post_link( esc_html__( 'Edit', 'catch-responsive' ), '<span class="edit-link">', '</span>' ); 
    
    		echo '</p><!-- .entry-meta -->';
    	}
    	else {
    		//Meta for pages other than single
    		echo '<p class="entry-meta">';
    
    		$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
    
    		if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
    			$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
    		}
    
    		$time_string = sprintf( $time_string,
    			esc_attr( get_the_date( 'c' ) ),
    			esc_html( get_the_date() ),
    			esc_attr( get_the_modified_date( 'c' ) ),
    			esc_html( get_the_modified_date() )
    		);
    
    		printf( '<span class="posted-on">%1$s<a href="%2$s" rel="bookmark">%3$s</a></span>',
    			sprintf( _x( '<span class="screen-reader-text">Posted on</span>', 'Used before publish date.', 'catch-responsive' ) ),
    			esc_url( get_permalink() ),
    			$time_string
    		);
    
    		if ( is_singular() || is_multi_author() ) {
    			printf( '<span class="byline"><span class="author vcard">%1$s<a class="url fn n" href="%2$s">%3$s</a></span></span>',
    				sprintf( _x( '<span class="screen-reader-text">Author</span>', 'Used before post author name.', 'catch-responsive' ) ),
    				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    				esc_html( get_the_author() )
    			);
    		}
    
    		if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) {
    			echo '<span class="comments-link">';
    			comments_popup_link( esc_html__( 'Leave a comment', 'catch-responsive' ), esc_html__( '1 Comment', 'catch-responsive' ), esc_html__( '% Comments', 'catch-responsive' ) );
    			echo '</span>';
    		}
    
    		edit_post_link( esc_html__( 'Edit', 'catch-responsive' ), '<span class="edit-link">', '</span>' ); 
    
    		echo '</p><!-- .entry-meta -->';
    	}
    }
    

    You need just a bit of programming knowledge for this though. There are two blocks, if and else. The if block (With comment //Meta info for single page) will be used for single view and the else block(With comment //Meta for pages other than single) will be used for index views. Just edit those blocks.

    Let me know how it goes.

    Regards,
    Pratik

    in reply to: Removing main menu in Catch Everest FREE theme #81868
    Pratik
    Keymaster

    hi @adinnung,
    I will try to check if there is anything wrong. Sorry for the inconvenience.

    Regards,
    Pratik

    in reply to: widget alignment in sidebar #81824
    Pratik
    Keymaster

    Hi @whatmoviethisweek,

    Great to know. If you like our support and Catch Box theme then please support it by providing your valuable review and rating at https://wordpress.org/support/view/theme-reviews/catch-box?rate=5#postform

    in reply to: Limit Page wide to 1150px #81810
    Pratik
    Keymaster

    Hi @Frank,
    This looks a bit hard to do as all the Responsive design will suffer. I will tag @Sakin. Maybe he can come up with a better solution.

    Regards,
    Pratik

    in reply to: How to change the word "menu" in mobile version #81807
    Pratik
    Keymaster

    Hi @emree025,
    Since you only use Primary Menu, add following function below the existing code in functions.php:

    
    /**
     * This function loads Mobile Menus Anchor in Header Section
     *
     * @get the data value from theme options
     * @uses catchbox_after_headercontent action to add in the Header
     */
    function catchbox_mobile_header_nav_anchor() {
        //Getting Ready to load options data
        $options = catchbox_get_theme_options();
    
        // Header Left Mobile Menu Anchor 
        if ( has_nav_menu( 'primary' ) ) {
            $classes = "mobile-menu-anchor primary-menu";
        }
        else {
            $classes = "mobile-menu-anchor page-menu"; 
        }
        ?>
        <div class="menu-access-wrap clearfix">
            <div id="mobile-header-left-menu" class="<?php echo $classes; ?>">
                <a href="#mobile-header-left-nav" id="header-left-menu" class="genericon genericon-menu">
                    <span class="mobile-menu-text"><?php _e( 'Alternate Primary Menu Text', 'catch-box' );?></span>
                </a>
            </div><!-- #mobile-header-menu -->
    
            <?php
            if ( ( !empty ( $options ['enable_menus'] ) &&  has_nav_menu( 'secondary' ) ) ) {
                $classes = "mobile-menu-anchor secondary-menu";
            }
            else {
                return; 
            }
            ?>
            <div id="mobile-header-right-menu" class="<?php echo $classes; ?>">
                <a href="#mobile-header-right-nav" id="header-right-menu" class="genericon genericon-menu">
                    <span class="mobile-menu-text"><?php _e( 'Secondary Menu', 'catch-box' );?></span>
                </a>
            </div><!-- #mobile-header-menu -->
        </div><!-- .menu-access-wrap -->   
    
        <?php    
    }
    

    In above code, you will find Alternate Primary Menu Text. Change this to your desired text.

    in reply to: Limit Page wide to 1150px #81770
    Pratik
    Keymaster

    Hi @Frank,
    This is a duplicate post of http://catchthemes.com/support-forum/topic/limit-page-wide-to-1150px, so I am ignoring this one.

    Regards,
    Pratik

    in reply to: Limit Page wide to 1150px #81769
    Pratik
    Keymaster

    Hi @Frank,
    I will need your site url for this.

    in reply to: Use 1 Header-Image on frontpage instead of slider #81768
    Pratik
    Keymaster

    Hi @Frank,
    Can you please post in your site url?

    in reply to: Removing main menu in Catch Everest FREE theme #81767
    Pratik
    Keymaster

    Hi @adunning,
    Please post in your site url.

    in reply to: sidebar is under content due to woocommerce #81750
    Pratik
    Keymaster

    Hi @minion,
    I am glad it worked out. If you liked our theme and support, please support it by providing your valuable review and rating at https://wordpress.org/support/view/theme-reviews/catch-responsive?rate=5#postform

    in reply to: sidebar is under content due to woocommerce #81724
    Pratik
    Keymaster
    
    Hi @minion,
    
    Catch Responsive Free version is not WooCommerce Ready. The pro version is. 
    
    However, it looks like you have customized your page a bit and it has a few issues. The first one is that the page has two div with id content. And you have a container div, which in not there by default.
    
    Add the code below in "Appearance=> Customizer=> Theme Options=> Custom CSS" and it should work.
    

    #container .products {
    width: 100%
    }
    #content #container {
    float: left;
    width: 820px;
    }
    `

    If this does not work, you will need to revert to the original classes and content and it will work, otherwise, you will need to hire a customizer.

    in reply to: Removing main menu in Catch Everest FREE theme #81723
    Pratik
    Keymaster

    Hi @adunning,
    Add following code in Appearance=> Theme Options => Custom CSS box:

    
    #access {
    display: none;
    }
    

    This will hide the Primary Menu. Let me know if this works or not.

    Regards,
    Pratik

    in reply to: changing catchresponsive_entry_meta in "single" view #81722
    Pratik
    Keymaster

    hi @Alexandre,
    I thought you wanted the meta to be only shown on single page and not index pages?

    in reply to: How to change the word "menu" in mobile version #81721
    Pratik
    Keymaster

    Hi @emree025,
    If you check the link I gave you for child themes, near the bottom of the post, there are sample child themes. If you get the one for Catch box, it will have a functions.php file. Then just paste that function and change the text as I mentioned in the lines. Easier way would be to upgrade to pro. Pro theme has these options.

    in reply to: Having Some Trouble #81720
    Pratik
    Keymaster

    Hi @JurgenDoe,
    About the Font issue, can you let me know which font you want to use, maybe then I can provide you correct CSS.

    in reply to: Black border/padding around videos? #81703
    Pratik
    Keymaster

    Hi @Keith,
    I am sorry as there is no other way to embed something from other source. You can also use <object> and <embed> but the results will be the same, i.e. you wont be able to edit the contents of the source. You can check the answer here

    A bit advanced answer would be for you to get the video url and display it using html, but the source that you are using should give you the video url and permissions to access it. This is a bit tough as you need to know quite a bit about html5, server Post Messages, and even a bit of jQuery Plugin if you want to make video work in past browsers like old Internet Explorer version as well.

    Hope I made the answer clear. Please feel free to ask again if this is not sufficiently described.

    Regards,
    Pratik

    in reply to: Having Some Trouble #81702
    Pratik
    Keymaster

    Hi @JurgenDoe,
    You have the option to change font family in Simple Catch Pro Version. However, in free version, you will need to add following CSS code in Appearance=> Customize=> Theme Options=> Custom CSS Box:

    
    #site-title { 
       font-family: "Arial Black", Gadget, sans-serif; 
    }
    

    You can change the font family to any one you desire. Here, I have kept Arial Black As Font.

    To remove sidebars on only those pages, you can follow steps below:
    1. Edit the required page from Dashboard.
    2. On the page’s edit page, there is a Select Sidebar Layout Metabox near the bottom of the page.
    3. In that, Select the layout with no sidebar: Either No Sidebar or No Sidebar, Full Width
    Here is a screenshot: Screenshot

    in reply to: Menu issue #81695
    Pratik
    Keymaster

    Hi @Bandit,
    I am glad that the it worked out for you. Let us know if you have any more problem.

    I would be great if you could give this theme a review here.

    Thanks,
    Pratik

    in reply to: Menu issue #81690
    Pratik
    Keymaster

    Hi @Bandit,
    Please try following code:

    
    #secondary-menu {
        font-size: 20px;
    }
    

    Again, pleas post in your site url if this does not work.

    in reply to: Having Some Trouble #81687
    Pratik
    Keymaster

    Hi @JurgenDoe,

    Thanks for using Simple Catch and sorry for the inconvenience caused to you.
    Your image has two issues so I will assist you as follows:
    1. The text in the top is not logo but text. It is your main site title. You can change the text from two places, through Appearance=> Customize => Site Identity => Site Title or Settings=> General Settings=> Site Title. The first option will show you live preview.
    2. Continue Reading a &rarr: About This is a known issue and will be fixed on next version update. For now, can you try changing it from Appearance=> Theme Options => Excerpt / More Tag Settings =>More Tag Text and it should work.

    Let me know if this solves your issue or not.

    Regard,
    Pratik

Viewing 20 posts - 1,921 through 1,940 (of 2,018 total)