• Resolved Ramzii

    (@ramzii)


    Congrats on this highly customizable widget. Using a custom sidebar tutorial ive made it into my main slideshow on the homepage.

    Now i wish to add these two features, could u elaborate how to achieve this?

    I would like:

    1. To always have the word “News: ” in front of the title in the sidebar. This will appear somewhat smaller than the post title itself.

    2. I would like a ‘read more >’ button to show on each slide.

    Please help me out, thank you.

    https://wordpress.org/plugins/recent-posts-flexslider/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Ramzii

    (@ramzii)

    A friendly bump, thanks

    Plugin Author David Wolfpaw

    (@davidjlaietta)

    Since you’re making your own sidebar, I would assume that you could put another widget prior with anything else that you want, styled to match.

    Right now the plugin displays the excerpt in views/display.php:49, which has

    $output .= '<p>' . $display->recent_post_flexslider_excerpt(get_the_content(), $excerpt_length) . '</p>';

    I would change that to

    $output .= '<p>' . $display->recent_post_flexslider_excerpt(get_the_content(), $excerpt_length, '') . '<a href="' . get_permalink() . '">read more ></a></p>';

    Note that there is already an option to make the whole slide a link if you’d like that.

    Thread Starter Ramzii

    (@ramzii)

    Thanks so much mate, this came in handy! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘two wishes: pre-text and a 'read more' link’ is closed to new replies.