Viewing 6 replies - 1 through 6 (of 6 total)
  • Boris

    (@ispacecrusader)

    I seem to remember that used to be the case. Either I’m mistaken or for some strange reason the option has been removed. However, it’s easy to repair:

    – Open “Content-slider.php”.
    – Search for “cut_text_feat(get_the_content()”
    – Replace “content” with “excerpt”

    Just tested it, works fine!

    Boris

    (@ispacecrusader)

    I found out some more. Here’s what I did:
    * put the image left and the text right (swapped DIV order)
    * Changed the last part with the excerpt in it. This way, the excerpt is not simply retrieved as text (disregarding all styling), but the actual excerpt content is called. Now the ‘read more’ part is a link, and any styling or links you put in the excerpt is retrieved as well!

    <li><div class="img_right"><a href="<?php the_permalink();?>"><img src="<?php echo $thumb;?>" /></a></div><div class="content_left"><h2><a href="<?php the_permalink();?>"><?php the_title();?></a></h2><?php the_excerpt($limit, $points); ?></div></li>

    If it’s this simple, why isn’t it in the plugin already?

    markbuskbjerg

    (@markbuskbjerg)

    thanks Boris… this was just what I was looking for… I now have two nes problems on my site (it’s not aired yet so unfortunately I can’t link it right now)

    1: I also feature som Pages. They don’t have the excerpt option by default! And i cant get it to work with a custom field… is there a workaround to have excerpts on pages?

    2: My site is in Danish, therefore the “continue reading” that now (after changing the_content to the_excerpt) appears on my slider is not so good. Can I change this “Continue reading” message somehow?

    I know I’ve written “is there a workaround” even though that with this great forum it is more like “what is the workaround” 😉

    Sorry if this is off topic….

    Thanks in advance

    Mark Buskbjerg

    Boris

    (@ispacecrusader)

    Hello Mark,

    I don’t know the answers to your questions, but I’m sure it’s possible. However, I advise you to open a new topic in the forum with these questions. I’m sure others have this knowledge on hand, and people will see your questions a lot quicker if you give it its own topic with a proper title and tags. It’s also considered a bit rude if you take over someone else’s topic with different questions, so people may not be very inclined to answer your questions. I’m glad the Featured Content Slider answer worked for you, hope you get your other questions answered!

    elbivio

    (@elbivio)

    hello Mark,

    for your second question,
    in your theme function.php there should be something like this:

    function new_excerpt_more($more) {
           global $post;
    	return '<a class="moretag" href="'. get_permalink($post->ID) . '">  Continue reading</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    change the “Continue reading” with your language text
    bye
    elBivio

    markbuskbjerg

    (@markbuskbjerg)

    Hi Boris

    Thanks I solved my first problem with a plugin, very easy 🙂

    And Elbivios tip was great

    So Elbivio: THANKS!

    Mark Buskbjerg

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Featured Content Slider] Alternative content?’ is closed to new replies.