Title: rolf deck's Replies | WordPress.org

---

# rolf deck

  [  ](https://wordpress.org/support/users/rolf-deck/)

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/rolf-deck/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/rolf-deck/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Display Widgets] First widget on the sidebar fails to work correctly](https://wordpress.org/support/topic/first-widget-on-the-sidebar-fails-to-work-correctly/)
 *  Thread Starter [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/first-widget-on-the-sidebar-fails-to-work-correctly/#post-7057507)
 * I found the problem… the problem was that I’m working with a custom page template
   and it was missing `<?php wp_reset_query(); ?>` on it…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Newsletter - Send awesome emails from WordPress] Plugin not working correctly on nginx](https://wordpress.org/support/topic/plugin-not-working-correctly-on-nginx/)
 *  Thread Starter [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-not-working-correctly-on-nginx/#post-6950720)
 * Hi Stefano,
 * It sends test emails but it doesn’t send regular emails…
 * “SMTP test‏: This Email is sent by PHPMailer of WordPress”
 * Any ideas why I got this error:
 * “13-01-2016 11:44:00 – DEBUG – 8,3 MB – mail> To: [mytestemail@hotmail.com](https://wordpress.org/support/users/rolf-deck/replies/mytestemail@hotmail.com?output_format=md)
   
   13-01-2016 11:44:00 – DEBUG – 8,3 MB – mail> Subject: Confirm your subscription
   13-01-2016 11:44:00 – ERROR – 8,3 MB – mail> Could not instantiate mail function.”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSV Importer] does not import even sample files provided](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/page/2/#post-6116588)
 * [@cogdiss](https://wordpress.org/support/users/cogdiss/), here is the link: [https://github.com/academe/csv-importer-2](https://github.com/academe/csv-importer-2)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSV Importer] does not import even sample files provided](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/#post-6116585)
 * [@danbrady](https://wordpress.org/support/users/danbrady/) oh… ok! I see what
   you mean…
 * But, [@jason](https://wordpress.org/support/users/jason/) Judge fork works for
   me. I have tested this on my production site (wp 4.4) and this is working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSV Importer] does not import even sample files provided](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/#post-6116582)
 * Hi Jason,
 * I already tried that and it seems to be working perfectly.
 * Many thanks for your efforts.
 * ps- how can we mark this as solved?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSV Importer] does not import even sample files provided](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/#post-6116580)
 * Hi @JasonJudge,
 * Did you find out something?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSV Importer] does not import even sample files provided](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/#post-6116578)
 * Does anybody manage to find out what’s wrong?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSV Importer] does not import even sample files provided](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/does-not-import-even-sample-files-provided/#post-6116577)
 * I also have the same problem after 4.4 update… What’s wrong?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ad King Pro] Does it work well with w3tc plugin?](https://wordpress.org/support/topic/does-it-work-well-with-w3tc-plugin/)
 *  Thread Starter [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/does-it-work-well-with-w3tc-plugin/#post-5889250)
 * Maybe by not being ecluded from the cache or having problems with APC on nginx…
   Are you sure that this could work?
 * thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Plugin and using wp_is_mobile](https://wordpress.org/support/topic/plugin-and-using-wp_is_mobile/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-and-using-wp_is_mobile/#post-5137238)
 * Same problem here!
 * Author, please see [this](https://wordpress.org/support/topic/wp_is_mobile-native-function-not-working-correctly-with-w3tc?replies=1)
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] will it change my permalinks?](https://wordpress.org/support/topic/will-it-change-my-permalinks/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/will-it-change-my-permalinks/#post-5819733)
 * I don’t think this will change your permmalinks. However, after activate and 
   proper configuration, you must check if your settings in Minify have this enabled
   and if it breaks your comments url…
 * Rewrite URL structure
    If disabled, CSS and JS embeddings will use GET variables
   instead of “fancy” links.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration] [Plugin: WP User Frontend] Custom Taxonomies](https://wordpress.org/support/topic/plugin-wp-user-frontend-custom-taxonomies-1/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-custom-taxonomies-1/#post-2913687)
 * I have no news on this… sorry! Also posted [this thread](http://wordpress.org/support/topic/filter-the-search-results-by-custom-field?replies=1)
   but got no replies…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration] [Plugin: WP User Frontend] Custom Taxonomies](https://wordpress.org/support/topic/plugin-wp-user-frontend-custom-taxonomies-1/)
 *  [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-custom-taxonomies-1/#post-2913666)
 * Hi lorenzoporretti!
 * Thanks, man! But what I need is a way to the plugin call the categories for custom
   post_types instead of calling the default wordpress categories.
 * My problem is:
 * I have a custom post_type with custom categories
 * eg: listing is a custom post-type that haves a main category which is products…
 * When I place this code [wpuf_addpost **post_type=”listing”**] on a page to those
   entries listed on the custom post_type “listing”, the plugin only calls the categories
   from my blog and not the categories of this custom post_type…
 * Do know if there is a way to do it?
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Count several custom post_types of an specific author in Author.php](https://wordpress.org/support/topic/count-several-custom-post_types-of-an-specific-author-in-authorphp/)
 *  Thread Starter [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/count-several-custom-post_types-of-an-specific-author-in-authorphp/#post-2916161)
 * Hi s_ha_dum!
 * Can you please take a look at this [http://pastebin.com/kyqcqENE](http://pastebin.com/kyqcqENE)
   and explain me where I’m failing to retrieve the post’s count by post_type from
   the $curauth?
 * The only thing that this outputs is the name of the post’s type’s (postlistinganswerquestion)…
 * By the way, this: `<?php get_template_part("es-author.php"); ?>` should be the
   right way to call the file inside of the template, correct?
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Count several custom post_types of an specific author in Author.php](https://wordpress.org/support/topic/count-several-custom-post_types-of-an-specific-author-in-authorphp/)
 *  Thread Starter [rolf deck](https://wordpress.org/support/users/rolf-deck/)
 * (@rolf-deck)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/count-several-custom-post_types-of-an-specific-author-in-authorphp/#post-2916094)
 * Hi s_ha_dum!
 * This is my current code to output post counting by $curauth in author.php that
   I found [here](http://wordpress.org/support/topic/display-post-count-wp_count_posts?replies=16).
 *     ```
       <?php $post_author = get_query_var('author');
       $numpost = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = $post_author AND post_type IN ('post') and post_status = 'publish'" );
       echo $numpost ?>
       ```
   
 * This way I have to repeat this code for every custom post_type to retrieve the
   post counting for that particular author… So, my question is:
 * Is there a way to do the query once and define all the variables (I don’t know
   if this is the term to apply…) to each post_type in order to have an “echo” for
   each counting?
 * eg.
    echo $listing echo $post etc?
 * Or do I have to repeat the query for each post_type? My concerns goes all to 
   the performance issue that you mentioned above…
 * You also say that
 * > The sql looks right but you can get into trouble directly querying the database
   > like that. You are usually better off running get_posts or making a new WP_Query
   > object.
 *  and I appreciate that you explain me why, please.
 * I put this query inside an include that’s being pulled to the author.php (
 * > <?php include (TEMPLATEPATH . ‘/includes/es-author.php’); ?>
 * . Is this a security breach?

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

1 [2](https://wordpress.org/support/users/rolf-deck/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/rolf-deck/replies/page/2/?output_format=md)