• Resolved sandrasusin

    (@sandrasusin)


    Hi, I’m using your great plug-in and i have a question.
    how can i display the post slider with the HTML spaces? (  or </br>)

    thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thanks for reaching here.
    We strip html tag from the slider content for the css and js confliction issue.

    Thanks & Regards
    WP Online Support

    Thread Starter sandrasusin

    (@sandrasusin)

    hi, thank you for your answer.
    so it can’t be done? it is very important for my client.
    is there something i can change or add within the plugin?

    Best Regards
    Sandra

    Hello,

    Yes, You can do it with customize of plugin core code.
    Just
    $excerpt = strip_tags(get_the_content());
    replace with
    $excerpt = get_the_content();

    You can find this code in ../plugins/wp-responsive-recent-post-slider/templates/designs/design-1.php file,design-2.php file,design-3.php file,design-4.php file.

    Note : Make sure when you receive the update and update your plugin, please revert your changes back.

    Thanks & Regards
    WP Online Support

    Thread Starter sandrasusin

    (@sandrasusin)

    hi! thank you. now the html tags works.
    BUT now i have to add </br> tag in the post text. how can i avoid using the tag? why “enter” in the visual editor doesn’t work here?

    Thank you!!!

    Hello,

    Please use wordpress wpautop() function.
    like
    $excerpt = get_the_content();
    replace with
    $excerpt = wpautop(get_the_content());

    Hope it should be helpful.

    If you like our plugin and support then please give us rate and review.

    Thanks & Regards
    WP Online Support

    Thread Starter sandrasusin

    (@sandrasusin)

    Great thank you so much!!!!!!!!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘HTML spaces’ is closed to new replies.