SheerHeartAttack
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Biographia] Bio on author archive only if not excluded?Aha, I see. Thank you for always being so helpful both with troubleshooting and educating! As a semi-novice I really appreciate it.
Forum: Plugins
In reply to: [WP Biographia] Bio on author archive only if not excluded?It did, thank you so much! Perfect!
Forum: Plugins
In reply to: [WP Biographia] Bio on author archive only if not excluded?if (function_exists ('wpb_the_biography_box')) { wpb_the_biography_box ('', '', '', '', '', 'excerpt'); }
Forum: Plugins
In reply to: [WP Biographia] Bio on author archive only if not excluded?Yes, I’m using a template tag on author.php to display the Biography Box (using your example). Here’s an example of my problem:
example post (no bio box — good)
example author archive (bio box shown at top — not good)On authors not excluded, though, the bio box shows up fine on posts.
Settings:
Array ( [wp_biographia_installed] => on [wp_biographia_version] => 330 [wp_biographia_style_bg] => f7f7f7 [wp_biographia_style_border] => top [wp_biographia_display_front_posts] => [wp_biographia_display_archives_posts] => [wp_biographia_display_author_archives_posts] => on [wp_biographia_display_category_archives_posts] => [wp_biographia_display_date_archives_posts] => [wp_biographia_display_tag_archives_posts] => [wp_biographia_display_posts] => on [wp_biographia_display_pages] => [wp_biographia_display_feed] => [wp_biographia_display_location] => bottom [wp_biographia_content_prefix] => About [wp_biographia_content_name] => first-last-name [wp_biographia_content_authorpage] => on [wp_biographia_content_image] => on [wp_biographia_content_image_size] => 80 [wp_biographia_content_bio] => on [wp_biographia_content_icons] => on [wp_biographia_content_alt_icons] => on [wp_biographia_content_icon_url] => https://fandomania.jtddev.com/wp-content/plugins/wp-biographia/icons/ [wp_biographia_content_email] => [wp_biographia_content_web] => [wp_biographia_content_twitter] => on [wp_biographia_content_facebook] => [wp_biographia_content_linkedin] => [wp_biographia_content_googleplus] => [wp_biographia_content_delicious] => [wp_biographia_content_flickr] => [wp_biographia_content_picasa] => [wp_biographia_content_vimeo] => [wp_biographia_content_youtube] => [wp_biographia_content_reddit] => [wp_biographia_content_posts] => none [wp_biographia_content_link_target] => _blank [wp_biographia_content_link_nofollow] => [wp_biographia_admin_new_users] => contributor,subscriber [wp_biographia_admin_hide_profiles] => author,contributor,subscriber [wp_biographia_category_exclusions] => 1873,106 [wp_biographia_post_exclusions] => [wp_biographia_global_post_exclusions] => [wp_biographia_page_exclusions] => [wp_biographia_admin_content_priority] => 15 [wp_biographia_admin_excerpt_priority] => 15 [wp_biographia_sync_content_wpautop] => [wp_biographia_sync_excerpt_wpautop] => [wp_biographia_admin_post_overrides] => [wp_biographia_admin_links] => Array ( [twitter] => on [facebook] => [linkedin] => [googleplus] => [delicious] => [flickr] => [picasa] => [vimeo] => [youtube] => [reddit] => [yim] => [aim] => [msn] => [jabber] => [profile] => on [authorsite] => on ) [wp_biographia_display_front_bio_posts] => full [wp_biographia_display_archives_bio_posts] => full [wp_biographia_display_author_archives_bio_posts] => excerpt [wp_biographia_display_category_archives_bio_posts] => full [wp_biographia_display_date_archives_bio_posts] => full [wp_biographia_display_tag_archives_bio_posts] => full [wp_biographia_display_bio_posts] => excerpt [wp_biographia_display_bio_pages] => full [wp_biographia_display_bio_feed] => full [wp_biographia_admin_lock_to_loop] => [wp_biographia_style_border_color] => #eaf2f6 [wp_biographia_display_forum] => [wp_biographia_display_bio_forum] => full [wp_biographia_display_archives_forum] => [wp_biographia_display_archives_bio_forum] => full [wp_biographia_display_topic] => [wp_biographia_display_bio_topic] => full [wp_biographia_display_archives_topic] => [wp_biographia_display_archives_bio_topic] => full [wp_biographia_display_reply] => [wp_biographia_display_bio_reply] => full [wp_biographia_display_archives_reply] => [wp_biographia_display_archives_bio_reply] => full [wp_biographia_display_portfolio] => [wp_biographia_display_bio_portfolio] => full [wp_biographia_display_archives_portfolio] => [wp_biographia_display_archives_bio_portfolio] => full [wp_biographia_display_testimonial] => [wp_biographia_display_bio_testimonial] => full [wp_biographia_display_archives_testimonial] => [wp_biographia_display_archives_bio_testimonial] => full [wp_biographia_display_price_table] => [wp_biographia_display_bio_price_table] => full [wp_biographia_display_archives_price_table] => [wp_biographia_display_archives_bio_price_table] => full [wp_biographia_display_gdl-gallery] => [wp_biographia_display_bio_gdl-gallery] => full [wp_biographia_display_archives_gdl-gallery] => [wp_biographia_display_archives_bio_gdl-gallery] => full [wp_biographia_display_personnal] => [wp_biographia_display_bio_personnal] => full [wp_biographia_display_archives_personnal] => [wp_biographia_display_archives_bio_personnal] => full [wp_biographia_nav_menu_item_exclusions] => [wp_biographia_global_nav_menu_item_exclusions] => [wp_biographia_portfolio_exclusions] => [wp_biographia_global_portfolio_exclusions] => [wp_biographia_testimonial_exclusions] => [wp_biographia_global_testimonial_exclusions] => [wp_biographia_price_table_exclusions] => [wp_biographia_global_price_table_exclusions] => [wp_biographia_gdl-gallery_exclusions] => [wp_biographia_global_gdl-gallery_exclusions] => [wp_biographia_personnal_exclusions] => [wp_biographia_global_personnal_exclusions] => )
And for the problematic author above:
( [ID] => 73 [user_login] => Ava DiGioia [wp_biographia_suppress_posts] => [wp_biographia_suppress_pages] => )
It looks like all the author settings are the same as above, regardless of whether they’ve been excluded.
Forum: Plugins
In reply to: [View Own Posts Media Only] Comments BlockedSame problem here!
Forum: Plugins
In reply to: [WordPress Users] Pretty URLsHas anyone figured this out?
Forum: Plugins
In reply to: [WordPress Users] [Plugin: WordPress Users] Link to User ProfileAnyone? There has to be a way to do this.
Forum: Plugins
In reply to: [WP Vanilla Connect] Change "Sign In with"?Never mind — I found where I can edit it in the Vanilla jsconnect plugin settings.
Forum: Plugins
In reply to: [WP Vanilla Connect] Not redirecting on loginSame problem here — anyone have a fix?
Forum: Plugins
In reply to: [WP Hide Dashboard] Hide for all non-admins?Hm, I was using the Remove Dashboard Access plugin but it prevented an author from reaching the post editor page and media upload, which is why I was hoping yours would work. Ah well. Thanks for your response!
Forum: Plugins
In reply to: [I Recommend This] Unlike if changed mind / commentsOk, thanks.
Forum: Plugins
In reply to: [WP Biographia] Different website for bio box / comment link?Perfect! Thank you so much!
Forum: Plugins
In reply to: [WP Biographia] Different website for bio box / comment link?Here’s the whole thing:
if ( current_user_can( 'publish_posts' )) { ( add_filter ('wp_biographia_contact_info', 'add_author_website') ); } function add_author_website ($contacts) { // contacts = array (field => array (field => field-name, contactmethod => description)) $contacts['authorsite'] = array ( 'field' => 'authorsite', 'contactmethod' => __('Author Website') ); return $contacts; } add_filter ('wp_biographia_link_items', 'add_authorsite_link', 2); function add_authorsite_link ($links, $icon_dir_url) { // links = array (field => array (link_title => title, link_text => text, link_icon => URL) $links['authorsite'] = array ( 'link_title' => __('Author Website'), 'link_text' => __('Author Website'), 'link_icon' => $icon_dir_url . 'authorsite.png' ); return $links; }
(I went with the capability check instead of user type after all, because it seemed better/easier especially since we have both authors and admins, and it seemed to work fine.)
Forum: Plugins
In reply to: [WP Biographia] Different website for bio box / comment link?WP 3.5.1, WP Biographia 3.3.0. The error message is:
Warning: Missing argument 2 for add_authorsite_link() in /home/jasontd/public_html/fandomania.com/wp-content/themes/megazine_v1-04/functions.php on line 219
And thanks, I think I got the author check part working now!
Forum: Plugins
In reply to: [WP Biographia] Different website for bio box / comment link?add_filter ('wp_biographia_link_items', 'add_authorsite_link', 2); function add_authorsite_link ($links, $icon_dir_url) { // links = array (field => array (link_title => title, link_text => text, link_icon => URL) $links['authorsite'] = array ( 'link_title' => __('Author Website'), 'link_text' => __('Author Website'), 'link_icon' => $icon_dir_url . 'authorsite.png' ); return $links; }
Yes, I’ve specified the alternate icon directory in the settings. I have two other icons (email and Twitter) in there that show up properly.
So using the “is this user an author” check, would I include that as a separate function? Or do I put the “if” part surrounding the rest of the function? (Or both?)