Skip to content

WP Code Snippets

Just another WordPress site

Tag: read more

Remove the “read more” jump

On WordPress blogs, when you click on a “Read more” link, it automatically drops to the point in the article you theoretically just got to the end of. If you don’t really like that jump, simply paste the following code into your functions.php file to get rid of it.   function wdc_no_more_jumping($post) { return ‘<a… Continue reading Remove the “read more” jump

Published March 23, 2013
Categorized as PHP Tagged functions.php, read more

Recent Posts

  • Adding Google Fonts to your theme
  • Setting Up WP Customizer
  • Paged WP_query (That works!)
  • Vertical Align Anything
  • Registering/Enqueing Scripts in functions.php
  • Post Type rewrite rules
  • Hacks to Enhance WP Search Engine
  • Helpful Responsive Web Design Links
  • Remove the “read more” jump
  • Prevent automatic image compression

Categories

  • CSS
  • Features
  • Fixes
  • Hacks
  • MySQL
  • PHP
  • Plugins
  • Queries
  • Template Tags
  • Themes

Tags

.htaccess categories conditional copyright CSS3 css trick customizer date fonts footer functions.php get_posts HTML iframe images inherit jquery lists loop Microsoft Word page pagination posts post thumbnail post type psedo element queries query_posts read more redirect rewrite url scripts search shortcode spam sub-categories subpage template ttf titles tutorials upload url vertical align wp_queiry year

Blogroll

  • Documentation
  • Plugins
  • Support Forum
  • WP Functions
  • WP Template Tags

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
WP Code Snippets
Proudly powered by WordPress.