Viewing 20 results - 2,261 through 2,280 (of 3,446 total)
  • Author
    Search Results
  • #21202
    ourag
    Member

    I have a code put in for rounded widgets which look great. Now I am wondering if there is any code or option to have my featured slider, featured image and postings/pages have rounded corners.

    #21186

    In reply to: Two H1 tag..

    In my functions.php file (I copied the files from the folder simple-catch to simple-catch-CHILD) I have this code that is different from yours. If I delete my code and insert your own, I have so many errors.

    <?php
    /**
     * Simple Catch functions and definitions
     *
     * Sets up the theme and provides some helper functions. Some helper functions
     * are used in the theme as custom template tags. Others are attached to action and
     * filter hooks in WordPress to change core functionality.
     *
     * The first function, simplecatch_setup(), sets up the theme by registering support
     * for various features in WordPress, such as post thumbnails, navigation menus, and the like.
     *
     * @package Catch Themes
     * @subpackage Simple_Catch
     * @since Simple Catch 1.0
     */
    
    /**
     * Set the content width based on the theme's design and stylesheet.
     */
    if ( ! isset( $content_width ) )
    	$content_width = 642;
    
    /**
     * Tell WordPress to run simplecatch_setup() when the 'after_setup_theme' hook is run.
     */
    add_action( 'after_setup_theme', 'simplecatch_setup' );
    
    if ( !function_exists( 'simplecatch_setup' ) ):
    /**
     * Sets up theme defaults and registers support for various WordPress features.
     *
     * Note that this function is hooked into the after_setup_theme hook, which runs
     * before the init hook. The init hook is too late for some features, such as indicating
     * support post thumbnails.
     *
     * @uses load_theme_textdomain() For localization support.
     * @uses add_theme_support() To add support for post thumbnails and automatic feed links.
     * @uses register_nav_menu() To add support for navigation menu.
     * @uses set_post_thumbnail_size() To set a custom post thumbnail size.
     *
     * @since Simple Catch 1.0
     */
    function simplecatch_setup() {
    
    	/* Simple Catch is now available for translation.
    	 * Add your files into /languages/ directory.
    	 * @see http://codex.wordpress.org/Function_Reference/load_theme_textdomain
    	 */
    	load_theme_textdomain( 'simplecatch', get_template_directory() . '/languages' );
    	
    	$locale = get_locale();
        $locale_file = get_template_directory().'/languages/$locale.php';
        if (is_readable( $locale_file))
    		require_once( $locale_file);	
    
    	// Load up theme options defaults
    	require( get_template_directory() . '/functions/simplecatch_themeoptions_defaults.php' );
    	
    	// Load up our theme options page and related code.
    	require( get_template_directory() . '/functions/panel/theme_options.php' );
    	
    	// Grab Simple Catch's Custom Tags widgets.
    	require( get_template_directory() . '/functions/widgets.php' );
    	
    	// Load up our Simple Catch's Functions
    	require( get_template_directory() . '/functions/simplecatch_functions.php' );
    	
    	// Load up our Simple Catch's metabox
    	require( get_template_directory() . '/functions/simplecatch_metabox.php' );
    	
    	/**
         * This feature enables Jetpack plugin Infinite Scroll
         */		
        add_theme_support( 'infinite-scroll', array(
    		'type'          => 'click',										
            'container'     => 'content',
    		'render'    	=> 'simplecatch_infinite_scroll_render',
            'footer'        => 'page'
        ) );
    			
    	
    	// This theme uses Featured Images (also known as post thumbnails) for per-post/per-page.
    	add_theme_support( 'post-thumbnails' );
    	
    	/* We'll be using post thumbnails for custom features images on posts under blog category.
    	 * Larger images will be auto-cropped to fit.
    	 */
    	set_post_thumbnail_size( 210, 210 );
    	
    	// Add Simple Catch's custom image sizes
    	add_image_size( 'featured', 210, 210, true); // uses on homepage featured image
    	add_image_size( 'slider', 976, 313, true); // uses on Featured Slider on Homepage Header
    	
    	// Add default posts and comments RSS feed links to head
    	add_theme_support( 'automatic-feed-links' ); 
    		
    	// remove wordpress version from header for security concern
    	remove_action( 'wp_head', 'wp_generator' );
     
    	// This theme uses wp_nav_menu() in one location.
    	register_nav_menu( 'primary', __( 'Primary Menu', 'simplecatch' ) );
    	
    	// Add support for custom backgrounds	
    	// WordPress 3.4+
    	if ( function_exists( 'get_custom_header') ) {
    		add_theme_support( 'custom-background' );
    	} else {
    		// Backward Compatibility for WordPress Version 3.3
    		add_custom_background();
    	}	
    
    	//Redirect to Theme Options Page on Activation
    	global $pagenow;
    	if ( is_admin() && isset($_GET['activated'] ) && $pagenow =="themes.php" ) {
    		wp_redirect( 'themes.php?page=theme_options' );
    	}
    	
    } // simplecatch_setup
    endif;
    Nancy
    Member

    I’m using the following CSS to resize the columns. I am using a featured image slider. Images are sized at 840×320. In FireFox 27.0.1, for some screen sizes, the images appear slightly smaller than then box and then snap into place. The problem seems to be when the image is 740px wide. Large or smaller, it seems to work ok. It seems to also work in other browsers (IE9, Chrome 33). Suggestions?

    Site: http://ipcrew.com/SHSTest
    CSS Code being used.

    #primary { width: 840px; }
    #secondary { width: 320px; }
    @media screen and (max-width: 1224px) {
    #primary { width: 740px; }
    #secondary { width: 254px; }
    }
    @media screen and (max-width: 1060px) {
    #primary { width: 616px; }
    #secondary { width: 254px; }
    }
    @media only screen
    and (min-device-width : 768px)
    and (max-device-width : 1024px)
    and (orientation : landscape) {
    #primary { width: 676px; }
    #secondary { width: 254px; }
    }
    @media screen and (max-width: 960px) {
    #primary, #secondary { width: 100%; }
    }

    Sakin
    Keymaster

    @Nancy: If you have already change your column width to 854px then you need to increase the size of image in the sizer to 854px. This will be difficult using default image form Feature Page or Post slider. But I see that you are using Catch Evolution Pro theme then you can just user Featured Image Slider and then upload the image as per your need.

    #21109
    Sakin
    Keymaster

    @ourag: Your all 3 question simple answer will be upgrade to Catch Evolution Pro version. See the theme instruction of pro version at http://catchthemes.com/theme-instructions/catch-evolution-pro/

    1. You can remove Powered by :Wordpress and Theme: Catch Evolution from footer in Pro version through “Appearance => Theme Options => Footer Editor”
    2. Yes, you can option to user Featured Image Slider in Pro version. Where you can upload your independent images.
    3. In Pro version you can control comment for pages and posts from “Appearance => Theme Options => Comment Options”.

    #21072

    Is there anyway to set a height attribute so it does not move the content below up and down?

    Thanks

    #21030

    In reply to: Problem

    Sakin
    Keymaster

    @MVS: It’s ok I will take a look at your site.
    I see that you are using Featured Post Slider. This takes the post ID and get in the post featured image, post title and post excerpt text.
    I see that you have added ID 58 and 1538. Your post ID 58 have Featured Image but the post http://www.looks-familiar.com/wp/wordpress/?p=1538 don’t have featured image. I see that you have insert the image in your post but haven’t assigned as Featured Image. Please assign it and it will be fine.

    See the theme instruction for details about Featured Post slider http://catchthemes.com/theme-instructions/catch-everest/

    #21022

    Topic: Problem

    in forum Catch Everest
    MVS
    Member

    Hi I’m really having problem with the featured post slider.

    My site

    I have a pic in my topic and this code:
    <a href="http://www.looks-familiar.com/wp/wordpress/wp-content/uploads/2013/12/2013-05-13_Hochzeit-Andy+Steffi-Kopie.jpg"><img class="alignnone size-medium wp-image-559" alt="SONY DSC" src="http://www.looks-familiar.com/wp/wordpress/wp-content/uploads/2013/12/2013-05-13_Hochzeit-Andy+Steffi-Kopie-300x165.jpg" width="300" height="165" /></a>

    This works perfectly

    Now i wnted to have a second pic in the slider – the code is this
    <a href="http://www.looks-familiar.com/wp/wordpress/wp-content/uploads/2014/03/hallo.jpg"><img class="alignnone size-medium wp-image-1557" alt="hallo" src="http://www.looks-familiar.com/wp/wordpress/wp-content/uploads/2014/03/hallo-300x102.jpg" width="300" height="165" /></a>

    You see not much difference in the code…but why do I only see one of the pics in my slider?

    #21006

    In reply to: Excerpt with thumbnail

    Trishah
    Member

    Hi Nancy,

    What you were missing is that the images you want to change use a different css identifier. Try this instead:

    .attachment-featured-slider.wp-post-image {
    float: left;
    margin: 0 15px 5px 0;
    }

    #20978

    In reply to: Featured Post Slider

    Sakin
    Keymaster

    @FictionAddiction: I see that you haven’t added Featured Image in your post that is why there is not images in your slider and respectively align issue. “Check to Disable” is for “Exclude Slider post from Home page posts:”. This will not show the post in slider in the homepage, so once the post is in the slider, it will not show again in the post list. But in your case it’s useless as you are using Static Front Page not the latest post.

    #20973

    I have 2 issues the first being the “Check to disable” does not seem to work the second is the nav < > do not aline properly. I have checked this with Chrome & Firefox on Linux as well as Firefox on Windows.

    URL: http://fictionaddiction.ca/

    #20962

    In reply to: Default Font Sizes

    Sakin
    Keymaster

    @Sadaf: It depend of the theme you are using. For Catch Everest theme you can add the following CSS to bold the font in Featured Slider.
    #main-slider .entry-content { font-weight: bold; }

    #20957

    In reply to: Default Font Sizes

    Sadaf
    Member

    How to make the font Bold and stronger” in featured slider???
    I used this is custom css but it did not work
    “.featured-text { color: #000; }
    .featured-text a.readmore { #000; }”

    #20930
    Sakin
    Keymaster

    @Chaot112: That is demo slider images. You don’t edit core theme files. As these core theme files will be reverted back when you update the theme. To add Featured Post slider see this theme instruction page at http://catchthemes.com/theme-instructions/catch-evolution/

    #20922
    Sakin
    Keymaster

    @Chaot112: It’s strange. Then you might need to consider upgrading to pro version and user Featured Image Slider where you can add URL as per your need. The image, text and url are manual entry.

    #20895
    Chaot112
    Member

    hi!
    My Site is https://thomas-dahringer.de
    http://thomas-dahringer.de has a password, because
    I don’t want that everyone is looking at the page now,
    because i must work a few days more on my site for releasing.

    My question is, why is the Featured Post Slider taking the
    images from the http server on port 80 and not from the https
    server on port 443?
    thanks

    #20881

    In reply to: Mobile Device Swipe

    tkabe
    Member

    I get this error
    >>Parse error: syntax error, unexpected ‘<‘ in /home/content/44/10651744/html/wp-content/themes/catch-everest-child/functions.php on line 98<<

    after adding the mobile swipe and the remove “Permalink To” php code you provided to functions.php code posted below.

    child theme functions.php
    <?php

    /** CPA Customization
    * Unassociated – discover what this is related to
    *
    * @uses catcheverest_header action to add it in the header
    */
    function register_my_menus() {
    register_nav_menus(
    array(
    ‘primary’ => __( ‘Profile Menu’ ),
    ‘sidebar-menu’ => __( ‘Sidebar Menu’ )
    )
    );
    }
    add_action( ‘init’, ‘register_my_menus’ );

    function image_tag($html, $id, $alt, $title) {
    return preg_replace(array(
    ‘/’.str_replace(‘//’,’//’,get_bloginfo(‘url’)).’/i’,
    ‘/s+width=”d+”/i’,
    ‘/s+height=”d+”/i’,
    ‘/alt=””/i’
    ),
    array(
    ”,
    ”,
    ”,
    ‘alt=”‘ . $title . ‘”‘
    ),
    $html);
    }
    add_filter(‘get_image_tag’, ‘image_tag’, 0, 4);

    /** CPA Customization
    * Shows Featured Post Slider
    *
    * @uses catcheverest_header action to add it in the header
    */
    function catcheverest_post_sliders() {
    //delete_transient( ‘catcheverest_post_sliders’ );

    global $post, $catcheverest_options_settings;
    $options = $catcheverest_options_settings;

    if( ( !$catcheverest_post_sliders = get_transient( ‘catcheverest_post_sliders’ ) ) && !empty( $options[ ‘featured_slider’ ] ) ) {
    echo ‘<!– refreshing cache –>’;

    $catcheverest_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 hentry slides displayblock”; } else { $classes = “post hentry slides displaynone”; }
    $catcheverest_post_sliders .= ‘
    <article class=”‘.$classes.'”>
    <figure class=”slider-image”>

    ‘. get_the_post_thumbnail( $post->ID, ‘slider’, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $title_attribute ), ‘class’ => ‘pngfix’ ) ).’

    </figure>
    <div class=”entry-container”>
    <header class=”entry-header”>
    <h1 class=”entry-title”>
    ‘.the_title( ‘<span>’,'</span>’, false ).’
    </h1>
    </header>’;
    if( $excerpt !=”) {
    $catcheverest_post_sliders .= ‘<div class=”entry-content”>’. $excerpt.'</div>’;
    }
    $catcheverest_post_sliders .= ‘
    </div>
    </article><!– .slides –>’;
    endwhile; wp_reset_query();
    $catcheverest_post_sliders .= ‘
    </section>
    <div id=”slider-nav”>
    <
    >
    </div>
    <div id=”controllers”></div>
    </div><!– #main-slider –>’;

    set_transient( ‘catcheverest_post_sliders’, $catcheverest_post_sliders, 86940 );
    }
    echo $catcheverest_post_sliders;
    }

    /** CPA Customization
    * Allow Mobile swip/gestures
    *
    * @uses catcheverest_header action to add it in the header
    */
    function unhook_catcheverest_functions() {
    remove_action( ‘wp_head’, ‘catcheverest_responsive’, 5 );
    }
    add_action( ‘init’, ‘unhook_catcheverest_functions’ );

    //Responsive Meta in Child Theme
    function catcheverest_child_responsive() {
    // Getting data from Theme Options
    global $catcheverest_options_settings;
    $options = $catcheverest_options_settings;
    $disable_responsive = $options[ ‘disable_responsive’ ];

    if ( $disable_responsive == “0” ) {
    echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>’;
    }
    }
    add_action( ‘wp_head’, ‘catcheverest_child_responsive’, 5 );

    ?>

    #20873

    In reply to: Remove Permalink To

    tkabe
    Member

    Theme Footer has been restored as described in earlier post. I do understand.

    I do not understand your message about the featured post slider. Are you suggesting I copy the code you provided and add/insert this into my existing child theme functions.php then edit this code removing the two (2) tag references to “Permalink to”? I did this and it did not work so I must not be clear about your instructions.

    #20865

    In reply to: Remove Permalink To

    Sakin
    Keymaster

    @tkabe: I don’t get it what you mean. You don’t need to request to upgrade to pro version. You can simple purchase the theme from http://catchthemes.com/themes/catch-everest-pro/ and if you need help is installation. Then you can request in http://catchthemes.com/contact-us/

    To remove the permalink to in your Featured Post Slide, just open your functions.php file in your child theme and copy the following code and edit it.

    /**
     * Shows Featured Post Slider
     *
     * @uses catcheverest_header action to add it in the header
     */
    function catcheverest_post_sliders() { 
    	//delete_transient( 'catcheverest_post_sliders' );
    	
    	global $post, $catcheverest_options_settings;
       	$options = $catcheverest_options_settings;
    
    	
    	if( ( !$catcheverest_post_sliders = get_transient( 'catcheverest_post_sliders' ) ) && !empty( $options[ 'featured_slider' ] ) ) {
    		echo '<!-- refreshing cache -->';
    		
    		$catcheverest_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 hentry slides displayblock"; } else { $classes = "post hentry slides displaynone"; }
    					$catcheverest_post_sliders .= '
    					<article class="'.$classes.'">
    						<figure class="slider-image">
    							<a title="Permalink to '.the_title('','',false).'" href="' . get_permalink() . '">
    								'. 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="' . get_permalink() . '">'.the_title( '<span>','</span>', false ).'</a>
    								</h1>
    							</header>';
    							if( $excerpt !='') {
    								$catcheverest_post_sliders .= '<div class="entry-content">'. $excerpt.'</div>';
    							}
    							$catcheverest_post_sliders .= '
    						</div>
    					</article><!-- .slides -->';				
    				endwhile; wp_reset_query();
    				$catcheverest_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( 'catcheverest_post_sliders', $catcheverest_post_sliders, 86940 );
    	}
    	echo $catcheverest_post_sliders;	
    }

    Note: Please restore the Theme footer or upgrade to Pro version. I hope you understand.

    #20838

    In reply to: Pre-purchase question

    Sakin
    Keymaster

    @jcudak: Yes pro version has option to choose Featured Image Slider where you wan upload independent image, test and links as per your need. You don’t need coding experience.

    Your slider options will look like this http://www.pinterest.com/pin/548594798329509357/ and you can follow the instructions mentioned at http://catchthemes.com/theme-instructions/catch-kathmandu-pro/

Viewing 20 results - 2,261 through 2,280 (of 3,446 total)