lindebjerg

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • in reply to: how to turn off Post Info, but keep Post Meta? #110128

    lindebjerg
    Participant
    Post count: 42

    Hi Brad,
    perfect I got it now. I used this code

    .single-portfolio .content .entry-header .entry-meta {
    display: none;
    }

    and now it rocks;)

    Thanks,
    Jesper

    in reply to: Translate "Sorry, no content matched your criteria." #100133

    lindebjerg
    Participant
    Post count: 42

    resolved;)

    in reply to: Winning Agent Pro theme #96239

    lindebjerg
    Participant
    Post count: 42

    Thanks Brad, I will give it a try by David;)

    in reply to: Portfolio Post Type in Ambiance Pro Theme #96146

    lindebjerg
    Participant
    Post count: 42

    You are so right! But I don’t need to be flexible, I just need a working portfolio, when it is setup I will not change it at all.

    But I am not good in code, so I try to use a good written tutorial. I was hoping to get some help here with the 2 problems?

    in reply to: Portfolio Post Type in Ambiance Pro Theme #96092

    lindebjerg
    Participant
    Post count: 42

    Why better? it does not look the same.
    Sridhar have build in a circle with and glass-icon. When the image is clicked, the full featured image will be shown in a lightbox. Each image will have a transparent overlay caption at the bottom on which first few characters of the excerpt will be shown.

    single portfolio works fine, and the portfolio backend section works fine.

    archive-portfolio.php
    I have 2 problems, I think. How unload the second picture? and how to make the lightbox work?

    <?php
    /**
     * This file adds the custom portfolio post type archive template.
     *
     */
    
    //* Force full width content layout
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    
    //* Remove the breadcrumb navigation
    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
    
    //* Remove the post info function
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    
    //* Remove the post content
    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    
    //* Remove the post image
    remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
    
    //* Add portfolio body class to the head
    add_filter( 'body_class', 'sk_add_portfolio_body_class' );
    function sk_add_portfolio_body_class( $classes ) {
       $classes[] = 'portfolio-archive-page';
       return $classes;
    }
    
    //* Add featured image below post title with
    add_action( 'genesis_entry_header', 'sk_portfolio_grid' );
    function sk_portfolio_grid() {
    
    	if ( $image = genesis_get_image( 'format=url&size=portfolio' ) ) {
    
    		$my_caption = get_the_excerpt();
    		// If you do not want to show the caption uncomment the line below
    		// $my_caption = '';
    
    		$fullimage = genesis_get_image( 'format=url');
    
    		$my_url = get_permalink();
    
    		// Limit the number of characters so caption text fits in the bottom overlay
    		$my_caption_short = substr($my_caption, 0, 25);
    
    		if ( $my_caption != '' ) {
    
    			printf( '<div class="portfolio-image-wrapper">
    						<div class="portfolio-image">
    							<a href="%s" rel="prettyPhoto[pp_gal]"><img src="%s" alt="%s" class="overlay" /></a>
    						</div>
    
    						<div class="overlay-text">
    							<a href="%s">%s... <em>Read more</em> &raquo;</a>
    						</div>
    					</div>', $fullimage, $image, the_title_attribute( 'echo=0' ), $my_url, $my_caption_short );
    		}
    		else {
    			printf( '<div class="portfolio-image">
    						<a href="%s" rel="prettyPhoto[pp_gal]"><img src="%s" alt="%s" class="overlay" /></a>
    					</div>', $fullimage, $image, the_title_attribute( 'echo=0' ) );
    		}
    
    	}
    
    }
    
    //* Remove the post meta function
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    
    genesis();

    lindebjerg
    Participant
    Post count: 42

    Perfect Anitac, works;)

    in reply to: header background to white? #91998

    lindebjerg
    Participant
    Post count: 42

    Hallo Davinder,
    if I do so, the whole site header, incl. Navigation, site-description and more did turn white.
    But I only want the background behind the Logo to turn white?

    Now I got it right, I wrote this into the CSS:

    .site-avatar {
    	background-color: #fff!important;		
    }

    Thanks and best Regards,
    jesper

    in reply to: hide sub footer left and right widgets on a few pages? #85116

    lindebjerg
    Participant
    Post count: 42

    if I do so, the site turns all blank ;(

    in reply to: hide sub footer left and right widgets on a few pages? #84933

    lindebjerg
    Participant
    Post count: 42

    I have tried to inset your code into the function.php, but it did not change anything?

    • This reply was modified 7 months, 3 weeks ago by  lindebjerg.
    • This reply was modified 7 months, 3 weeks ago by  lindebjerg.
    in reply to: Outreach Pro with Portfolio #84791

    lindebjerg
    Participant
    Post count: 42

    perfect,
    thanks Robin

    in reply to: Magazine Pro Theme Portfolio #79756

    lindebjerg
    Participant
    Post count: 42

    First time it did not work, I have just send you the theme;)

    in reply to: Magazine Pro Theme Portfolio #79732

    lindebjerg
    Participant
    Post count: 42

    A message that you sent could not be delivered to one or more of
    its recipients. The following addresses failed:
    <brad@wpsites.net> ?

    in reply to: Magazine Pro Theme Portfolio #79696

    lindebjerg
    Participant
    Post count: 42

    The sort function was included in the Latent Theme.
    I have just taken all about the Portfolio and places it into the Magazine Pro Theme.

    I mostly only make css changes. But I hope this is a solid way to get the Portfolio with sorting into Genesis. I can send you a copy of “my Theme” if you want to have a look inside?

    in reply to: Magazine Pro Theme Portfolio #79465

    lindebjerg
    Participant
    Post count: 42

    okay, I have used some code from this theme: http://demo.thestizmedia.com/latent/
    and the “Custom Post Type – Portfolio” Plugin. I like the sorting function and have no idea have to code it myself;)

    I have just setup 5 Portfolio articles to test responsive and float. The Portfolio seems to work fine, or?

    I have another problem, sometimes by loading the site, text, or titles scale down.
    First they are big then they get he right size?

    Have you seen this before? or on my site now?
    I have only this problem in Chrome on Mac, no problems in Safari.

    in reply to: Magazine Pro Theme Portfolio #79434

    lindebjerg
    Participant
    Post count: 42

    I have found the mistake myself!
    I just have to write here, then I mostly find the mistake in a minute;)

    // Remove the post image
    remove_action( 'genesis_entry_content', 'genesis_do_post_image' );

    In taxonomy-portfolio_cat.php and taxonomy-portfolio_tag.php I changed it to

    // Remove the post image
    remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );

    and it rocks;)

Viewing 15 posts - 1 through 15 (of 30 total)