Support » Themes and Templates » post id in "continue reading"

  • Hello there.

    I have a problem i hope some guys can help me with.

    Using the “origami” theme in WordPress, and i want to get a “More” or “Continue reading” link on my posts.

    Right now it’s working very well. Found a solution in this forum, but it’s not all good.

    Right now the end of the post, it’s printing: “Read more here…”
    I want it to print “Read more about: POST ID”

    If i have a post that have a title like: “How do you cock rise without burning” it hasto be “Read more about: How do you cock rise without burning” – and then of cause a link to the post (but that is working right now)

    I have this code on my site in functions.php

    function new_excerpt_more($more) { global $post; return ' <a href="'. get_permalink($post->ID) . '">Read more here... </a>';}add_filter('excerpt_more', 'new_excerpt_more');function custom_excerpt_length( $length ) { return 120;}add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post id in "continue reading"’ is closed to new replies.