Hi.
For our website we have installed the publishpress multiple author plugin.
For all the single posts, we use the template loop-single-5.php, where we have altered the author bit from this
<?php echo $td_mod_single->get_author();?>
to this
<div id="publishpress-author">Door <?php do_action('pp_multiple_authors_show_author_box', false, 'inline');?>/div>
However, in the overview page, located here: Camera eye overview created with the cloud library, we have something strange going on.
Our editor, ‘Jan van Den Bulck’, has created a post (right at the bottom of the page if you scroll through, above the “laad meer” button) and designated the author to ‘Nathan Dobbelaere’. This specific overview page uses the flex block module 1.

Then something odd happens, while the author on the post itself is correctly attributed to Nathan Dobbelaere, as can be seen here: post of the kooks, the overview page shows Jan Van Den Bulck.

To further deepen the mystery, this doesn’t seem to happen to all authors and randomly on top of that.
Suggestions on how to fix this ?
I have already altered the td_module_flex_1.php to show additional details next to the title, such as concertlocation and concert date.
Originally in the theme is this:
<span class="td-author-date">
<?php if( $author_photo != '' ) { echo $this->get_author_photo(); } ?>
<?php echo $this->get_author();?>
<?php echo $this->get_date();?>
<?php echo $this->get_comments();?>
</span>
Currently I have this:
<div class="post-title">
<?php get_the_title( $id );?>
<?php echo $this->get_title($title_length);?>
<h3 class="entry-title td-module-title">
<?php $datum = get_field( "datum" , $this->post->ID ); $concertlocatie = get_field( "concertlocatie" , $this->post->ID );//etc...?><?php if ( $datum ) : ?><a>post->ID);?>"<span class="cemetadate"><?php echo $datum ; ?></span></a><?php endif; ?>
<?php if ( $concertlocatie ) : ?><a>post->ID);?>"<span class="cemetacelocation"><?php echo $concertlocatie['0']; ?></span></a><?php endif; ?></h3>
</div>
…
<span class="td-author-date">
<?php if( $author_photo != '' ) { echo $this->get_author_photo(); } ?>
<?php echo $this->get_author();?>
<?php $datum = get_field( "datum" , $this->post->ID ); $concertlocatie = get_field( "concertlocatie" , $this->post->ID );//etc...?>
<?php if ( $datum ) : ?><span class="frontce"><?php echo $datum ; ?></span><?php endif; ?>
<?php echo $this->get_date();?>
<?php if ( $concertlocatie ) : ?><span class="metacelocation"><?php echo $concertlocatie['0']; ?></span><?php endif; ?>
<?php echo $this->get_comments();?>
</span>
Could you help me with this please ?
It would seem that there is an issue with the $this->get_author getting to see the correct post id, which I can not replace as simply as I did with the loop mentioned above: <?php do_action(‘pp_multiple_authors_show_author_box’, false, ‘inline’);?>
If possible don’t mention that the publishpress plugin isn’t tested, I already know that.
It seems a bit odd that it works on posts but not on the cloud templates.
I am working with the older version of the theme 9.6 and plugins.
I have refrained from trying the X version since I want to iron out the final mistakes first.
-
This topic was modified 6 years by
NickDeBaerdemaeker.
-
This topic was modified 6 years by
NickDeBaerdemaeker.
Hi,
Please notice that we did not tested the publishpress multiple author plugin with our theme and therefore, we cannot say for sure if it will work or not as expected with the theme, also, we do not know the behavior of this plugin or how it should integrate to work, sorry! Also, we cannot provide support for untested plugins.
If you want to set multiple authors to your articles please check our documentation for here -> https://forum.tagdiv.com/adding-multiple-authors-articles/ also please notice that this guide is only for standard post templates, this will not work on cloud templates.
Thank you for your understanding!
As I thought.
Any chance this plugin can be added/tested to work with the theme ?
I imagine there are quite a lot of people working with multiple authors and publishpress so support for this would be greatly appreciated by many.
Hi,
Indeed a plugin for multiple authors will be very useful, but this is not quite simple to be integrate in tagDiv Cloud Library, what I can do is to write it on our list and our developers will check the plugin and we’ll decade what to do.
Thank you for your message!
