Title: Claude ws's Replies | WordPress.org

---

# Claude ws

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Is there a known Chrome bug with WP 4.3 on Mac?](https://wordpress.org/support/topic/is-there-a-known-chrome-bug-with-wp-43-on-mac/)
 *  [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/is-there-a-known-chrome-bug-with-wp-43-on-mac/page/2/#post-6504302)
 * Samuel Wood (Otto), it worked for me.
    win7, chrome v45.0.2454.85 thx.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Lex's Last Update Widget] [Plugin: Lex's Last Update Widget] Posts/Pages last modified time](https://wordpress.org/support/topic/plugin-lexs-last-update-widget-postspages-last-modified-time/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-lexs-last-update-widget-postspages-last-modified-time/#post-2480940)
 * Great job Lex. Beau boulot Lex!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Lex's Last Update Widget] [Plugin: Lex's Last Update Widget] Posts/Pages last modified time](https://wordpress.org/support/topic/plugin-lexs-last-update-widget-postspages-last-modified-time/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-lexs-last-update-widget-postspages-last-modified-time/#post-2480831)
 * But of course Lex! That is why posted my mofidification… it´s a matter of sending
   back good inspirational energy… 🙂
    Take care. Claude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Lex's Last Update Widget] [Plugin: Lex's Last Update Widget] Posts/Pages last modified time](https://wordpress.org/support/topic/plugin-lexs-last-update-widget-postspages-last-modified-time/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-lexs-last-update-widget-postspages-last-modified-time/#post-2480651)
 * (for info only)
    Hello again Lex, My previous post was incomplete, sorry. Here
   is my final modified code block:
 *     ```
       $allposts = new WP_Query();
       $allposts->query(
       	array(  'post_type' => array( 'post', 'page' ),
       		'orderby'   => 'modified',
       		'order'     => 'DESC')
       );
       if( $allposts->have_posts()) {
       	$allposts->the_post();
   
       	$format = $instance['dateformat'];	//echo "foramt " . $format;
       	if( empty( $format ))
       		$format = "l, F j, Y";
   
       	echo "<li>";
       	the_modified_date( $format );
       	echo "</li>";
       }
       ```
   
 * 1. includes pages as well as post
    2. sorts on modified date 3. returns modified
   date
 * Hope it may be of use to someone.
 * oh, and happy new year.
 * Regards
    Claude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Thumbnail Editor] [Plugin: Post Thumbnail Editor] Possible conflict with plugin CMS Tree Page View](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-possible-conflict-with-plugin-cms-tree-page-view/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-possible-conflict-with-plugin-cms-tree-page-view/#post-2474915)
 * Cool. Thx for your reply. Good luck. Rgds. Claude.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Media Upload's URL issues, my findings.](https://wordpress.org/support/topic/media-uploads-url-issues-my-findings/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/media-uploads-url-issues-my-findings/#post-2471858)
 * Well you’re a funny lady! ;P
 * Much to accomplish and little time to really dig in and become a specialist in
   everything, there is simply tooooo much. If you were in computer sciences in 
   the 80’s then you know how exponencialy it has evolved and how overwhelming it
   can be.
 * Anyhow… I connected enough dots to add a filter function so I can leave WordPress’s
   core alone, I prefer that. Now I can have a flaten folder structure as I wished,
   without distinguishing between mainsite and secondary sites. And bypassing the
   ms_files (/files/). Time/use will tell me if I really understand as I think I
   do. 🙂
 * As for the WWW on the main site. I did try twice to setup with a.site.x then 
   create b.site.x and failed login in admin on the B site. I did a firebug in the
   php code, down to the cooky not being created properly. Then remembered I had
   the same problem a year ago. So, I did a 3rd setup with [http://www.site.x](http://www.site.x)
   then created b.site.x, all went perfect, no glitch. I have no idea if it’s related
   to the xampp env or some other obscure fenomenon. But I managed and will leave
   it at that cause I have other priorities to fullfil.
 * Again, thx, really nice chatin with ya.
 * Kind regards,
    Claude.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Media Upload's URL issues, my findings.](https://wordpress.org/support/topic/media-uploads-url-issues-my-findings/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/media-uploads-url-issues-my-findings/#post-2471800)
 * (NOT A SUPPORT REQUEST)
 * Hello IPSTENU,
 * thx for your rrrapidissimo reply. (Were you waiting for my post??)
 * a. I’ve build a fresh test env in xampp, in multisite. And it did work as you
   specified. congrat!
 * b. the issue was not with .htaccess, neither with the httpd.conf but with the
   site option “Fileupload Url”.
 * c. but thx for bringing .htaccess up, I finally connected the dots between:
    
   1. the `/files/` line in .htaccess 2. my failure to install in multisite with
   the main site not having the “www” at the beginning 3. the `is_main_site` function
   4. the image URL with `/files/`
 * I think I have now a better understanding of the concept of multisite in WordPress.
   One main WWW blog with its /upload/ folder then, all the other blogs with their/
   blog.dir/x/ folders.
 * But then, there are the site options: Upload Path, Upload Url Path, Fileupload
   Url. I mis-interpreted them as a possiblity to implement a different folder structure.
   Tricky.
 * So, to anybody reading this post, beware of the consequences of modifying the“
   Fileupload Url” site option in a multisite setup.
 * thx again for you insight.
    Kind regards Claude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Upload Dir] [Plugin: Custom Upload Dir] correction submit](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/#post-2470615)
 * Yes Ulf, you may.
    Kind regards Claude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Upload Dir] [Plugin: Custom Upload Dir] correction submit](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/#post-2470612)
 * Hello Ulf,
    your modification of the line 160, in my latest download of custom-
   upload-dir, is the modification I made. Correct.
 * No worries, I do share your “parenthesis approach” when dealing with long formulations.
 * Thank you for you great plugin.
 * Kind regards,
    Claude.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Media Upload's URL issues, my findings.](https://wordpress.org/support/topic/media-uploads-url-issues-my-findings/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/media-uploads-url-issues-my-findings/#post-2471709)
 * I realise the issues/differences might not be obvious… let me re-phrase:
 * The issues occur with the secondary site.
    1. the Upload path URL is not passed
   as with the main site. 2. the “/files/” in the resulting URL leads nowhere (in
   my tests) 3. the file is not copied in multiple sizes as with the main site.
 * I hope that clarifies.
    Kind regards Claude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Upload Dir] [Plugin: Custom Upload Dir] correction submit](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/#post-2470602)
 * – Did a test. same problem.
    – modified the line as described: works. – furthermore.
   Allow me to be a bit “direct” about the use of parenthesis on that line: `(!empty(
   $post->post_name)) ? $post->post_name : (!empty($post->post_title) ? sanitize_title(
   $post->post_title) : $post_id);`
 * is equal to
    `( if .. ) then .. else ( if .. ) then .. else ..` in which I fail
   to see the logic.
 * what you want is:
    `if .. then .. else (if .. then .. else .. )`
 * But I could be mistaking.
 * Kind regards, & keep the good work.
    claude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic Image Resizer] [Plugin: Dynamic Image Resizer] Exactly what I was looking for! My irrational concerns/questions:](https://wordpress.org/support/topic/plugin-dynamic-image-resizer-exactly-what-i-was-looking-for-my-irrational-concernsquestions/)
 *  [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-dynamic-image-resizer-exactly-what-i-was-looking-for-my-irrational-concernsquestions/#post-2458703)
 * Hello sliceofpie,
 * About the “c” in the filename. To eliminate the creation of that specific file,
   in Media Settings I have set the Thumbnail size Width to zero and the Height 
   to zero.
 * Hope that helps.
    Regards Claude.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Upload Dir] [Plugin: Custom Upload Dir] correction submit](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/)
 *  Thread Starter [Claude ws](https://wordpress.org/support/users/clauden/)
 * (@clauden)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-custom-upload-dir-correction-submit/#post-2470595)
 * Hey Ulfben!
 * to test:
    1. set custom upload to %post_name%. 2. create and save one post with“
   title-test” as title & “slug-test” as slug. 3. upload an image and it will create
   a folder with the name “title-test”, not “slug-test”.
 * Tell me if you get a different result.
 * Kind regards,
    Claude.

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