katrianna
Forum Replies Created
-
Forum: Plugins
In reply to: [Eventbrite API] Conflict with WPMLFollow up: it’s due to an issue with WPML which has been fixed and will be included in their next update release.
Forum: Plugins
In reply to: [Eventbrite API] Conflict with WPMLHiya,
Sure. My site’s main language is Spanish and the secondary language is English. The two events pages are ‘Eventos’ and ‘Events’. When WPML is deactivated, the Eventbrite API plugin works as expected with the events showing up perfectly on the ‘Eventos’ page. However, when I activate WPML, there is no content at all on ‘Eventos’ or on ‘Events’.
I hope that makes sense.
Thanks!
KatriForum: Plugins
In reply to: [Eventbrite API] Connection fine but no events showingThanks for your comments maikunari! The cause of my issue seems to be WPML – when I deactivate it, everything works. So I now need to find a way of getting it to work with WPML!
Forum: Plugins
In reply to: [Eventbrite API] Connection fine but no events showingOne last thing – the following brings up my event fine too: https://www.eventbriteapi.com/v3/events/search/?user.id=XXXXX&token=XXXXX
Thanks George,
There’s no other attributes available in the dropdown, just ‘All Agave’ and ‘Untranslated Agave’. I’ve created a ticket in WPML – not had any luck solving it so far, it seems to be a bit of mystery but I’ll keep persevering!
Thanks again
Forum: Plugins
In reply to: [Taxonomy Images] Possible to show images on regular page (page-example.php)?Hi there, you probably figured this out already but just in case, or if anyone else needs it, I got it working like this:
$siteurl = home_url('/'); tax = 'region'; // slug of taxonomy to list $images = get_option('taxonomy_image_plugin'); $terms = get_terms($tax); foreach ($terms as $term) { $slug = $term->slug; $description = $term->description; $link = "<a href='$siteurl?$tax=$slug' ><p> $term->name </p></a>"; echo $link; echo $description; $term_id = $term->term_taxonomy_id; if( array_key_exists( $term_id, $images ) ) { echo wp_get_attachment_image( $images[$term_id], 'thumbnail' ); } }
Forum: Plugins
In reply to: [Admin Menu Editor] Cannot Save ChangesHiya, I’m having this exact same problem (I’m using the Pro version with a Business licence) but my hosting provider says they’re unable to do anything unless I can provide much more specific instructions as to how to add a security exception. Would you be able to help out at all with these instructions?
Many thanks Janis
Forum: Plugins
In reply to: [Ambrosite Next/Previous Post Link Plus] limit to current term dynamicallyPlease ignore, all sorted.
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] add comment countAh thanks Ajay, I got it working with $post->ID
With the comments display in your plugin, I got it working with the permalink with this:
if ($show_comments) { $comments_count = wp_count_comments( $result->ID ); $output .= '<a class="tptn_comments" href="'.get_permalink($result->ID). '" class="comments_link">' . $comments_count->approved . '</a>'; }
Thanks again for all your help
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] add comment countHi Ajay, thanks so much for that.
I’ve got this in the Special recent Posts widget now:
$srp_content .= '<span class="srp-post-count">'.get_tptn_post_count_only($id = FALSE, $count = 'total').'</span>';
It’s displaying in the correct place now which is great but it’s not printing the account, it’s staying at 0.
With regard to the comments display in Top 10, apologies for not explaining myself properly – yep, I meant the permalink. At the moment the permalink isn’t getting outputted with the following, it just displays the number:
if ($show_comments) { $comments_count = wp_count_comments( $result->ID ); $output .= '<span class="tptn_comments"> '.$comments_count->approved.'</span>'; }
Thanks again
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] add comment countI spoke too soon – I’m using this now but it’s still printing with the other div at the top of the widget ??
$srp_content .= '<span class="srp-post-count">'.echo_tptn_post_count().'</span>';
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] add comment countNot to worry, I figured it out! If you do get a chance to help me out with the comments link though that’d be great. Thanks Ajay!
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] add comment countThose first lines didn’t print correctly, this is what I’m placing within the span above:
if(function_exists('echo_tptn_post_count')) echo_tptn_post_count();
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] add comment countHi Ajay, I have another question for you – I’m also trying to integrate the post counts into a different widget (special recent posts). I’m currently using this:
$srp_content .= "<span class='srp-post-count'>"; if(function_exists('echo_tptn_post_count')) echo_tptn_post_count(); $srp_content .= "</span>";
but the counter is not outputting within the span, instead it’s outputting this at the very top of the widget:
<div class ="tptn_counter" id="tptn_counter_117">...</div>
Do you know how I can get it to sit within the span?
Thanks so much in advance
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] add comment countHey Ajay, sorry to bother you again – do you know if it’s possible to link through to the comments using this?