Help with plugin integration

Posted in: Newsmag
Post count: 2

Hi guys,

We have a special circumstance where we need to use a plugin but need your help to properly integrate it following the plugin author documentation:

https://molongui.amitzy.com/docs/molongui-authorship/howto/how-to-incorporate-molongui-authorship-template-tags-into-your-theme/

We just need your help following their function example for theme TwentySeventeen to the Newsmag theme:


if ( ! function_exists( 'twentyseventeen_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author. Supports Molongui Authorship plugin.
*/
function twentyseventeen_posted_on()
{
// Integrate Molongui Authorship with TwentySeventeen by replacing twentyseventeen_posted_on() with this function
if ( function_exists( 'get_the_molongui_author_posts_link' ) )
{
$byline = get_the_molongui_author_posts_link();
}
else
{
// Get the author name; wrap it in a link.
$byline = sprintf(
_x( 'by %s', 'post author', 'twentyseventeen' ),
'<span class="author vcard">' . get_the_author() . '</span>' );
}

// Finally, let's write all of this to the page.
echo '<span class="posted-on">' . twentyseventeen_time_link() . '</span><span class="byline"> ' . $byline . '</span>';
}
endif;

Thank you so much. Your help will be greatly appreciated!

Best,
Hansel

Post count: 23312

Hi Hansel,

Unfortunately, we cannot provide any support for the integration of any untested plugin, sorry! Notice that’s not a simple task and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.