Forum Replies Created

Viewing 7 posts - 41 through 47 (of 47 total)
  • Author
  • in reply to: I want to use this codes #19617
     Nudrica
    Participant

    Hi Patagonia

    I specific sidebars for each group and the subpages. Im trying Content Aware Sidebars but cant get it to work. It keeps showing the main sidebar

    Got that part working? or do anybody solved something similar?

    in reply to: A Splash or Landing page Only! #19587
     Nudrica
    Participant

    I need the same thing. Making the logo redirect to one part of my site when a user is logged in and another when he/she is not.

    Did you figure out where the code should go nusolutions?

    in reply to: Remove Date, Author and amount of comments #19511
     Nudrica
    Participant

    Thx – I got it to work now.

    in reply to: Remove Date, Author and amount of comments #19276
     Nudrica
    Participant

    Mine looked like this:

    COPY CODE
    
    function sweetdate_entry_meta() {
    	// Translators: used between list items, there is a space after the comma.
    	$categories_list = get_the_category_list( __( ', ', 'kleo_framework' ) );
    
    	// Translators: used between list items, there is a space after the comma.
    	$tag_list = get_the_tag_list( '', __( ', ', 'kleo_framework' ) );
    
    	$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( '<a href="%1$s" title="%2$s" rel="author">%3$s</a>',
    		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    		esc_attr( sprintf( __( 'View all posts by %s', 'kleo_framework' ), get_the_author() ) ),
    		get_the_author()
    	);
    
    	// Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name.
    	if ( $categories_list ) {
                    echo '<li><i class="icon-calendar"></i> '.$date.'</li>';
                    echo '<li><i class="icon-user"></i> '.$author.'</li>';
                    echo '<li><i class="icon-folder-close"></i> '.$categories_list.'</li>';
                    if ($tag_list) echo '<li><i class="icon-tags"></i> '.$tag_list.'</li>';
                    echo '<li><i class="icon-comments"></i> <a href="'.get_permalink().'#comments">'.sprintf( _n( 'One comment', '%1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'</a></li>';
            }
            else {
                    echo '<li><i class="icon-calendar"></i> '.$date.'</li>';
                    echo '<li><i class="icon-user"></i> '.$author.'</li>';
                    if ($tag_list) echo '<li><i class="icon-tags"></i> '.$tag_list.'</li>';
                    echo '<li><i class="icon-comments"></i> <a href="'. get_permalink().'#comments">'.sprintf( _n( 'One comment', '%1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'</a></li>';
    	}
    
    }
    
    in reply to: Remove Date, Author and amount of comments #19272
     Nudrica
    Participant

    and the function is not 25 lines I guess 🙂 sry for being all newbie here

    in reply to: Remove Date, Author and amount of comments #19270
     Nudrica
    Participant

    Hi Abe

    That blow the site – Dont know what i wrote wrong cause I just copied it in.

    in reply to: Replace icon categories #11218
     Nudrica
    Participant

    Solved – Thx!

    Could you by chance provide me with what to write in child theme?

Viewing 7 posts - 41 through 47 (of 47 total)

Log in with your credentials

Forgot your details?