use-wp
TypeScript icon, indicating that this package has built-in type declarations

0.0.20 • Public • Published

useWp

To remove the read more link in excerpt, add this to the end of your functions.php file in your theme files:

function new_excerpt_more($more) {
   global $post;
   return '...';
}
add_filter('excerpt_more', 'new_excerpt_more');

/use-wp/

    Package Sidebar

    Install

    npm i use-wp

    Weekly Downloads

    27

    Version

    0.0.20

    License

    ISC

    Unpacked Size

    46 kB

    Total Files

    32

    Last publish

    Collaborators

    • sametmutevelli