Molongui
Forum Replies Created
-
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_usersand/orinclude_gueststo 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_contenthook 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!
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!
Hi @bwo2024,
Yes, you can make the author box to be displayed on your author pages too. Please check out this support article on how to do that:
https://www.molongui.com/help/how-to-display-the-author-box-on-author-archive-pages/
If you have any questions, please let us know and we’ll be happy to assist you.
Thank you so much for your fantastic review! 🌟 We’re thrilled to hear that both Molongui Authorship and Molongui Post Contributors are meeting your needs and that our support team could assist you effectively. Your kind words about our plugins and support mean a lot to us. If you ever need any further assistance or have any questions, don’t hesitate to reach out. We’re here to help! Thanks again for your support and for being such a valued user. 😊
Great! If you have any other questions, just let us know and we’ll be happy to help.
OK, I think now I understand what you mean. You have the “slim” layout selected. That layout displays a “+ posts” link below the author name. If you click on it, related posts are shown (I’ve just checked in your site and that is working).
However, if you want to have the “Related Posts” tab, then you need to select the “tabbed” layout for the author box. Please go to: Authors > Author Box Editor > Layout, find the “Layout” setting and select the “Tabbed” option. Save settings. This should give you the “Related Posts” tab at the top of the author box.
From that same screen, you can configure colors and other settings for your author box and tabs.
Please let me know if this helps.