Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m glad you got it figured out!

    Child themes are a little bit more complicated than that, but not much. Here’s a quick tutorial on it https://www.youtube.com/watch?v=cbU12Tw7Q4U which is what I used to learn how. They also have a whole series of wordpress tutorials that are pretty useful. Hope that helps!

    Hey Steady, it sounds to me like when you updated your theme, it bork your site because perhaps you weren’t using a child theme? If you don’t know what that is, then I recommend you start there since any changes you make to fix this specific problem will break as soon as you update your theme again. If you’re using child themes already, then I have no idea what could have gone wrong.

    As for this problem, I don’t think I’ll be of much help. Every theme seems to have very a different file setup so it’s pretty difficult to find specific help. You might be able to try contacting the author of your theme for assistance? In my case I wasn’t able to get in touch with the author or Virtue, so I got pretty lucky I was able to fix it flailing around blindly.

    When you’re searching through your files for the right line of code, it’s important to use very general key words. Your theme may not use the “the_author” tag. I think virtue was using something like “dex_this_author” or something completely arbitrary. Search for “author” instead.

    Haha wow so I’m dumb. I left in some extra code from the original file that was screwing it up. Problem solved I guess.

    Did some more fiddling and managed to get it to only list authors once by adding some arguments to the function:
    coauthors_posts_links(null, null, null, null, false) The important one here is the last argument. Still not entirely sure why that worked.

    Also still working on getting the first author’s link to work.

    So after some podunking around I managed to get it to display the authors. However, the file that I changed wasn’t content-single.php. I changed entry-meta-subhead.php instead. I must have done something wrong though, because while it is displaying multiple authors, it’s listing all the authors twice for some reason.

    Like if the two authors are Adam and Jess, it shows the authors like this:
    “by Adam and JessAdam and Jess

    Also, I used the coauthors_posts_links() function and the first author listed doesn’t work right. The other 3 links work fine, though. I inspected the source in Chrome and found that the first one’s link is missing all the slashes. So it’s “http: blabla.com index.php author Adam” instead of “http://blabla.com/index.php.author/adam“. I have no idea how either of these problems happened.

    I dunno if this is still a problem for you bit it might be for somebody out there. In Virtue’s single.php where it says (templates/content’,’single’); that means it’s talking about the content-single.php file located in Virtue’s template folder.
    I still haven’t figured out exactly how to edit that file, but at least we know which file we need.

    Also I couldn’t find an author.php, but content-single.php references an authorbox.php which has a bunch of stuff in it. It’s located in Virtue’s lib folder.
    I’ll be back if I figure out more.

Viewing 6 replies - 1 through 6 (of 6 total)