• Resolved dr_smith

    (@dr_smith)


    Hello, it goes without saying that it’s a great plugin!!!
    I’m having a weird mix of colors of bylines.
    https://poc.aullox.com/ccemx/
    If I write the entry without changing or choosing a category, the byline takes the WP Tiles specified color (I removed the color, it’s using white)… While if I change the category before publishing, the color of the byline becomes the default defined in the theme (Suffusion).
    Any idea what could be the reason for this?

    https://www.ads-software.com/plugins/wp-tiles/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dr_smith

    (@dr_smith)

    I tried to work with it, to no avail… Is there a way to allow links to inherit the theme’s colors, in order to avoid this mix?

    Plugin Author Mike Martel

    (@mike_cowobo)

    Hi @dr_smith,

    I looked at your website and what’s happening is this: WP Tiles wraps the whole tiles inside a link (which is valid according to the HTML5 spec), but inside the tile, something is reading a ‘read more’ link at the end of the excerpt. Nested links are not allowed, so your browser assumes that there is a problem with the mark up and guesses what the output should be. So, to find the cause of this problem is to figure out where that extra link is coming from.

    What have you set as your byline template? And do you have any plugins activated that modify the excerpt?

    Kind regards,
    Mike

    Thread Starter dr_smith

    (@dr_smith)

    Hello Mike!! And thanks for your reply.
    My byline template is the following:

    %title%
    %excerpt%

    As for other plugins, it’s possible. I’m using quite a few, among which are Event Organiser (which has its own categories…) But as far as I know, none displays anything in the body. So beside Suffusion and its body fonts typography (the red/orange links), I can’t tell.

    Here’s a list of all my plugins & widgets just in case:
    Email Login
    Event Organiser
    Export User Data
    Image Widget
    Login Widget with shortcode
    Mailpoet Newsletters
    Namaste! LMS
    Register Plus Redux
    Simplr User Registration Form Plus
    Social Media Feather (installed after WP Tiles)
    Suffusion shortcodes (installed after WP Tiles)
    TinyMCE Advanced
    Video Sidebar Widgets (installed after WP Tiles)
    wpMandrill

    Any clues?

    Thank you in advance.
    George

    Thread Starter dr_smith

    (@dr_smith)

    Is it possible there’s a conflict between blog entries categories and events categories if they have the same name?
    I was asked to filter tiles by categories and I just saw it… Might as well do some tests…

    Plugin Author Mike Martel

    (@mike_cowobo)

    Hi George,

    I just dived into the Suffusion source, and found that the theme is adding a link to the excerpt. The trick to remove it is by disabling that filter in your functions.php:

    add_action( "after_setup_theme", function(){
        remove_filter('excerpt_more', 'suffusion_excerpt_more_replace');
    }, 20 );

    This will remove the Read more link from excerpts.

    Cheers,
    Mike

    Thread Starter dr_smith

    (@dr_smith)

    It worked like a charm!!! Thank you Mike!

    Priority being 20, I assume the original filter will still work elsewhere…

    Thanks again!!!

    George.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Byline font color’ is closed to new replies.