Title: Edouard Duplessis's Replies | WordPress.org

---

# Edouard Duplessis

  [  ](https://wordpress.org/support/users/eduplessis/)

 *   [Profile](https://wordpress.org/support/users/eduplessis/)
 *   [Topics Started](https://wordpress.org/support/users/eduplessis/topics/)
 *   [Replies Created](https://wordpress.org/support/users/eduplessis/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/eduplessis/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/eduplessis/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/eduplessis/engagements/)
 *   [Favorites](https://wordpress.org/support/users/eduplessis/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [My WordPress is infested with adverts, how?](https://wordpress.org/support/topic/my-wordpress-is-infested-with-adverts-how/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/my-wordpress-is-infested-with-adverts-how/#post-4952044)
 * Don’t look like your site been hacked but just some malicious bloatware after
   install….
 * What is the specifications of your machine.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Remove new media modal entirely?](https://wordpress.org/support/topic/remove-new-media-modal-entirely/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/remove-new-media-modal-entirely/#post-3453479)
 * Same thing here
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [post navigation not working with custom loop](https://wordpress.org/support/topic/post-navigation-not-working-with-custom-loop/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/post-navigation-not-working-with-custom-loop/#post-1599182)
 * did you put the previous and next link inside the custom query??
 * Because you have too…
 *     ```
       <?php
           $myloops = new Wp_query();
           if($myloops->have_posts()){
               while($myloops->have_posts(){
                   $myloops->the_post();
               }
           posts_nav_link();
           }
       ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [post navigation not working with custom loop](https://wordpress.org/support/topic/post-navigation-not-working-with-custom-loop/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/post-navigation-not-working-with-custom-loop/#post-1599151)
 * [http://codex.wordpress.org/Function_Reference/query_posts#Pagination_Parameters](http://codex.wordpress.org/Function_Reference/query_posts#Pagination_Parameters)
 * **Pagination Parameters**
    - nopaging=true – will disable pagination, displaying all posts
    - posts_per_page=10 – number of posts to show per page
    - paged=2 – show the posts that would normally show up just on page 2 when using
      the “Older Entries” link. You should set this to get_query_var( ‘paged’ ) 
      if you want your query to work with pagination.
    - order=ASC – show posts in chronological order, DESC to show in reverse order(
      the default)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make excerpts (rather than full contents) appear on the front page](https://wordpress.org/support/topic/how-to-make-excerpts-rather-than-full-contents-appear-on-the-front-page/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [16 years ago](https://wordpress.org/support/topic/how-to-make-excerpts-rather-than-full-contents-appear-on-the-front-page/#post-1581567)
 * Hi
    Is it your own custom template, if yes make a new template files named frontpage.
   php copy the content of your index and replace the tag `the_content()` by `the_excerpt()`
 * if its not your own template when you edit a post there is a box below the content.
   Its called the excerpt, put your test there.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [unable to load /wp-admin](https://wordpress.org/support/topic/unable-to-load-wp-admin/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [16 years ago](https://wordpress.org/support/topic/unable-to-load-wp-admin/page/2/#post-1491120)
 * it can be caused by a plugin or a modified file in your template
 * so if you have modified your functions.php. make a backup of the file and clean
   it.
 * if it does not work backup your plugin and clean all your plugin or rename it
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How do I remove "by admin"?](https://wordpress.org/support/topic/how-do-i-remove-by-admin/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [16 years ago](https://wordpress.org/support/topic/how-do-i-remove-by-admin/#post-1581022)
 * all this thing is in your template.
 * for the “by admin”
    search in your template files for <?php the_author(); ?> 
   or just the_author(); and remove it
 * for the date its the same thing…
    search for <?php the_date();?> and remove it
 * it’s gonna be in the template files….
 * index, frontpage, home, archives, category, page, single and/or, page.
 * if you have only one or just a few of this template it’s ok.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [post image, image title, description … automatic gallery](https://wordpress.org/support/topic/post-image-4/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/post-image-4/#post-838005)
 * nice … was looking for this…
 * “spent day trying to figure out was where image titles, descriptions and captions
   were stored”
 * me too
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Gallery Shortcode options.](https://wordpress.org/support/topic/gallery-shortcode-options/)
 *  [Edouard Duplessis](https://wordpress.org/support/users/eduplessis/)
 * (@eduplessis)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/gallery-shortcode-options/#post-736077)
 * I’ve modify the gallery shortcode to do a better and a cleaner job
 * here’s the code
    wp-includes/media.php line 384
 *     ```
       function gallery_shortcode($attr) {
       	global $post;
   
       	// Allow plugins/themes to override the default gallery template.
       	$output = apply_filters('post_gallery', '', $attr);
       	if ( $output != '' )
       		return $output;
   
       	// We're trusting author input, so let's at least make sure it looks like a valid orderby statement
       	if ( isset( $attr['orderby'] ) ) {
       		$attr['orderby'] = sanitize_sql_orderby( $attr['orderby'] );
       		if ( !$attr['orderby'] )
       			unset( $attr['orderby'] );
       	}
   
       	extract(shortcode_atts(array(
       		'order'      => 'ASC',
       		'orderby'    => 'menu_order ID',
       		'id'         => $post->ID,
       		'itemtag'    => '',
       		'icontag'    => '',
       		'captiontag' => '',
       		'columns'    => 4,
       		'size'       => 'thumbnail',
       	), $attr));
   
       	$id = intval($id);
       	$attachments = get_children( array('post_parent' => $id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
   
       	if ( empty($attachments) )
       		return '';
   
       	if ( is_feed() ) {
       		$output = "\n";
       		foreach ( $attachments as $id => $attachment )
       			$output .= wp_get_attachment_link($id, $size, true) . "\n";
       		return $output;
       	}
   
       	$listtag = tag_escape($listtag);
       	$itemtag = tag_escape($itemtag);
       	$captiontag = tag_escape($captiontag);
       	$columns = intval($columns);
       	$itemwidth = $columns > 0 ? floor(100/$columns) : 100;
   
       	foreach ( $attachments as $id => $attachment ) {
       		$link = wp_get_attachment_image($id, $size, true);
       		$output .= '<a href="'.wp_get_attachment_url($id).'">'.$link.'</a>';
       	}
   
       	$output .= "<br style='clear: both;' />";
   
       	return $output;
       }
       ```
   

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