rolf deck
Forum Replies Created
-
Forum: Plugins
In reply to: [Display Widgets] First widget on the sidebar fails to work correctlyI 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…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: [email protected]
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
In reply to: [CSV Importer] does not import even sample files provided@cogdiss, here is the link: https://github.com/academe/csv-importer-2
Forum: Plugins
In reply to: [CSV Importer] does not import even sample files providedForum: Plugins
In reply to: [CSV Importer] does not import even sample files providedHi 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
In reply to: [CSV Importer] does not import even sample files providedHi @JasonJudge,
Did you find out something?
Forum: Plugins
In reply to: [CSV Importer] does not import even sample files providedDoes anybody manage to find out what’s wrong?
Forum: Plugins
In reply to: [CSV Importer] does not import even sample files providedI also have the same problem after 4.4 update… What’s wrong?
Forum: Plugins
In reply to: [Ad King Pro] Does it work well with w3tc plugin?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
In reply to: [W3 Total Cache] Plugin and using wp_is_mobileForum: Plugins
In reply to: [W3 Total Cache] will it change my permalinks?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.I have no news on this… sorry! Also posted this thread but got no replies…
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
In reply to: Count several custom post_types of an specific author in Author.phpHi s_ha_dum!
Can you please take a look at this https://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
In reply to: Count several custom post_types of an specific author in Author.phpHi s_ha_dum!
This is my current code to output post counting by $curauth in author.php that I found here.
<?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?