Mohamed Hamad
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Analytics Post Pageviews] View count hyper inflatedAnyone got any ideas about why some posts might have an inflated view count from google analytics when the stats in analytics are quite low?
Forum: Fixing WordPress
In reply to: Error Message: Connection lost.I disabled all plugins on one of the sites and it seems the issue was wp-smushit by wpmudev.
I will continue investigating the other sites. It’s a lot harder to out those sites in maintenance mode. They are high traffic sitesForum: Fixing WordPress
In reply to: Error Message: Connection lost.When i try an upload an image to a post, i get
Error facepalm-cap…n-picard.jpg
An error occurred in the upload. Please try again later.nothing more than that. I get that now on 2 sites on WP 3.8.3 (downgraded) and 3.9
Forum: Plugins
In reply to: [Edit Flow] Mail poet (former WYSIJA) newsletter conflictHi there. Any word on when the plugin will be updated with this fix?
i’m not really looking at custom post types, but more wordpress’s built in post formats which include status, gallery, video, quote, link and chat.
Forum: Plugins
In reply to: [WordPress Landing Pages] Conflict with Gravity Formswell it seems by turning off the form standardization, the broken js in the ajax=”true” is not there anymore. i updated to the latest plugin version yesterday.
I will test out some more now and see how things are going with js and validation and ajax
btw, i’m creating new templates based on another one. but when ever i have to upgrade, i have to backup up my templates, upgrade and move the backups in the templates folder because they always get overridden.
is there a better way to handle the placement of templates?
Forum: Plugins
In reply to: [Achievements for WordPress] Customizable "Hooks"?i’m looking for the same thing. need to add extra hooks for all sorts of event triggers for achievements
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPfyi, this is what finally worked for me
<?php if(function_exists('related_posts')){ related_entries(array( 'post_type' => 'events', 'show_pass_post' => false, 'past_only' => false, 'weight' => array( 'tax' => array( 'event-tags' => 5, /* 'event-categories' => 5, */ )), 'require_tax' => array( 'event-tags' => 2, 'event-categories' => 1, ), 'threshold' => 1, 'template' => 'yarpp-template-events.php', 'limit' => 5, 'order' => 'date DESC' ), $post->ID , true); } ?>
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPok, seems like i managed to get somewhere, instead of related_posts(), i used related_entries() which seems to bring all post types with related info, e.g: shows posts, events and locations.
now i’m filtering them out by finding if a result has an event id or not, and just display ones that do.
not sure why i’m having different results and experience than you. i’m not doing anything to far off from what your doing.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPthe code i just showed you is in the single-event.php
There is no automatic output of related posts set at all, not even for blog posts.
blog posts have a different template than the events.
the events template is modelled on what is in this thread.you can check out what i mean here
https://montreal.wherearetheshows.com/shows/horrible-things-3/it shows a blog post, and not any related event
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPmy custom post type shows up in yarp. i tried just using the regular related_posts(); function with no passed parameters, but it doesnt really work. only when i add parameters to it does it now show something.
i’ve managed to get something showing by lowering the threshold to 3, the limit is working, the template is working, the order is working. but for some reason, i’m not able to set it to just work for events as a post type. it only shows blog posts. even if i remove the post type parameter, it shows blog posts and not event posts.
<?php if(function_exists('related_posts')){ related_posts(array( 'post_type' => 'event', 'show_pass_post' => false, 'past_only' => false, 'threshold' => 3, 'template' => 'yarpp-template-events.php', 'limit' => 5, 'order' => 'score DESC' ), $post->ID , true); } ?>
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPok, so your not specifying a custom post type of events to the related posts plugin.
do you use related posts plugin for regular posts in your blog?Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPP@ksaffy did you put any related_posts() function in your theme to display the related events?
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPWould you mind sharing your a tubal related posts code? I’d like to try out something that works
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPI’ve pretty much tried everything including stripping it down to just the post type and template. Still get zero results.