WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Author Spotlight (Widget)] Don't want author display on home page

[Resolved] [Plugin: Author Spotlight (Widget)] Don't want author display on home page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Debashish
    Member

    @debashish

    The feature to display the widget on “Pages” was long overdue. On my test blogs the Widget doesn’t show up on Home page and works fine on all pages (as it should).

    Is your home page the default WordPress home or have you set it to any static page (please check at “Settings > Reading” and reply).

    For now you may edit the plugin’s author-profile.php file and replace line 106 and see if it works for you:

    Change the line:
    if((is_single() || is_page()) && $authordata->ID){

    to
    if((is_single() || is_page()) && !is_home() && $authordata->ID){

    Let me know if it works for you.

    Plugin Author Debashish
    Member

    @debashish

    If your home page is a static page, you can use the following line instead of the one I mentioned above (one containing is_home() call):
    if((is_single() || is_page()) && !is_front_page() && $authordata->ID){

    tenoclockwine
    Member

    @tenoclockwine

    Cool!!!! Thank you so much! it worked!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Author Spotlight (Widget)] Don't want author display on home page’ is closed to new replies.