Wordpress them question?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • digi
    Confirmed User
    • Feb 2002
    • 1314

    #1

    Wordpress them question?

    You know when your theme uses excerpts and each post have a "Read more" link to the full post at the bottom.. do you know how to remove that link in specific posts but not all?
  • Babaganoosh
    ♥♥♥ Likes Hugs ♥♥♥
    • Nov 2001
    • 15841

    #2
    Yes, I do.
    I like pie.

    Comment

    • CurrentlySober
      Too lazy to wipe my ass
      • Aug 2002
      • 38944

      #3
      I do as well.


      👁️ 👍️ 💩

      Comment

      • fris
        Too lazy to set a custom title
        • Aug 2002
        • 55679

        #4
        you could to it via custom field and add this to your themes functions file

        Code:
        function custom_more($more) {
               global $post;
               $mymore = get_post_meta($post->ID, 'moreoff', true);
               if ($mymore == false) {
               		return '<a href="'. get_permalink($post->ID) . '">' . 'Read more...' . '</a>';
               }
        }
        add_filter('excerpt_more', 'custom_more');
        just add a custom field to the posts moreoff and set it to true, those posts will have no more link.

        might be a plugin to do this, but i would do it this way.

        hope this helps.
        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55679

          #5
          let me know if it works out
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • StinkyPink
            It's all goooood.
            • Aug 2009
            • 1591

            #6
            Where do you change the "read more" text? I did this and now I cannot find it.

            Comment

            • digi
              Confirmed User
              • Feb 2002
              • 1314

              #7
              hi, nope.. it didnt work

              Comment

              • marcoss
                Registered User
                • Feb 2008
                • 27

                #8
                Here is:

                link: wprecipes.com/create-custom-read-more-links-on-your-wordpress-blog
                Last edited by marcoss; 10-08-2010, 04:34 AM.

                Comment

                • fris
                  Too lazy to set a custom title
                  • Aug 2002
                  • 55679

                  #9
                  Originally posted by digi
                  hi, nope.. it didnt work
                  can you show me an example ?

                  if you dont wanna post the url here. [email protected]
                  Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                  Comment

                  Working...