• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Link Read More Link to Any URL

This code enables you to conditionally link the read more link to any URL.

Here’s the demo video:

The code in this tutorial includes examples which enable you to:

  • Link the read more link to a category archive page.
  • Link the read more link to a absolute URL example: http://example.com
  • Link the read more link to any permalink using the post or page I.D.
  • Link the read more link for either excerpts or content limit set in Genesis > Theme Settings > Content Archives > Display: Entry excerpts or Entry content.

The code also enables you to style the read more link and modify the link text for all links or conditionally.

On top of this, the code enables you to link some read more links assigned to 1 or more categories to a specific URL and all others to the default post permalink.

Here’s the code for logged in members:

Register for full access

Related Tutorials

  • Link Read More Link To Custom URL

Read More

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems