• Resolved Tfkalk

    (@tfkalk)


    Hello everyone,

    I am attempting to run Co-Authors Plus on Customizr, but I have run into a few roadblocks. The documentation I’ve seen says that almost every theme will have slight differences in what to add for support. So I was wondering what code to add for Customizr.
    Second, I constantly see that we should be making these changes in single.php. However, I cannot find a single.php and so it seems like Customizr does not have a single.php. In that case, where should I be making these changes?

    Thanks in advance!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,
    yep this theme hasn’t a single.php , so it depends on the changes …
    In your case you can add something like this to your child-theme functions.php:

    add_filter('tc_author_meta', 'use_coauthors_links');
    function use_coauthors_links( $author ){
      if ( function_exists('coauthors_posts_links') )
        $author = coauthors_posts_links( null, null, null, null, false );
    
      return $author;
    }

    replacing the theme’s outputs of the author links.

    Did this help?

    Thread Starter Tfkalk

    (@tfkalk)

    Yes! Thank you! Now, the one thing I’m noticed is that in addition to showing the “By … and …” it also includes the author’s names as tags. Is there a way to fix that?

    Sorry I don’t get what you mean,
    can you share a screenshot?

    Thread Starter Tfkalk

    (@tfkalk)

    Here’s a link to the screenshot. I wasn’t sure how to post a screenshot here, if I even could.

    The one thing I noticed is that tag issue only affects posts with two authors. All my other articles with one author don’t have this problem.

    If you would like a link to an article with two authors, let me know.

    Ah, the tags. I see…
    But I don’t think it depends on the code above, it does? Didn’t happen before using that code?
    Which theme’s version are you running?
    I’m not able to reproduce it:
    https://i57.tinypic.com/11gk6dc.jpg

    Thread Starter Tfkalk

    (@tfkalk)

    That was happening before I put the above code in. I’m running Customizr 3.1.24

    Thread Starter Tfkalk

    (@tfkalk)

    The one thing I’ve noticed is that posts since I’ve activated the plug-in have the tags even for single author. That might make a difference if you’re trying to replicate it. Just so you know, TKNN.info is the site I’m working with.

    I think that issue with those plugin authors in tags has been fixed in recent theme’s releases. It was a problem related to private taxonomies. You should update your theme.

    Thread Starter Tfkalk

    (@tfkalk)

    That worked! Thank you for your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Using Co-Authors Plus with Customizr’ is closed to new replies.