Forum Replies Created
-
Author
-
NudricaParticipant
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?
NudricaParticipantI 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?
NudricaParticipantMine looked like this:
COPY CODEfunction 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>'; } }
NudricaParticipantHi Abe
That blow the site – Dont know what i wrote wrong cause I just copied it in.
-
AuthorPosts