Support » Plugin: Byline » How to display an "and" between the last or only two Byline terms

Viewing 2 replies - 16 through 17 (of 17 total)
  • crochetedowl

    (@crochetedowl)

    Okay. I sent you a message.

    Dan Knauss

    (@dpknauss)

    Thanks, I just replied.

    What you’re dealing with is a theme that has its own functions to create a byline using WP’s get_the_author(), and it’s still trying to do that. The Byline plugin just replaces the output of get_the_author() and not the additional markup your theme’s byline and postmeta functions generate.

    You can do a quick and dirty fix with CSS (display: none;) or override and replace the theme’s byline function (remove_action and add_action). You could also write some custom page templates in a child theme that override the parent, but this would mean you won’t get the benefit of future updates to the parent unless you merge the future changes back into your own.

    The CSS solution is actually not too bad, but no matter which way you handle this, you really need to create a child theme for your custom CSS, theme functions, etc.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘How to display an "and" between the last or only two Byline terms’ is closed to new replies.