Molongui
Forum Replies Created
-
Thanks for confirming that it works now! We’re really glad to hear you’re finding the plugin so useful, and I’m happy that you’re satisfied with it.
If you have a moment, we’d really appreciate it if you could leave a positive review for the plugin. It helps us a lot and lets others know they can trust our product.
If you need anything else, don’t hesitate to reach out!
Hi Vincent,
The plugin offers several ways to display the post byline (or post meta). You can use the template override, a shortcode, a Gutenberg block, an Elementor widget, or automatically add it to the top of your post content.
The second byline you’re seeing above the post content is because the “Add the post byline to the top of your post content” option is enabled. To disable it, go to Settings > Post Contributors > Byline and turn off that option.
That should do it! Let us know if you need further assistance.
Hi Vincent,
Thanks for reaching out!
You’re currently using the “Template Override” option, which is causing some items to disappear. A better approach for your case might be to use a shortcode to display the post meta. Please try the following:
- Navigate to: Settings > Post Contributors
- Open the Posts tab and locate the Template panel
- Toggle off the “Override current post template with one that ensures post bylines are displayed properly” option
- Now go to the Advanced tab and locate the Custom PHP panel
- Add the snippet below and Save Settings
add_action( 'astra_single_header_bottom', function(){ echo do_shortcode('[molongui_post_meta]'); });
This should ensure the post byline is displayed below your post title.
I’m closing this ticket, but if this solution doesn’t work, please let us know, and we’ll be happy to assist.
For anyone else reading, to hide the default post meta displayed by Astra, navigate to Astra > Customize. Then go to: Blog > Single Post and click on the right arrow next to the Post Title Area setting. In the Structure section, you will see the Meta option. Just click the eye icon to hide it from your posts.
Thank you so much for your detailed and thoughtful review! We really appreciate your understanding of the challenges we face with certain themes, especially when they fall outside of standard WordPress coding practices.
It was a pleasure working with you on your site, and we’re glad we could help make the plugin work with the Newspaper theme and the tagDiv Cloud Library plugin. We believe in going the extra mile for our users, and it’s wonderful to hear that our support efforts made a positive impact. Your kind words truly mean a lot to us.
If you ever need anything else or have more questions down the line, don’t hesitate to reach out—we’re always here to help.
Hi @bwo2024,
Yes, some SEO plugins offer an option to disable author archives/pages and redirect them to the homepage. You may have activated this option in Slim SEO, or it could be enabled by default. That’s why deactivating the plugin resolved the issue.
For future reference, here’s a support article that explains this issue and how to fix it in Yoast SEO.
Hi @bwo2024,
Having the Pro version, you have the
[molongui_author_list]
shortcode available that you can use to list authors in your site. There is no such option to filter the list by country or organization, but you can make use of theinclude_users
and/orinclude_guests
to specify the authors to list. So you could add that shortcode with different attribute values for each country/organization page you have.Please let us know if this helps.
Hi,
Since we haven’t received a response from you in over a week, we are going to close this ticket. We hope that the provided solution works for you. If you still need assistance, please feel free to reopen this ticket, and we’ll be happy to help.
Thank you!
Great! I’m thrilled to hear that everything is working as you needed! ?? Your feedback means a lot to us.
If you have any more questions or need further assistance, feel free to reach out. We’re here to help!
Thanks again for your kind words and for choosing our plugin.
OK, let’s try this updated version. Replace the snippet provided earlier with this one below. Now you should get the author box displayed at the top of your author pages and your theme’s default author info removed:
// Remove default author information displayed at the top of the author page.
add_action( 'wp', function(){ if ( is_author() ) { remove_action('generate_archive_title', 'generate_archive_title'); } } );
// Add Molongui Authorship author box to the top of the author page.
add_action('generate_before_main_content', function(){ if ( is_author() ) { print_r(do_shortcode('[molongui_author_box]')); } } );Please let us know.
Oh, sorry about that! We missed that the
generate_before_main_content
hook is running on every page. Please replace the provided snippet with this one:// Remove default author information displayed at the top of the author page.
remove_action('generate_archive_title', 'generate_archive_title');
// Add Molongui Authorship author box to the top of the author page.
add_action('generate_before_main_content', function(){ if ( is_author() ) { print_r(do_shortcode('[molongui_author_box]')); } } );Please try adding this modified version of the provided snippet:
// Remove default author information displayed at the top of the author page.
remove_action('generate_archive_title', 'generate_archive_title');
// Add Molongui Authorship author box to the top of the author page.
add_action('generate_before_main_content', function(){ print_r(do_shortcode('[molongui_author_box]')); });Remember, go to: Authors > Settings > Advanced, find the Custom PHP panel, paste the snippet above and Save Settings.
Important: Assuming you will copy the snippet from this post, make sure to paste it without formatting.
That should do it. Please let us know.
Hi @raisingt,
Thanks for reaching out! To achieve the display you want, you can use the following custom CSS snippet:
.m-a-box-meta-divider::before {
content: "\A";
}
.m-a-box-meta-divider:nth-child(4) {
font-size: 0;
}Here’s how to add it:
- Go to Authors > Settings > Advanced.
- Find the Custom CSS panel.
- Paste the snippet above and Save Settings.
- You may also need to clear any cache you have.
We recognize this isn’t the most elegant solution, so we’re planning to add a PHP hook in a future release to let you control the meta separator before each item.
Please let us know if this helps!
You can do this if your theme includes an action hook that runs at the top of the author page. Some themes provide such hooks in their templates, but not all do.
Let’s say your theme is GeneratePress, a great theme that provides many hooks that allow you to customize almost anything. You don’t need a third party plugin like Code Snippets to add custom PHP code to your site, our plugin already allows you to do that. Just go to: Authors > Settings > Advanced and find the Custom PHP panel. There, paste the snippet below:
// Remove default author information displayed at the top of the author page.
remove_action('generate_archive_title', 'generate_archive_title');
// Add Molongui Authorship author box to the top of the author page.
add_action('generate_before_main_content', function(){ echo do_shortcode('[molongui_author_box]'); });Save settings and check your frontend. The author box should have replaced default author data, showing author bio, social links and profile picture.
For any other theme that provides a similar hook, the process will be the same:
- Optionally, prevent default author data to be displayed.
- Display the author box using the shortcode.
Please let us know if this helps.
Hi,
Since we haven’t received a response from you in over a week, we are going to close this ticket. We hope that you have managed to resolve the issue on your own. If you still need assistance, please feel free to reopen this ticket, and we’ll be happy to help.
Thank you!
Forum: Plugins
In reply to: [Author Box, Guest Author and Co-Authors for Your Posts - Molongui] Php errorHi,
Since we haven’t received a response from you in over a week, we are going to close this ticket. We hope that you have managed to resolve the issue on your own. If you still need assistance, please feel free to reopen this ticket, and we’ll be happy to help.
Thank you!