pxjenkins
Forum Replies Created
-
Cheers Ajay – that worked!
Pauljust tried the code…almost working: i get full sized image rather than thumbnail displaying…
any way to reduce image size so it displays alongside text?
Thanks!
Would like to follow up on this: I tried simply pasting above code into better-search.php using Genesis Dynamik theme, so that the code looks like this:
$output .= '<h2><a href="'.get_permalink($search->ID).'" rel="bookmark">'.$post_title.'</a></h2>'; $output .= '<p>'; $output .= get_bsearch_score($search,$score,$topscore); $before = __(' Posted on: ', BSEARCH_LOCAL_NAME); $output .= get_bsearch_date($search,$before); $output .= '</p>'; <?php echo get_the_post_thumbnail( $search->ID, $size, $attr ); ?> $output .= '<p>'; $output .= get_bsearch_excerpt($search->ID,$bsearch_settings['excerpt_length']); // This displays the post excerpt / creates it. Replace with $output .= $content; to use content instead of excerpt $output .= '</p>'; } //end of foreach loop
and unfortunately I get an error:
Parse error: syntax error, unexpected ‘<‘ in /Users/Paul/Documents/Websites/balanga.dev/wp-content/plugins/better-search/better-search.php on line 165
I’m not a coder, but I would love to get your plugin showing small thumbnails with the results. Did I adjust the code wrongly? Could I Beta test the plugin version that you are developing that achieves this?
Cheers
Forum: Plugins
In reply to: [BuddyDrive] Improvements for GroupsMagic, thanks! Being able to have BuddyDrive auto-enabled for groups as a Super Admin option would be the icing on the cake!
Forum: Plugins
In reply to: [BuddyDrive] Improvements for GroupsForgive me for jumping on this thread, since it’s a couple of months old, but seems very relevant…
seems to me – having experimented with BuddyDrive in combinations with BuddyPress Docs – that an ideal option would be to have, as Super Admin, the ability to default enable BuddyDrive on group creation, and also to have the option to have group folder/files enabled. I agree that reducing the number of steps on creating groups is desirable, however from the dev work I’m doing with a site at the moment I can certainly see that having both options available would be hugely useful.
Hopefully this might be possible. And, thank you for a fantastic plugin.
Paul
Forum: Networking WordPress
In reply to: Error on ms_posts in databaseI had a very similar issue – only I found that although I deleted the plugin the ‘wp_ms_posts’ table stayed behind in my WPMS database, now requiring my host to delete it since I don’t have root access…