• Resolved MCGWD

    (@mginop)


    I tried the code per your documentation at https://docs.themeisle.com/article/942-in-feedzy-how-do-i#remove-links to remove the author link, but it doesn’t work. However the other filters (thumbnail and title) do work.

    The code used:

    //Remove the author link
    function bweb_feedzy_remove_link_matches( $matches ) {
    ? return $matches[2];
    }
    function bweb_feedzy_remove_link( $content, $feedURL ) {
    ? $pattern= '/<a.*href=\"(https?:\/\/.*)\".*>(.*)<\/a>/iU';
    ? $content= preg_replace_callback( $pattern, 'bweb_feedzy_remove_link_matches', $content );
    ? return $content;
    }
    add_filter( 'feedzy_meta_output', 'bweb_feedzy_remove_link', 9, 2 );

    Has the filter changed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Vytis

    (@bvytis)

    Hi @mginop,

    Thank you for using Feedzy!

    What if you use: feedzy_meta_args

    Instead of feedzy_meta_output?

    Let me know how it goes. Thanks!

    Thread Starter MCGWD

    (@mginop)

    Unfortunately that did not work either.

    luciamarinescu

    (@luciamarinescu)

    Hi @mginop!

    It should be possible to make the author link unclickable using custom CSS as well. The code below should do the trick.

    .single-post .author-name.fn a, .blog .author-name.fn a {
    cursor: auto !important;
    color: black !important;
    }

    I hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Author Link Issue’ is closed to new replies.