andreadrago
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Profile Search] Custom directory order by newest registeredHello Andrea,
Thank you for your prompt response.
Just to let you (and maybe others who ends up here) know, I solved this problem by editing the members-loop.php file in my child theme. I edited this string<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ): ?>
into this:
<?php $query = bp_ajax_querystring( 'members' ); if (strpos($query, "type=") === FALSE) { $query = "type=newest&".$query; // little javascript to change the dropdown select index echo "<script>document.getElementById('members-order-by').selectedIndex = 1;</script>"; } ?> <?php if ( bp_has_members( $query ) ) : ?>
It probably isn’t the best solution, since I believe it should be possible with php alone. I’ve written in the buddypress forum and waiting for an answer.
Still, thank you very much for your support!
Forum: Plugins
In reply to: [Post My CF7 Form] Edit previously submitted postsThank you very much, this is exactly what I needed ??
Have a good day!
Forum: Plugins
In reply to: [Post My CF7 Form] Edit previously submitted postsHi Arovrata,
thank you very much for the prompt response.
I’ll go with the filter, but I have some things that may cause some problems:
Since the filter is shared by all forms throughout the website, and I have two different forms that are associated with the same Custom Post Type, is there a way to get the form id within that filter? That way I could choose when to load a post or not. If in some situation I don’t want a post to be loaded, what should I return from the function?Thank you again for your support
Forum: Plugins
In reply to: [BP Profile Search] Hidden FilterHello Andrea,
Thank you very much for the explanation, I did look into that page, but missed the subheading “Add Hidden filter to a Members directory” -.-Thank you very much for your prompt response and the good documentation.
Keep up the good work!