• Resolved nicolashili

    (@nicolashili)


    Dear sarah,

    Would it be possible to add an option to force displaying the link to author webpages, even though the author has not written any post yet ? Currently, lines 427 or 490 of includes/core.php prevents that:

    if($ud_author_page && $ud_author_posts > 0)

    Thank you very much for your reply,

    Cheers,

    Nicolas

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sarah Giles

    (@sarah_dev)

    Hi Nicolas,

    Thanks for your request. Let me look into this one and get back with you. I first need to make sure that it doesn’t create any navigation problems.

    Regards,
    Sarah

    Thread Starter nicolashili

    (@nicolashili)

    Hi Sarah,

    Thanks for the reply. I let you see. I think it should not create any navigation problems in the sens that the author page is created when a new user is added, even though this latter does not have any post yet.

    Regards,

    Nicolas

    Plugin Author Sarah Giles

    (@sarah_dev)

    Hi Nicolas,

    In testing this out, I get a Page Not Found error if the author has no posts. I’d like to help you but unfortunately I can’t introduce navigation errors into the code.

    Perhaps there is an alternative way of accomplishing what you need?

    Regards,
    Sarah

    Thread Starter nicolashili

    (@nicolashili)

    Hi Sarah,

    Thank for digging into it,

    I am new to WordPress, so I do not really know the impacts of that decision. In my case, the reason why I do not have any Page Not Found error is because I have an author.php page in my theme. This page does not display the list of posts, but instead the detailed contact info of the author. I tested it and you are right, when I remove the author.php page out of my theme, I have a Page Not Found error.

    I guess that the default behaviour of WordPress is to display 1) the list of post of the author OR 2) a page saying that nothing is found. However, when overriding the default behaviour (by creating the author.php page), we can have an author page even though the author does not have any post.

    There is a “Link to Author Page” option in the plugin. Would that make sens to have the following ?

    1) Link to Author Page -> select field with three options:
    – Never
    – Only if author posts are found
    – Always

    2) Open in separate window -> checkbox

    The drawback I can see when considering post numbers is that it excludes all websites (used in Research for example) that do not use posts at all. For example, for a Research laboratory website, pages are used for, e.g., showing the different Research axes, the list of publications, but also for displaying the list of members. We do not expect the group members to be active “posters”, but list of members should be constantly updated and provide access to updated information of a member.

    Thanks again for your reactive support,

    Nicolas

    Plugin Author Sarah Giles

    (@sarah_dev)

    Hi Nicolas,

    I did a little more research and it looks like it’s fairly common for webmasters to create a custom author.php. Thanks for pointing that out to me. I’ll be happy to include the ability to link to a custom author page. Look for it in the next plugin update!

    Best,
    Sarah

    Thread Starter nicolashili

    (@nicolashili)

    Hi Sarah,

    Glad to hear that ?? I am eager to see the next update,

    All the best,

    Nicolas

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[feature request] Force displaying links to author webpages event with no post’ is closed to new replies.