Home Forums WoodMart support forum The article category directory page features a “Continue reading” link

The article category directory page features a “Continue reading” link

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #690023

    btools
    Participant

    The article category directory page displays a “Continue reading” link. Please advise how to remove this “Continue reading” link using PHP code within my child theme’s functions.php file. Do not suggest hiding it with CSS code, as this approach still generates the “Continue reading” text and retains it in the webpage source code—it merely prevents it from appearing on the site’s frontend.
    As shown in the figure below:

    Attachments:
    You must be logged in to view attached files.
    #690225

    Hung Pham
    Participant

    Hi btools,

    Thanks for reaching to us.

    Try to add the following PHP code snippet to the child theme functions.php file:

    add_filter( 'excerpt_more', 'remove_continue_reading_link' );
    
    function remove_continue_reading_link( $more ) {
        if ( is_category() ) {
            return '';
        }
        return $more;
    }

    Regards,
    Hung PD

    #690587

    btools
    Participant

    Your code doesn’t work; it has no effect whatsoever.

    #690713

    Hung Pham
    Participant

    Hi btools,

    Thanks for your patience.

    To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.

    Regards,
    Hung PD

    #690751

    btools
    Participant

    This doesn’t even require a website admin panel. You guys developed the theme yourselves—you should know exactly how to fix this issue.

    #690952

    Hung Pham
    Participant

    Hi btools,

    Thanks for your patience.

    I didn’t see the Continue Reading, please let me know if you resolved.

    Regards,
    Hung PD

    #691121

    btools
    Participant

    Yes, I have fixed the problem myself, AI told me how to fix the problem.
    Your company developed this theme yourselves, yet you don’t even know how to fix this issue? Your capabilities are no match for AI.

    #691140

    Hung Pham
    Participant

    Hi btools,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    Regards,
    Hung PD

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘The article category directory page features a “Continue reading” link’ is closed to new replies.