liarphoto
Forum Replies Created
-
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesThanks Mikeill for all your hard work!
Works like a charm. I went to your site because I want to send you a paypal donation, didn’t see a button. Do you accept them?
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesGood News! – sort of…
Yes using the current version, wasn’t working but now is (upgraded all in on seo not sure if that had anything to do with it).
I did notice the dates are not coming through though just the time, class name, type and instructor.
I also had to add a row title for time, see link and you can see that the date’s are not populating. Thanks for your responses.
Forum: Plugins
In reply to: [MZ Mindbody API] Error getting classesHi Mikeill,
Thanks for looking into this. I tred disabling all other plugins and upgrading MZ but still get:
Error getting classes. Try re-loading the page.
Array
(
[GetClassesResult] => Array
(
[Status] => Success
[ErrorCode] => 200
[XMLDetail] => Full
[ResultCount] => 0
[CurrentPageIndex] => 0
[TotalPageCount] => 0
[Classes] => Array
(
))
)
Could just be a conflict with my theme I suppose.
Thanks
ok still converts it
$more = ‘<br/*><br/*><a**class=”more-link” href=”‘. get_permalink() .'”>/ read more </a*>’;
remove the astricks and the ** should be one space.
ack wordpress is converting my code to an actual read more link… here it is again
$more = ‘
<a.class=”more-link” href=”‘. get_permalink() .'”>/ read more ‘;
but I added a period between the “a and class” so wp won’t convert it.
RE: / read more link
Go into your display-posts-shortcode/display-posts-shortcode.php in the plugin editor and make these changes:
if ($include_excerpt) $excerpt = ‘ <span class=”excerpt”>’ . get_the_excerpt() . ‘</span>’;
else $excerpt = ”;$more = ‘
/ read more ‘;
$output = ‘<‘ . $inner_wrapper . ‘ class=”post”>’ . $title . $image . $date . $excerpt . $more .‘</’ . $inner_wrapper . ‘>’;
$inner .= apply_filters( ‘display_posts_shortcode_output’, $output, $atts, $title, $image, $date, $excerpt, $more, $inner_wrapper );
I added 2 br/ to the area to match my themes CSS but you may want to change this.
Hope it helps.