Forum Replies Created
-
AuthorPosts
-
sabbella
ParticipantI did it, but it doesn’t work to me, I don’t know why. Can be because I’ve got 4 input fields?
sabbella
ParticipantHello Ernest, I want to get the search results by pressing the Enter button of my search and by pressing the Return key of my keyboard (I don’t want live search).
Thank you,
sabbella
ParticipantThank you Ernes, I’ll try that way.
sabbella
ParticipantOk, thank you Ernest.
sabbella
ParticipantThank you so much 🙂
sabbella
ParticipantThank you Ernest; and can I open seaparately in new windows each result from the search results page via config. plugin?
sabbella
ParticipantThank you very much for the explanation!
sabbella
ParticipantP.S. just a question; why the title and url can be modified if I’m using the search results page, but the users img can’t be canged?
sabbella
ParticipantOk, thank you very much Ernest 🙂
sabbella
ParticipantThank you very much, Ernest, but it doesn’t work to me, I don’t know why!
I’ve got something like this in my users directory page to get the images:foreach($theusers as $auser)
{
$auser = get_userdata($auser->ID); //At the top of the directory.php
$auser->membership_level = pmpro_getMembershipLevelForUser($auser->ID);
…..if (get_user_meta($auser->ID, ‘foto’, true)) {
if (in_array( ‘pmpro_role_2’, (array) $auser->roles)){
echo '<a target="_blank" class="'.$avatar_align.'" href="'. add_query_arg('pu', $auser->user_nicename, $profile_url).'">'. (wp_get_attachment_image( $attachment_id, 'thumb')).'</a>';}
P.S. I’m displaying the results in the Page results search (Redirect to: Results page)
Thank you,
sabbella
ParticipantThank you 🙂
sabbella
ParticipantYou cannot access this content.
sabbella
ParticipantThank you Ernest, it works super-fine 🙂
I have other issue, I only get a maximum of 20 search results, always, although it should be more results displayed. Is there any option where this is set?
Thank you,
sabbella
ParticipantYou cannot access this content.
sabbella
ParticipantYou cannot access this content.
-
AuthorPosts