Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: [Co-Authors Plus] Bug

    So try this script:

    jQuery('.entry-content').each(function() {
    		if (jQuery('.entry-content:contains("</a>und<a")')) {
    			jQuery('.entry-content .author.url.fn:nth-last-child(4)').after(" ");
    			jQuery('.entry-content .author.url.fn:nth-last-child(3)').before(" ");
            }
        });

    It is not beautiful but a working hack.

    Forum: Plugins
    In reply to: [Co-Authors Plus] Bug

    Gibt es denn eine Beispielseite, auf der das Problem auftritt? Dann könnte ich es mir anschauen und das jQuery evtl. anpassen.

    Forum: Plugins
    In reply to: [Co-Authors Plus] Bug

    Had the same problem on our side, just with the German word “und”. Added this small script in footer.php of the child-theme:

    <script type="text/javascript">
        <!-- SCRIPT FOR BUGFIX IN CO-AUTHORS PLUS: REPLACE "und" with " und " IN MULTIPLE EDITORS INFORMATION  -->
    	<!-- PROBLEM ONLY EXIST IN GERMAN -->
        jQuery('.post-time').each(function() {
    		if (jQuery('.post-time:contains("</a>und<a")')) {
    			jQuery('.post-time .author.url.fn:nth-last-child(3)').after(" ");
    			jQuery('.author.url.fn:last').before(" ");
            }
        });
    </script>
    

    Not really elegant but it works.

Viewing 3 replies - 1 through 3 (of 3 total)