-
AuthorPosts
-
December 3, 2023 at 5:40 pm #1427053
Hello!
When two people or a guest author wrote on one article, the author field at the bottom of the article works wrong. https://umwelt-magazin.eu/einweg-mehrweg-kastner/ : Tim isn’t the author. A guest user is the author.
https://umwelt-magazin.eu/lighthouse-foundation/ : There are two authors, not only Tim
Best regards,
TimDecember 3, 2023 at 7:22 pm #1427065Hey Tim,
By default, WordPress does not have the ability to add co-authors to posts, are you using a plugin to create co-authors?
If so which one? Dose the plugin have a documentation page that offers a function to display the co-authors?Best regards,
MikeDecember 10, 2023 at 9:48 pm #1427730
Here it‘s possible…
But there you can‘t see any results of the settings:
December 10, 2023 at 11:41 pm #1427737December 19, 2023 at 8:04 pm #1428522I wouldn’t know that I use any plugin which is connected to authors…:/
December 20, 2023 at 12:47 am #1428535Hi,
That is strange… I see that you are using a plugin called Co-Authors Plus with the description:
Allows multiple authors to be assigned to a post.
This plugin is what allows you to add co-authors to posts.
We are limited to support for third-party plugins, but I tested this plugin on my test site and tested a code snippet that the plugin recommends to show all authors:add_filter( 'the_author_posts_link', function( $markup ) { if ( ! function_exists( 'coauthors_posts_links' ) ) { return $markup; } ob_start(); coauthors_posts_links(); $output = ob_get_contents(); ob_end_clean(); return $output; } );
And it changed the default single author name and link to show the co-author also:
If you are not going to use a child theme on your site, I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets for your customizations.
Try adding the above snippet in a new WP Code snippet and ensure that you use the PHP Snippet option:
Best regards,
MikeJanuary 7, 2024 at 1:46 pm #1429461Oops, okay😬😂 I have now also tried it with this code, but somehow it doesn’t work for me
January 7, 2024 at 6:47 pm #1429487Hi,
Perhaps you have a conflict from another plugin, try disabling all of your plugins and checking again.
We are limited to support for third-party plugins, so I can’t try to debug this plugin for you, try asking the plugin author for advise.Best regards,
MikeMarch 24, 2024 at 3:54 pm #1438197Thank you very much! Now I’ve got it right :)
I have four very quick questions:
1) So far, next to the authors under the article (and in the article preview) the date is written according to the scheme: “April 26, 2023”. Is it possible for me to change this to “26 April 2023”?
2) The “Share entry” button now contains the X logo (formerly Twitter). At the same time, “Share on Twitter” is displayed on the mouse hower. While a German description is displayed for all other buttons, an English description is displayed there. Can I somehow change this to “Share on X”?
3) A mail button has been added at the bottom of umwelt-magazin.eu and I no longer know how to remove it… Can anyone tell me how to do this?
4) And this has been set:
How can I delete it?😬March 25, 2024 at 10:01 pm #1438304Hi,
1: try changing the date format at WordPress ▸ Settings ▸ General ▸ Date Format
2: Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1); function avia_add_social_share_link_arguments($args) { if (isset($args['square-x-twitter'])) { $args['square-x-twitter']['label'] = __("Share on X", 'avia_framework'); } if (isset($args['twitter'])) { $args['twitter']['label'] = __("Share on X", 'avia_framework'); } return $args; }
This will probably not show in German, feel free to adjust “Share on X” in the code above to German
3: try this css:#top #socket .social_bookmarks .social_bookmarks_mail { display: none; }
4: try this css:
#top .avia-post-nav { display: none; }
Please note that we kindly ask that each thread is for a single topic, it is hard to manage threads with many questions, typically it causes confusion when other Mods try to help or when clients answer but are not so clear, Thank you for your patience and understanding and for using Enfold.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.