Double bylines in Woo Themes
-
I’ve asked about CoAuthors Plus before, but this time I’m using Woo Themes, with its completely unique tag system. Anything I should know before diving in head first and trying to apply this solution?
-
It should be very similar, if not the same. Feel free to post code snippets and questions if you have them.
I know that the trick for getting two different author bio boxes lies somewhere in this snippet of code on Single.php:
[Code moderated as per the Forum Rules. Please use the pastebin]
Can you post your code with pastebin and share the link?
I don’t know how I missed this two weeks ago. However, I’m having two more pressing issues with Coauthors:
1) In the top story on this page — http://wp11.americanobserver.net/ — both authors, David and Lydia, go to Lydia’s page, even though I deleted David as a user and reentered him. David is just one example. The same thing happens when there are three bylines; the second two link to the first person’s bio.
2) If I do a byline search for Lydia, I see her story. But I can’t find a story under Zoe’s or Michael’s bylines — I thought I’d be linked at least to Zoe’s story since she is the first byline listed in their double-bylined story — so I’m wondering if this is a search flaw or
also tied back into the problem with co-authors plus, at least in this theme…?I put the code on the Main Index Template right next to the date:
<div class="date-comments"> <p class="fl">By <?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(); } else { the_author_posts_link(); } ?></p> <p class="fr"><?php the_time( get_option( 'date_format' ) ); ?></p> </div>
What do you think I did wrong?
That looks like a potential bug, or issue with your theme. Can you post the contents of author.php into Pastebin and share?
Sorry, there is no author.php page.
I’ve listed all the possible pages below:404 Template
(404.php)
Archives
(archive.php)
Archives Page Page Template
(template-archives.php)
Comments
(comments.php)
Contact Form Page Template
(template-contact.php)
Footer
(footer.php)
Full width Page Template
(template-fullwidth.php)
Header
(header.php)
Image Gallery Page Template
(template-imagegallery.php)
Main Index Template
(index.php)
Page Template
(page.php)
Search Results
(search.php)
Sidebar
(sidebar.php)
Single Post
(single.php)
Sitemap Page Template
(template-sitemap.php)
Theme Functions
(functions.php)
admin-backup.php
(admin-backup.php)
admin-custom-nav.php
(admin-custom-nav.php)
admin-custom.php
(admin-custom.php)
admin-express-functions-deprecated.php
(admin-express-functions-deprecated.php)
admin-express-functions.php
(admin-express-functions.php)
admin-framework-settings.php
(admin-framework-settings.php)
admin-functions.php
(admin-functions.php)
admin-hooks.php
(admin-hooks.php)
admin-init.php
(admin-init.php)
admin-interface.php
(admin-interface.php)
admin-medialibrary-uploader.php
(admin-medialibrary-uploader.php)
admin-sbm.php
(admin-sbm.php)
admin-seo.php
(admin-seo.php)
admin-setup.php
(admin-setup.php)
admin-shortcode-generator.php
(admin-shortcode-generator.php)
admin-shortcodes.php
(admin-shortcodes.php)
admin-tumblog-quickpress.php
(admin-tumblog-quickpress.php)
search-form.php
(search-form.php)
sidebar-init.php
(sidebar-init.php)
slider.php
(slider.php)
theme-actions.php
(theme-actions.php)
theme-comments.php
(theme-comments.php)
theme-functions.php
(theme-functions.php)
theme-js.php
(theme-js.php)
theme-options.php
(theme-options.php)
theme-widgets.php
(theme-widgets.php)
thumb.php
(thumb.php)
- The topic ‘Double bylines in Woo Themes’ is closed to new replies.