• Resolved w1zzard

    (@w1zzard)


    I’m using the following php in an ajax loaded footer. “Is your theme loading the feed via Ajax” set to true.

    <?php echo do_shortcode('[custom-facebook-feed id=mysite num=1 textlength=60]'); ?>

    Works fine, when I’m loading the site without ajax. But when I load it via ajax, the textlength is set to auto instead of 60.
    The data-char is set, <div id="cff" data-char="60"> but have no effect…

    Another thing: Is there a way to get rid of the inside the paragraphs.

    https://wordpress.org/plugins/custom-facebook-feed/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hey w1zzard,

    Is it possible to send me a link to the page where you’re displaying the feed so that I can take a closer look? It sounds like a JavaScript error could be occurring which is preventing the text length setting from working correctly, but I’d need to see it first hand to figure out what the issue is.

    Could you also clarify what you mean by getting rid of the inside the paragraphs?

    Many thanks,

    John

    Thread Starter w1zzard

    (@w1zzard)

    Do you have a private contact?

    Greetz

    Yes, certainly. Please use our contact page located at this link. Briefly describe the issue or why you are contacting us and provide the link to this thread on the forum so we know what the inquiry or information being sent is in reference to.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom code textlength error if loaded via ajax’ is closed to new replies.