Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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,
    Tim

    #1427065

    Hey 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,
    Mike

    #1427730

    IMG_0087.png
    Here it‘s possible…
    But there you can‘t see any results of the settings:
    IMG_0088.png

    #1427737

    Hi,
    Thanks for the screenshot, but WordPress does not have the ability to add co-authors to posts, are you using a plugin to create co-authors?
    Enfold_Support_4062.jpeg

    Best regards,
    Mike

    #1428522

    I wouldn’t know that I use any plugin which is connected to authors…:/

    #1428535

    Hi,
    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.
    Enfold_Support_4179.jpeg
    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:
    Enfold_Support_4181.jpeg
    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:
    Enfold_Support_4183.jpeg

    Best regards,
    Mike

    #1429461

    Oops, okay😬😂 I have now also tried it with this code, but somehow it doesn’t work for me

    #1429487

    Hi,
    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,
    Mike

    #1438197

    Thank 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:
    Screenshot-2024-03-24-155159.png
    How can I delete it?😬

    #1438304

    Hi,
    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.