tmac1926
Forum Replies Created
-
I should mention that I’m pulling in the folders from SmugMug
I figured this out. I’ll most likely have to redo it when i update the plugin though since I had to edit a theme file but figured I’d share. If anyone knows a better way please let me know.
In the plugin files > templates > members-grid.php
Find the links for the cover photo, profile image and member name, then change the href from um_edit_profile_url() to um_user(‘user_url’, ‘html’) I also made it open in a new window by adding target=“_blank”.
Change:
<div class=”um-member-cover-e”>um_user_profile_url(); ?>” title=”<?php echo esc_attr(um_user(‘display_name’)); ?>”><?php echo um_user(‘cover_photo’, $cover_size); ?></div>To:
<div class=”um-member-cover-e”>um_user(‘user_url’, ‘html’); ?>” target=”_blank” title=”<?php echo esc_attr(um_user(‘display_name’)); ?>”><?php echo um_user(‘cover_photo’, $cover_size); ?></div>Change:
<div class=”um-member-photo radius-<?php echo $corner; ?>”>um_user_profile_url(); ?>” title=”<?php echo esc_attr(um_user(‘display_name’)); ?>”><?php echo get_avatar( um_user(‘ID’), $default_size ); ?></div>To:
<div class=”um-member-photo radius-<?php echo $corner; ?>”>um_user(‘user_url’, ‘html’); ?>” target=”_blank” title=”<?php echo esc_attr(um_user(‘display_name’)); ?>”><?php echo get_avatar( um_user(‘ID’), $default_size ); ?></div>Change:
<div class=”um-member-name”>um_user_profile_url(); ?>” title=”<?php echo esc_attr(um_user(‘display_name’)); ?>”><?php echo um_user(‘display_name’, ‘html’); ?></div>To;
<div class=”um-member-name”>um_user(‘user_url’, ‘html’); ?>” target=”_blank” title=”<?php echo esc_attr(um_user(‘display_name’)); ?>”><?php echo um_user(‘display_name’, ‘html’); ?></div>Now when you are viewing the members page, if you click on the cover photo, profile photo or display name, it’ll take you to the URL you populated in the website URL field (assuming you have that field in your registration form).
Forum: Plugins
In reply to: [Gwolle Guestbook] Problem of text selection in Gwolle GuestbookOnce i put the permalink script in, all it does is go to the anchor now, it doesn’t paginate. I’m fine if it reloaded the page and brought you back down to the anchor as long as it moved it to the next set of guestbook entries.
Forum: Plugins
In reply to: [Gwolle Guestbook] Problem of text selection in Gwolle GuestbookSure, It’s on a dev site for now at https://devsunsethousebvi.com.bh-39.webhostbox.net/
Scroll down to the Guestbook section
Forum: Plugins
In reply to: [Gwolle Guestbook] Problem of text selection in Gwolle GuestbookI’m having the same issue with one page anchors. I installed the development version and added the filter #guestbook (which is my actual anchor name) and all it does is take me to the anchor, no pagination.
Is there a solution to this?
Forum: Plugins
In reply to: [List category posts] Can you eliminate title in shortcode?Is there a solution to this posted? I would also like to remove the title and pull in content only.