Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Pierre73100

    (@pierre73100)

    Thanks to anyone for his answers and comments.

    Well, it’s a little bit hard for me to understand what is allowed and what is not allowed. According to the WordPress License page, Derivatives of WordPress code, such as plugins or themes, inherit the GPL license.

    This page also refers to Drupal Licensing FAQ. Which states that GPL license covers everything on Drupal, including images.

    So, for me, default images included in a WordPress theme are covered by GPL license. And thus may be re-used on printed documents, as long as those documents are not for a commercial purpose, and as they include a reference du GPLv2 for the images.

    Does it seem correct for you ?

    Hi,
    Can anybody let me know what to do with file diff.txt from ticket 18024 linked above ? Any help is welcome, as I’m an absoulte beginner with WP. Thanks.

    Hi,
    Finally found where and how to do. This is in shwocase.php, in section recent-posts. Below is the orginal code. It displays the most recent post (not featured) in excerpt mode, and the others recents posts in title mode.

    // The first Recent post is displayed normally
    if ( $recent->have_posts() ) : $recent->the_post();
            global $more;<code></code>
    	$more = 0;
    	get_template_part( 'content', get_post_format() );
    	echo '<ol class="other-recent-posts">';
    endif;
    
    // For all other recent posts, just display title and comment status.
    while ( $recent->have_posts() ) : $recent->the_post(); ?>
    	<li class="entry-title">
    	<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
    	<span class="comments-link">
    		<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?>
    	</span>
    	</li>
    	<?php
    endwhile;

    In order to display all recents posts in excerpt mode, I just have replaced the if … next by a while … endwhile in the first part of the code, and commented all the second part.

    while ( $recent->have_posts() ) : $recent->the_post();
            global $more;<code></code>
    	$more = 0;
    	get_template_part( 'content', get_post_format() );
    	echo '<ol class="other-recent-posts">';
    endwhile;

    And it works fine so.

    Hi!
    Thanks a lot Johan and Archondigital for your tips on how to animate the slides automatically. It works fine.

    But does anybody knows how to change display of recents posts (not featured) on the second static page configurer in Settings/Reading ?

    Only first post is displayed with his intro and image. Others are only on one texte line (title). I’d like to have all recents posts not featured displayed as the first one.

    See exemple on https://www.aixlesbains.info/

    According to WP help, display of thoses posts are ruled by index.php, but I don’t see what shoudl be modified in this file to have all recents posts displayed as the first.

    Below is my index.php file

    Thanks for any help or suggestion.

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 4 replies - 1 through 4 (of 4 total)