Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author redpixelstudios

    (@redpixelstudios)

    Jan,
    Greetings from Owensboro! It seems that the only difference in the source code is that the included content is wrapped in <pre><code> tags instead of a <div> tag. It is possible that the_content filter in your theme has been modified by another plugin/function or the filters in RPS Include Content are being used to wrap the content.

    If the former is the case, you could make certain the_content filter was not being applied to the included content by setting the filter argument to false like so:

    [rps-include post="000" filter="false"]

    If the latter is the case, you may need to look at your theme’s functions.php file to see if the RPS Include Content filters are being used. The implementation would look something like the following:

    function rps_include_content_wrap( $html ) {
        $html = '<div class="rps_include_content_wrap">' . $html . '</div>';
        return $html;
    }
    add_filter( 'rps_include_content_html', 'rps_include_content_wrap' );

    Let us know what you discover.

    Thread Starter amsterdamtourist.info

    (@amsterdamtouristinfo)

    Thx for the quick reply!

    The first option didn’t work, so I checked the functions.php file but I couldn’t find the code you mentioned…. Is that possible?

    Cheers, Jan

    Plugin Author redpixelstudios

    (@redpixelstudios)

    No problem. Our guess is that there may be some conflict with the theme or plugins. You could disable all plugins except RPS Include Content and see if the issue goes away. Then reenable plugins systematically to see when the problem reappears.

    If that doesn’t do it, you might consider temporarily switching to one of the default themes such as Twenty Twelve. If the problem goes away then, you should look at contacting the theme developer to see if they can be of assistance. Let us know if there is any other information you need or if we can render further assistance.

    Plugin Author redpixelstudios

    (@redpixelstudios)

    Did you ever find the cause of this issue?

    Hi,

    I’m having the same problem. I did all that you said, but nothing works ??

    Help me. Please.

    Plugin Author redpixelstudios

    (@redpixelstudios)

    We’ll give it a try, though we need quite a bit more information to have any hope of determining what might be the cause of the issue.

    • What version of WordPress are you running?
    • What theme/version are you using?
    • When did this problem first appear?
    • Have you tried enabling a different theme?
    • Have you tried disabling all plugins except RPS Include Content?
    • Could you provide a link to the page where the formatting issue occurs?

    Thanks in advance for your time.

    Plugin Author redpixelstudios

    (@redpixelstudios)

    We are closing this issue due to inactivity. Please feel free to reopen if you wish to pursue it further.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Content loses its formatting’ is closed to new replies.