Title: dunkkan's Replies | WordPress.org

---

# dunkkan

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 128 total)

1 [2](https://wordpress.org/support/users/dunkkan/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/dunkkan/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/dunkkan/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/dunkkan/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/dunkkan/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/dunkkan/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bulk Post Creator] [Plugin: Bulk Post Creator] modified to support custom post types](https://wordpress.org/support/topic/plugin-bulk-post-creator-modified-to-support-custom-post-types/)
 *  [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-bulk-post-creator-modified-to-support-custom-post-types/#post-1627355)
 * Hello!!!
 * I would love to have this feature, I use this plugin so often and I’m in a project
   which involves Custom Post Types, plus I would need to create a bunch of them
   for a test…
 * It would be so nice if you can post here the code…
 * Many Thanks,
 * D.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Post Types don't appear in Archive](https://wordpress.org/support/topic/custom-post-types-dont-appear-in-archive/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/custom-post-types-dont-appear-in-archive/#post-1962182)
 * Found the solution here…:
 * [http://wordpress.org/support/topic/custom-post-type-tagscategories-archive-page?replies=24](http://wordpress.org/support/topic/custom-post-type-tagscategories-archive-page?replies=24)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Media Library change pagination](https://wordpress.org/support/topic/media-library-change-pagination/)
 *  [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/media-library-change-pagination/#post-1603408)
 * I’m interested in this as well…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Batch assign featured images](https://wordpress.org/support/topic/batch-assign-featured-images/)
 *  [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/batch-assign-featured-images/#post-1787622)
 * I’m looking into this as well! Please help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dropbox Upload Form] Dropbox Upload Form with added features](https://wordpress.org/support/topic/dropbox-upload-form-with-added-features/)
 *  [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/dropbox-upload-form-with-added-features/#post-1642944)
 * Hi!
 * I encountered an error, in the old version as well… hope someone can tell me 
   how to proceed?
 * >  Parse error: syntax error, unexpected ‘{‘ in /home/orangest/public_html/wp-
   > content/plugins/dropbox-upload-form/wp-dropbox.php on line 46
 * Many thanks,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Thumbnail per post in the Admin](https://wordpress.org/support/topic/thumbnail-per-post-in-the-admin/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/thumbnail-per-post-in-the-admin/#post-1354455)
 * Thanks ! Works great.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [audio files in sidebar](https://wordpress.org/support/topic/audio-files-in-sidebar/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/audio-files-in-sidebar/#post-952576)
 * Hi MyRivne, yes it works. The only thing is you must UPLOAD via the Editor the
   audio stuff (and, to do that, you must probably change in one of the server files,
   called php.ini, the uploading power, because an mp3 is usually a lot bigger than
   normal images).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[How To] Exclude Current Posts from 2nd loop](https://wordpress.org/support/topic/how-to-exclude-current-posts-from-2nd-loop/)
 *  [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/how-to-exclude-current-posts-from-2nd-loop/#post-1029811)
 * Hey, excellent ! Thanks very much for this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [code to html problem](https://wordpress.org/support/topic/code-to-html-problem/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/code-to-html-problem/#post-1150286)
 * I’m trying just to dislay it, so the browser just read it as text. I changed 
   every < and > and ” tags, inside pre and code tags, but it was still being run.
 * I’ve always used a plugin to convert the code, but I’m writing as a contributor
   this time.
 * So I have no idea what can be.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Removing WP version in 2.8](https://wordpress.org/support/topic/removing-wp-version-in-28/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/removing-wp-version-in-28/#post-1126246)
 * I solved it with :
 *     ```
       remove_action('wp_head', 'index_rel_link');
       remove_action('wp_head', 'wlwmanifest_link');
       remove_action('wp_head', 'rsd_link');
       add_action('init', 'removeWPVersionInfo');
       function removeWPVersionInfo() {
           remove_action('wp_head', 'wp_generator');
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Dashboard broken in 2.8](https://wordpress.org/support/topic/dashboard-broken-in-28/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/dashboard-broken-in-28/#post-1126239)
 * Esmi, thanks ! I think it was this bit in my functions php.
 *     ```
       remove_action('wp_head', 'index_rel_link');
       remove_action('wp_head', 'parent_post_rel_link', 10, 0);
       remove_action('wp_head', 'start_post_rel_link', 10, 0);
       remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0);
       ```
   
 * The new, working code ([partially from here](http://wordpress.org/support/topic/140794?replies=16)):
 *     ```
       remove_action('wp_head', 'index_rel_link');
       remove_action('wp_head', 'wlwmanifest_link');
       remove_action('wp_head', 'rsd_link');
       add_action('init', 'removeWPVersionInfo');
       function removeWPVersionInfo() {
           remove_action('wp_head', 'wp_generator');
       }
       ```
   
 * Anyway, I don’t know exactly the intricacies of those codes (which I use to remove
   the metadata that WP puts in the <head> section).
 * But now it’s working. I’ll post back if something goes wrong.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [query_posts excluding cat by slug](https://wordpress.org/support/topic/query_posts-excluding-cat-by-slug/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/query_posts-excluding-cat-by-slug/#post-1124885)
 * Michael, this is actually awesome. I just added a negative sign in `'$cat=-'`.
 * Thank you !
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [query_posts excluding cat by slug](https://wordpress.org/support/topic/query_posts-excluding-cat-by-slug/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/query_posts-excluding-cat-by-slug/#post-1124873)
 * This doesn’t seems to work. I founded [here](http://perishablepress.com/press/2007/08/06/super-loop-exclude-specific-categories-and-display-any-number-of-posts/):
 *     ```
       <?php query_posts ($query_string.'offset=3') ; ?>
       		<?php
       		if (have_posts()) :
       		while (have_posts()) :
       	      the_post();
       		?>
       		<?php if ( is_category('MySlugToExclude') ) continue; ?>
       		<!-- rest of the loop here -->
       ```
   
 * I tried both : `in_category` and `is_category`, but I’m printing still what I
   try to exclude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Index Pagination : counting pages](https://wordpress.org/support/topic/index-pagination-counting-pages/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/index-pagination-counting-pages/#post-1107253)
 * Hi esmi, thanks for the info.
 * But how would you apply the ceil function once you have the number of posts ?
   I’m just not familiar enough with PHP.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [retrieve first image’s caption … in excerpt](https://wordpress.org/support/topic/retrieve-first-image-caption-in-excerpt/)
 *  Thread Starter [dunkkan](https://wordpress.org/support/users/dunkkan/)
 * (@dunkkan)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/retrieve-first-image-caption-in-excerpt/#post-1064108)
 * Two more essays (with no succes) :
 *     ```
       <?php
       if($images =& get_children( 'post_type=attachment&post_parent='. $post->ID)){
          foreach($images as $image){
             $caption = $image->post_excerpt;
             $description = $image->post_content;
             echo $caption;
             echo $description;
          }
       }
       ?>
       ```
   
 *     ```
       <?php
       if($images =& get_children( 'post_type=attachment&post_parent='. $post->ID)){
          foreach($images as $image){
       echo apply_filters('the_excerpt', $image->post_excerpt);
       echo apply_filters('the_content', $image->post_content);
          }
       }
       ?>
       ```
   
 * I really don’t know why I can’t get things printed.
    Even if the image is in 
   the uploads folder.
 * At least I get no errors 🙂
 * As a radical approach (and don’t know if has something to do indeed), we could
   use the [wpdb Class](http://codex.wordpress.org/wpdb), which theoretically can
   acces to anything grabbed in the database ?
 * Which I don’t know, is how do we write the template tag for that.
 * How do I call the caption, how do I relate it to the current post, etc.
 * So please it would be really cool to pull captions and descriptions dynamically,
   in a custom way.

Viewing 15 replies - 1 through 15 (of 128 total)

1 [2](https://wordpress.org/support/users/dunkkan/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/dunkkan/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/dunkkan/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/dunkkan/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/dunkkan/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/dunkkan/replies/page/2/?output_format=md)