Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Remove Permalink from Featured Images #88965
    kate-upton
    Participant

    When you select the image you want, before setting it as featured image’, make sure you’re changing the link URL to none. Otherwise just delete the a tags around the .

    Or are you using a php include in your theme to put the featured image there?

    in reply to: bigger logo in the header #88845
    kate-upton
    Participant

    the logo image is being scaled by Layers to keep the header at a size that allows the content below it to sit at an ideal place in the browser window. This is doubly important if the Overlay or Sticky header option is enabled, as a larger logo will increase the height of the header bar, causing it to overlap.

    in reply to: How to customize "hamburger icon" on mobile devices #88840
    kate-upton
    Participant

    To add the icon before the word menu, you can do this:

    .sm-user-ui .sm-h5:before {
    font-family: ‘SmugMug Icon Font Regular’;
    font-size: 15px;
    content: ‘ \e039 ‘;
    }

    Not sure i’d replace the word… might not be too obvious what it does. Also I haven’t thoroughly tested that code... it works on your mobile homepage but no guarantees about other parts of your site.

    in reply to: Remove Permalink from Featured Images #88794
    kate-upton
    Participant

    i would also like to know how to remove links from the slider. any tips on what exactly i would be customizing with the simplecatch_sliders() function? here it is below (i found the following code in the simplecatch_functions.php file)

    /**
     * This function to display featured posts on homepage header
     *
     * @get the data value from theme options
     * @displays on the homepage header
     *
     * @useage Featured Image, Title and Content of Post
     *
     * @uses set_transient and delete_transient
     */
    function simplecatch_sliders() {
    	global $post;
    	//delete_transient( 'simplecatch_sliders' );
    
    	global $simplecatch_options_settings;
        $options = $simplecatch_options_settings;
    
    	$postperpage = $options[ 'slider_qty' ];
    
    	if( ( !$simplecatch_sliders = get_transient( 'simplecatch_sliders' ) ) && !empty( $options[ 'featured_slider' ] ) ) {
    		echo '<!-- refreshing cache -->';
    
    		$simplecatch_sliders = '
    		<div class="featured-slider">';
    			$get_featured_posts = new WP_Query( array(
    				'posts_per_page' => $postperpage,
    				'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 = "slides displayblock"; } else { $classes = "slides displaynone"; }
    				$simplecatch_sliders .= '
    				<div class="'.$classes.'">
    					<div class="featured">
    						<div class="slide-image">';
    							if( has_post_thumbnail() ) {
    
    								$simplecatch_sliders .= '<a href="' . get_permalink() . '" title="Permalink to '.the_title('','',false).'">';
    
    								if( $options[ 'remove_noise_effect' ] == "0" ) {
    									$simplecatch_sliders .= '<span class="img-effect pngfix"></span>';
    								}
    
    								$simplecatch_sliders .= get_the_post_thumbnail( $post->ID, 'slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class'	=> 'pngfix' ) ).'</a>';
    							}
    							else {
    								$simplecatch_sliders .= '<span class="img-effect pngfix"></span>';
    							}
    							$simplecatch_sliders .= '
    						</div> <!-- .slide-image -->
    					</div> <!-- .featured -->
    					<div class="featured-text">';
    						if( $excerpt !='') {
    							$simplecatch_sliders .= the_title( '<span>','</span>', false ).': '.$excerpt;
    						}
    						$simplecatch_sliders .= '
    					</div><!-- .featured-text -->
    				</div> <!-- .slides -->';
    			endwhile; wp_reset_query();
    		$simplecatch_sliders .= '
    		</div> <!-- .featured-slider -->
    			<div id="controllers">
    			</div><!-- #controllers -->';
    
    	set_transient( 'simplecatch_sliders', $simplecatch_sliders, 86940 );
    	}
    	echo $simplecatch_sliders;
    } // simplecatch_sliders
Viewing 4 posts - 1 through 4 (of 4 total)