Advertisement
fauzanjeg

Remove Read More Button on Certain Article

Jan 15th, 2021
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.27 KB | None | 0 0
  1. /* Remove Read More Button on Certain Article */
  2. jQuery(document).ready(() => {
  3.     list = Array('https://your-site.com/article-1/', 'https://your-site.com/post-1/')
  4.     jQuery(list).each((k, v) => {
  5.         console.log(v)
  6.         jQuery('a[href$="'+v+'"].jeg_readmore').remove()
  7.     })
  8. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement