Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author vicchi

    (@vicchi)

    That doesn’t sound right. If you’ve set a user’s profile to have the Biography Box hidden (AKA excluded) on posts, either via their profile or via the plugin’s Admin tab, then it should remain excluded regardless of how a post is being displayed (on the front page, on single posts or on archives).

    How are you displaying the Biography Box at the top of the author archive? Via a template tag in the author archive template file?

    What are your configuration settings for the plugin and for the problematic authors (see the Colophon tab in the plugin’s admin settings for these)?

    -Gary

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    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.

    Plugin Author vicchi

    (@vicchi)

    Ah … I think we’re getting somewhere now. So how are you calling the template tag? Can you provide the line in your author.php (or archive.php depending on your theme setup) where the template tag is being invoked together with any arguments you’re passing to the template tag?

    -Gary

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    if (function_exists ('wpb_the_biography_box')) {
    		wpb_the_biography_box ('', '', '', '', '', 'excerpt');
    	}
    Plugin Author vicchi

    (@vicchi)

    Hmm … can you try the following …

    if (function_exists('wpb_the_biography_box')) {
        $mode = 'configured';
        $type = 'excerpt';
        wpb_the_biography_box($mode, null, null, null, null, $type);
    }

    … and see if that does the trick?

    -Gary

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    It did, thank you so much! Perfect!

    Plugin Author vicchi

    (@vicchi)

    Excellent. The first argument to the template tag is $mode … which is either raw (ignore the plugin’s configuration) or configured (honour the plugin’s configuration) … it defaults to raw mode so you’ve just swapped the template tag to use your exclusion settings.

    Glad we got it sorted out.

    -Gary

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    Aha, I see. Thank you for always being so helpful both with troubleshooting and educating! As a semi-novice I really appreciate it.

    Plugin Author vicchi

    (@vicchi)

    You’re very welcome; we all keep on learning – it’s a never ending process. Enough people in the WordPress community have helped me, it would be really unfair if I didn’t at least try and do the same, wouldn’t it?

    -Gary

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bio on author archive only if not excluded?’ is closed to new replies.